Wordpress problem med get_hader();
Fatal error: Call to undefined function get_header() in /Applications/MAMP/htdocs/Wordpress/free-photo-gallery/Free Photo Gallery/photo-gallery-light-free/index.php on line 5<?php get_header();?>
<div id="content">
<!--index.php-->
<!--the loop-->
<?php if (have_posts()) : ?>
<!--the loop-->
<?php while (have_posts()) : the_post(); ?>
<!--post title as a link-->
<div id="post-<?php the_ID(); ?>" class="small">
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" alt="<?php the_title(); ?> <?php _e(''); ?>" /></a>
</div>
<!--end of one post-->
<?php endwhile; ?>
<!--navigation-->
<!--do not delete-->
<?php else : ?>
Not Found
Sorry, but you are looking for something that isn't here.
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<!--do not delete-->
<?php endif; ?>
<!--index.php end-->
</div>
<div id="navigation"><?php previous_posts_link('« Back') ?> <?php next_posts_link('More » ') ?> </div>
<!--include footer-->
<?php get_footer(); ?>
Jeg har haft det problem igen og igen og igen.. kan ikke se fejlen..
sidder på en mac så bruge mamp, har haft mange problemer med header og os location header.