• Resolved Colleen Gratzer

    (@gratzergraphics)


    At the bottom of this page, I have three logos that I am displaying with:

    [pods name=”branding_marketing” slug=”beagle-bed-breakfast” template=”Branding-Marketing Category”]

    [pods name=”branding_marketing” slug=”family-firehouse” template=”Branding-Marketing Category”]

    [pods name=”branding_marketing” slug=”arts-for-autism” template=”Branding-Marketing Category”]

    However, the viewing order is reversed. If you click on the first one, then “next”, not “previous” should be the link at the bottom. When you view those three, the order you view them is reversed.

    With my other pods, the order is fine because I can use orderby=”date DESC”. But how can I achieve that effect when calling individual pods?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    I see those at the bottom of the page in the order you indicate above:

    Beagle, Family Firehouse and then Arts for Autism

    The next post, previous post is part of your theme, however, it has nothing to do with the order you’re outputting them on the screen with three shortcodes. It’s basing them on the individual posts.

    If you want the individual posts to ‘match’ that order, you should probably do something like this instead:

    [pods name="branding_marketing" limit=-1 template="Branding-Marketing Category"]

    And make sure your template is designed to include either a [before]<ul class="portfolio-list">[/before] and [after]</ul>[/after] tag to wrap your list of items in semantic display for output.

    The other option, that would probably be more ‘usable’ for people browsing your site would be to create a common ‘grid’ output that includes tags below the logo or featured image that included the ‘type of work’ and use FacetWP to provide faceted search of that display based on the type of work.

    If you’re doing individual output, you’re just outputting records on a page and opening three loops. You’re better off letting the loop output the records in the order they really are, because next/previous in WordPress will always be the ‘post date’ order.

Viewing 1 replies (of 1 total)
  • The topic ‘Sort order with multiple single pods?’ is closed to new replies.