• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Creating a Custom Sort Order for a Category Archive Page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Creating a Custom Sort Order for a Category Archive Page

This topic is: not resolved

Tagged: Custom Archive Page, custom post order, Exclude Posts, include posts, multiple post sections, order by post id number

  • This topic has 0 replies, 1 voice, and was last updated 4 years, 10 months ago by MediaServices.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • August 1, 2018 at 10:28 am #222154
    MediaServices
    Participant

    I've googled a lot and not found exactly what I'm looking for and here in the forums I also cannot find this ... maybe I'm not searching right. I'd like to...

    • create a custom category page for any one category I choose
    • show the post titles, 150x150 thumbnail, and excerpt of customized length
    • choose the order the posts appear in
    • (optional) have several groups of these posts show up as they do on the home page of our Magazine Pro site http://mountpleasantmagazine.com/ which would also mean being able to choose larger thumbnails
    • I'd also like to be able to do this using any StudioPress theme, regardless of whether or not the theme has StudioPress Genesis Featured Posts or Genesis Featured Pages widgets, but I think that's .

    Whether I create a category-#.php file or add code to functions.php I'd like to take a page like http://mountpleasantmagazine.com/department/love-marriage/ and re-order the posts - not ASC or DESC by date or ID number, but a totally custom ID number order where I can include only the posts I want in any order I choose.

    So on the page I've chosen above we have these articles, in their current order:

    150x150 thumbnail: CharlestonBrides.com, Packed with Essential Resources + Excerpt
    150x150 thumbnail: Celebrating Galentine's Day: Put Yourself at the Top of the List + Excerpt
    150x150 thumbnail: All You Need is Love: Mount Pleasant Has Many Manifestations + Excerpt
    150x150 thumbnail: Tips for Planning Your Wedding Date: "If We Took a Holiday" + Excerpt
    150x150 thumbnail: Bridal Boutique of Mount Pleasant: The Highlight of Every Bride's Experience + Excerpt

    Maybe the new order would be:

    TOP, LEFT COLUMN
    LARGE thumbnail: All You Need is Love: Mount Pleasant Has Many Manifestations + Excerpt

    TOP, RIGHT COLUMN
    LARGE thumbnail: Tips for Planning Your Wedding Date: "If We Took a Holiday" + Excerpt

    NEW ROW, NEW COLUMN
    150x150 thumbnail: Bridal Boutique of Mount Pleasant: The Highlight of Every Bride's Experience + Excerpt
    150x150 thumbnail: Celebrating Galentine's Day: Put Yourself at the Top of the List + Excerpt

    So essentially this new layout of http://mountpleasantmagazine.com/department/love-marriage/ has 2 posts I choose in 2 columns with larger thumbnails, and some of the other posts below that go back to the regular layout, but again I select the order I want the posts to appear in, and exclude or include only the posts I want.

    Here's a very rough sample of what it may look like: http://mountpleasantmagazine.com/00/mockup.jpg


    – George (MediaServices)

    http://mountpleasantmagazine.com/department/love-marriage/
  • Author
    Posts
Viewing 1 post (of 1 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble