Ready to get started?Download WordPress


single.php - incorrect pic url's in header -permalink? (1 post)

  1. jaredhouck
    Posted 8 years ago #

    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 (http://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%/.

    http://www.fastandloud.com - to see frontpage
    http://www.fastandloud.com/theword/killing-me-softlysuicide-solution/#comments - to see single.php

    single.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 &raquo;</p>'); ?>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>


Topic Closed

This topic has been closed to new replies.

About this Topic