Lo pueden ver aqui :
Fatal error: Call to undefined function get_header() in /home/--xxxxxx---/public_html/wordpress/wp-content/themes/laguna/index.php on line 15
aqui esta el codigo
Código PHP:
Ver original
<?php /** * @package WordPress * @subpackage laguna */ $pagenum = $wp_query->query_vars; $pagenum = $pagenum['paged']; $pagenum = 1; } ?> <?php get_header(); ?> <!-- HEADER START --> <div id="header"> <div class="bg"> <div class="center"> <div class="slideshow_comp"><?php fximagebeforeafter_echo_embed_code(); ?></div> <div class="meniu"> <div class="mid"> <!-- MENIU START --> <div id="navigation"> <ul id="menu-navigation" class="menu"> <?php $my_pages = wp_list_pages('echo=0&title_li='); $var1 = '<a'; $var2 = '<a'; $var3 = '</a'; $var4 = '</a'; echo $my_pages; ?> </ul> </div> <!-- MENIU END --> <div class="searchform"><h6><?php _e('Search','Theme'); ?>:</h6><?php get_search_form(); ?> </div> </div> </div> </div> </div> </div> <!-- HEADER END --> <!-- CONTENT START --> <div class="center"> <div class="content"> <!--CONTENT left START --> <div class="left"> <div class="box"> <div class="box_top"></div> <div class="box_mid"> <h1><?php _e('Categories','Theme'); ?></h1> <div class="clear"></div> <ul class="categ"> <?php wp_list_categories('title_li='); ?> </ul> </div> <div class="box_bot"></div> </div> <!-- BOX START --> <!-- BOX END --> <div class="box"> <div class="box_top"></div> <div class="box_mid"> <h1><?php _e('Archives','Theme'); ?></h1> <div class="clear"></div> <ul class="categ"> <?php wp_get_archives('title_li='); ?> </ul> </div> <div class="box_bot"></div> </div> <!-- BOX START --> </div> <!--CONTENT left END --> <!--CONTENT right START --> <div class="right"> <?php ?> <?php if (have_posts()) : ?> <?php $post = $posts[0]; $c=0;?> <?php while (have_posts()) : the_post(); ?> <?php $c++; if( !$paged && $c <= 1 ) :?> <!-- One_post START --> <div class="one_post"> <?php if ( has_post_thumbnail() ): ?> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> <h6><?php $u_time = get_the_time('U'); $u_modified_time = get_the_modified_time('U'); if ($u_modified_time >= $u_time + 0) { echo "Last updated "; the_modified_time('d/m/Y'); } ?></h6> <div class="pic"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_post_thumbnail(array(600, 400));?></a></div> <p><?php truncate_post(370); ?></p> </div> <?php else : ?> <div class="one_post"> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> <h6><?php $u_time = get_the_time('U'); $u_modified_time = get_the_modified_time('U'); if ($u_modified_time >= $u_time + 0) { echo "Last updated "; the_modified_time('d/m/Y'); } ?></h6> <p><?php truncate_post(300); ?></p> </div> <?php endif; ?> <?php else :?> <!-- One_post START --> <div class="bottom_post"> <div class="post_b"> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> <p><?php truncate_post(200); ?></p> <div class="readmore"><a href="<?php the_permalink() ?>" class="learn" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">read more</a></div> </div> </div> <?php endif; ?> <?php endwhile; ?> <?php endif; ?> </div> <!--CONTENT right END --> <?php get_footer(); ?> </div> </div>
necesito ayuda porfa .. gracias de antemano