WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post links not working on Category pages (3 posts)

  1. haizdesign
    Member
    Posted 2 years ago #

    I have a site built using the twentyten theme as a start point. (Actually, the Starkers theme which strips all the styles out.)
    My site category pages do not show the links in the entry. Titles, thumbnails and meta links all work. I have only noticed this since upgrading the site to 3.3.1 and adding a category page (client weddings). This category has also been excluded from the home (blog) page using this code:

    <?php if ( is_home() ) {
     query_posts($query_string . '&cat=-1');
     }
     ?>

    It is only on the category pages that I am not getting my entry links working and wonder if there is a solution or help someone can give please.

    Here's the link to my site category page.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    archives in Twenty Ten use the_excerpt() instead of the_content():

    check loop.php for this conditional code:

    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    and edit accordingly
    (occurs so or similar more than once in the file)

    try to use forum search to get more suggestions as this has been answered several times in the past.

  3. haizdesign
    Member
    Posted 2 years ago #

    Thank you for your very quick and very helpful post! I was looking at the category.php page and didn't think to check the loop...

    Thanks also for pointing out the_content() / the_excerpt() as that was something I didn't know about.

Topic Closed

This topic has been closed to new replies.

About this Topic