single.php – incorrect pic url’s in header -permalink?
-
I’m trying to style my entire site to look like the frontpage through a hacked kubrick theme. Single.php throws the current url in front of the picture url, making (https://www.fastandloud.com/theword/killing-me-softlysuicide-solution/wp-content/themes/fast-and-loud/images/fastandloud.com.gif
I do have permalinks enabled %category%/%postname%/.
checkout
https://www.fastandloud.com – to see frontpage
https://www.fastandloud.com/theword/killing-me-softlysuicide-solution/#comments – to see single.phpsingle.php code is as follows:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
</div>
</div><?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>TIA,JH
- The topic ‘single.php – incorrect pic url’s in header -permalink?’ is closed to new replies.