WordPress.org

Ready to get started?Download WordPress

Forums

Posts don't show on homepage and categories (7 posts)

  1. Acrono
    Member
    Posted 1 year ago #

    Hi, I've just set up this blog: http://tuningforge.com/

    I have a problem, probably caused by the theme. The posts don't show on homepage & category page.

    Any hints on this ?

  2. Pankaj Pandey
    Member
    Posted 1 year ago #

    Yes this problem due to theme, change your theme and check, most possible reason is loop code is changed

  3. Acrono
    Member
    Posted 1 year ago #

    Works fine with the default theme. How can I fix my theme to work ?

  4. Pankaj Pandey
    Member
    Posted 1 year ago #

    Do you know WordPress Loop (Php)? try http://codex.wordpress.org/The_Loop

    Or you can ask support from theme provider.

  5. Acrono
    Member
    Posted 1 year ago #

    if (have_posts()) : ?>
    <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>

    This above if ends with this:

    <?php else : ?>
    
    		<h2>Not Found</h2>
    		<p>Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

    Apparently it goes on the else statement so there's a problem with entering the if.

    Any hints?

  6. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Your code is from the default theme but combined improperly - use the default theme.

  7. Acrono
    Member
    Posted 1 year ago #

    But I want to use this time. Is there no way I could fix it ?

Topic Closed

This topic has been closed to new replies.

About this Topic