ThemeShaper Forums » Thematic

What page template is being used for...

(3 posts)
  • Started 12 years ago by shelzmike
  • Latest reply from awarner20
  • This topic is not resolved
  1. shelzmike

    I have a category that I have a link to (important dates). It displays correctly, except it displays in order of newest to oldest. I need it to display oldest to newest instead. Now I read on the WP support forum that I can just find the page template that is being used and change the code before the loop to to do this, but I do not understand how to find that out. Can someone please help me with that.

    The url is


    Posted 12 years ago #
  2. shelzmike

    Okay, I figured this out, but I do not think I did it the best way. I basically found the thematic_category_loop() function and added the following code before the Loop:

    $cat = get_query_var('cat');
    		$page = get_query_var('paged');

    That did the trick, but now I am curious (as I am still learning) - I added this directly in the content-extensions.php page and am wondering how I would have accomplished this using my functions.php file? Any help?

    Posted 12 years ago #
  3. You need to filter the category loop with a function. See here:

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.