Viewing 15 replies - 1 through 15 (of 31 total)
  • Jonas Grumby

    (@ss_minnow)

    ronchicago

    (@ronchicago)

    there are very robust plugins that will manage categories. i can’t vouch for any personally, sorry, but i researched quite a few several months ago that sounded good.

    https://www.ads-software.com/extend/plugins/search.php?q=category+manager&sort=

    Jonas Grumby

    (@ss_minnow)

    I think the question was how to reverse the order of posts on category archive pages.

    Thread Starter foochuck

    (@foochuck)

    SS_Minnow : Can I pass one of those variables to my category URL?

    https://www.sopranos.foochuck.com/category/episode-guide/season-1/

    I’m asking because the link that goes to that URL is setup through an add on to my pages section.

    Thread Starter foochuck

    (@foochuck)

    SS_Minnow: It looks like what you sent isn’t what I’m looking for.

    On this page:

    https://www.sopranos.foochuck.com/category/episode-guide/season-1/

    I want the posts that show on that page to show from oldest to newest. By default it shows the newest posts first.

    How can I change that just on this specific category page?

    Jonas Grumby

    (@ss_minnow)

    I don’t think the variables can be added to the URL, or at least I have never seen it done that way.

    Are you saying that you have your menu hard-coded so that one of the links can actually display a category archive? Another way to do that is with the Page of Posts page template. Then your Pages menu would not have to be hard-coded.

    Thread Starter foochuck

    (@foochuck)

    SS_Minnow – See my previous post. I’m not trying to change the order of the menu – but rather the posts that show up on my categorys page.

    Jonas Grumby

    (@ss_minnow)

    Yeah, use the Page Template.

    Thread Starter foochuck

    (@foochuck)

    SS_Minnow : Won’t that effect my homepage as well though? I would just like to customize the appearance on the category results page.

    Jonas Grumby

    (@ss_minnow)

    p.s. I didn’t say anything about changing the order of the menu and have no idea where you got that inference from. What I said is that IF your menu is hard-coded for this reason, it doesn’t have to be.

    Thread Starter foochuck

    (@foochuck)

    Sorry for my confusion. I’m going to describe this again…

    On this page:

    https://www.sopranos.foochuck.com/category/episode-guide/season-1/

    It displays 9 blog posts that are associated with the ‘season 1’ category. The posts on this page are displayed from the newest post at the top, down to the oldest post at the bottom.

    I would like to reverse that listing so that the oldest posts in the category are shown at the top of the page and the newest posts show up at the bottom of the page.

    I only want this change to show up on specific categories and not all of my blog pages (for example, newest to oldest works fine on my blog’s homepage).

    I understand I may need to customize something or install a plug-in to get this to work, so I’m asking where to start and if anyone knows of a solution to this?

    Thanks!

    Jonas Grumby

    (@ss_minnow)

    Um, I think you should use the Page Template and assign the template to the pages that you want to do this to. I don’t know why you don’t seem to want to do this, but it would/could do exactly what you want.

    Thread Starter foochuck

    (@foochuck)

    SS_Minnow : I’m not sure I understand the process you are describing. Could you show me a sample or a tutorial for what you are advising?

    Thread Starter foochuck

    (@foochuck)

    I think I understand what you are saying to do now – create a template for this as a php file and then apply that template to a new page that I create, correct?

    I have never created a page template and have a few questions:

    1. I’m guessing I can just upload the new page I create to my theme folder and it will show up in the WordPress Editor

    2. For the page that I create as a template, how do I pass the variable to it of which category I want it to display? From there I can figure out the other options from the link you first sent – https://codex.www.ads-software.com/Template_Tags/wp_list_categories

    Thanks

    Jonas Grumby

    (@ss_minnow)

    Page of Posts page template.

    Here are two pages done this way. Although they are not in reverse order it would have been easy enough to do that if the client wanted it.

    https://prestonsbeat.com/blog/events-calendar/

    https://prestonsbeat.com/blog/newsletter/

    Instead of having a link that points to a category, you create a page (or pages) and assign the template to it (or them).

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Display Category Entries in Reverse Order?’ is closed to new replies.