Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Bom eu estou com o seguinte error em meu site, quem puder me ajudar ficarei grato meu error é o seguinte. (Fatal error: Call to undefined function get_header() in C:\xampp\htdocs\Phenomenon2\index.php on line 1)
Meu index.php
> <?php get_header(); ?><!-- slider-holder START here -->
<div id="slider-holder">
<div id="slider-nav-container">
<div id="slider-nav"></div>
<img src="<?php bloginfo('template_directory'); ?>/images/slider-nav-right.png" alt="" style="float:left;" /> </div>
<div id="slider">
<?php
$slider_cat = get_option('pheno_slider_cat');
$slider_items = get_option('pheno_slider_items');
$Timthumb = get_option('pheno_timthumb');
$args=array(
'posts_per_page' => $slider_items,
'category_name' => $slider_cat,
);
query_posts($args);
?>
<?php while (have_posts()) : the_post(); ?>
<div class="slide">
<div class="inside">
<?php
$has_image = get_post_meta($post->ID, "post_image_value", $single = true);
if ($has_image != '') {
?>
<?php if ($Timthumb == true) { ?>
<img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $has_image; ?>&h=200&w=200&zc=1&q=100" alt="" class="slide-img" width="200" height="200" />
<?php } else { ?>
<img src="<?php echo $has_image; ?>" alt="" class="slide-img" width="200" height="200" />
<?php } ?>
<?php } ?>
<h2><?php the_title(); ?></h2>
<?php the_content(); ?>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<!-- slider-holder END here -->
</div>
<!-- container END here -->
</header>
<?php get_sidebar('pricing'); ?>
<!-- content START here -->
<div id="content">
<!-- container START here -->
<div class="container">
<div id="home-colums">
<!-- colum1 START here -->
<div class="colum">
<h3><?php echo stripslashes(get_option('pheno_bottom_left_title')); ?></h3>
<?php echo do_shortcode(stripslashes(get_option('pheno_bottom_left_content'))); ?>
</div>
<!-- colum1 END here -->
<!-- colum2 START here -->
<div class="colum">
<h3><?php echo stripslashes(get_option('pheno_bottom_middle_title')); ?></h3>
<?php get_sidebar('services'); ?>
</div>
<!-- colum2 END here -->
<!-- colum3 START here -->
<div class="colum no-margin">
<h3><?php echo stripslashes(get_option('pheno_bottom_right_title')); ?></h3>
<?php echo do_shortcode(stripslashes(get_option('pheno_bottom_right_content'))); ?>
</div>
<!-- colum3 END here -->
</div>
</div>
<!-- container END here -->
</div>
<!-- content END here -->
</div>
<!-- site-wrapper END here -->
<?php get_footer(); ?>
Carregando comentários...