WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Post links not working on Category pages

[Resolved] Post links not working on Category pages

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Post links not working on Category pages’ is closed to new replies.