orderby menu_order not working | WordPress.org

[ad_1]

Hi guys,

I also use the plugin “Post Types Order” and sort the posts for a special order. This Plugin generates a menu_order column in database which is filled with the ordernumber. (I checked that)

When I activate this, everything works as expected – but “recent Posts” on my WP home is also ordered by menu_order and NOT by recent posts.

So I read in docu for “Post Types Order” plugin, that automatic sort can be disabled – if only some parts should use that sort.

And I read in docu of your plugin, that orderby=menu_order could be chosen as additional sorting criteria.

Doing that, I see the recently publishes posts on my home page (what I desired), but orderby=menu_order did not work on my category page, where I used that in that way:

Chapter 1

[display-posts category=”mainchapterA” tag=”chapter1″ orderby=”menu_order”]

Chapter 2

[display-posts category=”mainchapterA” tag=”chapter2″ orderby=”menu_order”]

The order inside the chapters was according to publish date and not the intended manual given order.

This moment I enabled automatic sort in Plugin “Post Types Order” because my category page is more important than the overview of recent published posts on my Home page.

Why is orderby=menu_order not working or did I missunderstand something?

Frank

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer