WordPress.org

Support

Support » How-To and Troubleshooting » Front end problem

Front end problem

Viewing 8 replies - 1 through 8 (of 8 total)
  • nathanrice
    Member

    @nathanrice

    we need much more information than that.

    Are you using a custom home page?
    Have you modified your template?

    Also, paste the code from the index.php file in your theme folder.

    Creationrobot
    Member

    @creationrobot

    OK, thanks. The home page is custom (index.php), the template is not modified. The theme in use is Cutline (http://cutline.tubetorial.com/).

    The index.php is as follows:

    <?php get_header(); ?>

    <div id=”content_box”>

    <div id=”content” class=”posts”>

    <p ><div style=”margin:10px;” align=”middle”>
    <script type=”text/javascript”><!–
    google_ad_client = “pub-6614090734036311”;
    /* 468×60, created 2/22/08 HomePage */
    google_ad_slot = “2730902168”;
    google_ad_width = 468;
    google_ad_height = 60;
    //–>
    </script>
    <script type=”text/javascript”
    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
    </script></div></p>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <h4><?php the_time(‘F jS, Y’) ?><!– by <?php the_author() ?> –> · <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></h4>
    <div class=”entry”>
    <?php the_content(‘[Read more →]’); ?>
    </div>
    <p class=”tagged”><span class=”add_comment”><?php comments_popup_link(‘→ No Comments’, ‘→ 1 Comment’, ‘→ % Comments’); ?></span>Category: <?php the_category(‘ · ‘) ?></p>
    <div class=”clear”></div>

    <?php endwhile; ?>

    <?php include (TEMPLATEPATH . ‘/navigation.php’); ?>

    <?php else : ?>

    <h2 class=”page_header center”>Not Found</h2>
    <div class=”entry”>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>
    </div>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    </div>

    <?php get_footer(); ?>

    nathanrice
    Member

    @nathanrice

    not sure if the forum here removed formatting or not, but this doesn’t look right:

    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>

    It should look more like this:

    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>

    Anyway, take a look at your Admin > Settings > Reading and make sure you don’t have a static home page or posts page specified.

    Creationrobot
    Member

    @creationrobot

    Thanks nathanrice, the forum removed the formatting. I then checked the reading setting and it is set to Posts, not to a specific page.

    I’ve tried setting the site to the default template and it does the same thing, so the issue is not template based.

    nathanrice
    Member

    @nathanrice

    have any plugins installed? Your category archive seems to be working fine. If it’s not a plugin conflict, then you may have me stumped.

    Creationrobot
    Member

    @creationrobot

    Interesting, nothing seemed to conflict and yet deactivating all plugins seems so have cured the issue. Should have done that earlier, but no matter. I’m going to go through the plugins and post back here with which plugin kills things. Just so this thread has some use for someone else 🙂

    Thanks again nathanrice, the assistance is appreciated.

    nathanrice
    Member

    @nathanrice

    you bet. once you figure out which plugin caused the problem, post back here and mark this thread as resolved.

    Creationrobot
    Member

    @creationrobot

    OK, so the cache is disabled, so no interference from that. I then activated one plugin at a time, followed by shift-F5. Every plugin I had running before is now running again and … no conflict or problem. Deactivating and reactivating all my plugins ‘cured’ whatever the problem was. I’ve not heard of that one before but, well, whatever. Might be something useful for someone else to try in a similar position.

    “The most overlooked advantage to owning a computer is that if they foul up there’s no law against whacking them around a little.” — Joe Martin

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Front end problem’ is closed to new replies.