Amigos,
estou recebendo a mensagem:
PHP Notice: Undefined index: slider in E:\Home\aconteceeventos\Web\congressoabpte\wp-content\themes\Interstellar\includes\featured.php on line 6
E infelizmente não sei consertar isso.
Segue o código:
<?php
global $options;
?>
<?php
// Homepage Slideshow
if ( '' <> $options['slider'] && isset($options['slider_enabled']) ) {
// Get Slides
$slides = array();
foreach ($options['slider']['title'] as $k => $v) {
$slides[] = array(
'title' => $v,
'link' => $options['slider']['link'][$k],
'caption' => $options['slider']['caption'][$k],
'image' => $options['slider']['image'][$k]
);
} ?>
Alguém saberia como ajustar isso?
Obrigado!