• 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

How can I manually change posts order in my homepage?

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 › How can I manually change posts order in my homepage?

This topic is: not resolved

Tagged: custom post order, genesis theme, homepage post order, magazine pro theme

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 2 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 13, 2017 at 1:45 am #204713
    swann83
    Member

    Hi,
    I am using Genesis' Magazine Pro theme, as a beginner essentially. I know that posts in WP are shown from the most recently published, but I need to change posts order in my homepage without changing the published date. How can I manually change that order?

    I've also tried to install "Post Types Order" plugin but I can't get the ReOrder interface trough which the sort can be created. When I click on "ReOrder" at the bottom of posts section, I only get a blank page after a while. I think it's a problem related to Genesis – or specifically Magazine Pro theme – compatibility. Any suggestion?

    Thanks to all of you.

    April 13, 2017 at 3:10 am #204719
    Victor Font
    Moderator

    The plugin you are trying to use if for custom post types you have defined, not built-in WordPress post types. This is from the plugin website: "You can sort ALL post types that you have defined into your WordPress as long they are not hierarchically defined"

    To change the order of posts in a query, you need to change the query's "order by" through the WordPress posts_orderby filter. https://codex.wordpress.org/Plugin_API/Filter_Reference/posts_orderby

    The following code sorts posts alphabetically by title:

    //* Sort the portfolio thumbnails alphabetically
    add_filter("posts_orderby", "vmf_orderby_filter", 10, 2);
     
    function vmf_orderby_filter($orderby, &$query){
        global $wpdb;
        //figure out whether you want to change the order
        if (get_query_var("post_type") == "post") {
             return "$wpdb->posts.post_title ASC";
        }
        return $orderby;
     }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 13, 2017 at 3:31 am #204721
    swann83
    Member

    Thank you for the answer. Well, I don't need a different sorts parameter. I just need a kind of drag and drop feature to re-order my posts arrangement day by day, without changing date – 'cause this would change permalink and produce lost pages and disadvantage in organic search results. I remember a drag and drop feature like that, used in newspaper magazine website (built in WP) I worked for.

    April 13, 2017 at 4:20 pm #204752
    Victor Font
    Moderator

    Dragging and dropping posts on the back end will have absolutely no bearing on how posts are displayed on the back end. You may have seen a custom feature of some king, but that kind of functionality does not exist in WordPress or Genesis. Good luck in your search.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 14, 2017 at 12:08 am #204769
    swann83
    Member

    That drag & drop feature actually exists in "Post Types Order" plugin, but it doesn't seem to work with Genesis.
    null

    April 16, 2017 at 8:44 am #204850
    Brad Dalton
    Participant

    Works. Just tested it using the Metro Pro theme. No problems.

    Note: You can use menu_order with a custom query if you want to hand code it.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2026 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