• I have a private blog with the Crio theme hosted at Dreamhost.

    My categories are trip names. When I go to a category page, I want it to list the posts in ascending order (oldest first) so the reader starts at the beginning of the journey. This question was asked/answered here: https://www.ads-software.com/support/topic/reversing-order-of-displayed-category/

    I tried to use that code in the Code Snippets plugin and then by putting the code into the crio/functions.php. I also tried using the Post Order By Category plugin instead. None of these give me the desired behavior. Am I doing something wrong or is something hardwired in Crio that prevents this from working?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @hcwpw,

    I took a look at the linked solution and tried the snippet in Crio but I was unsuccessful myself. I reported this to the developers for some additional information and I’m just waiting on a response.

    If it’s not too much trouble you can create a new page that would serve as the archive page and use the “Post List” block component which is a BoldGrid component that allows you to pull in and categorize your latest post. With this setting you’ll have the ability to change the Posts order.

    Post List Block Component – https://snipboard.io/409Ehv.jpg

    Please stand by for an update on the custom code and if you ever have any other questions for us in the future please do not hesitate to ask!

    Thanks @hcwpw, I really hope this helps.

    Thread Starter hcwpw

    (@hcwpw)

    Thank you. I think that will work as a short-term fix since I only have a few categories. If I use Post List Block, I have to select the category through the gui. That means I have to create a new page for each category (trip). Is that right?

    I have another post ordering issue that I think is a bug. Do I make a new thread? Report it somehow? If I have posts A, B, C, and D and then I insert post X with a publication date between B and C, the next/previous links get confused. Post B is fine. Post X points back to B (correct) but has no forward link (wrong). Post C still points back to B (wrong) and forward to D (correct). I fixed it by going into wp-content/themes/crio/inc/boldgrid-theme-framework/includes/class-boldgrid-framework-api.php and changing “p.ID >” to “p.ID <>” in the get_next_post_where and get_previous_post_where filters.

    I swing wildly between having no clue what I’m doing to being able to dig through code. ??

    Hi @hcwpw,

    I’m happy the work around will suffice for now but I will try to get you the relevant information on a snippet that can make this happen on your archive pages and report back to this thread. You’re correct you’ll need to create new pages to hold your category and then apply the Post List component.

    I will also make sure that we test your concern in our dev environment. If we can find a bug we’ll create a new bug ticket on Github so that the issue can be patched and integrated in an upcoming Crio update.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.