• Resolved sarju747

    (@sarju747)


    Hello,

    Amazing work for this awesome plugin!

    I want to order/sort my displayed post manually, and came across “manual sort orders to layouts” option in the order by section.

    Is there any guide how to use this feature sorting feature?

    Thank you.

    • This topic was modified 3 years, 1 month ago by sarju747.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Code Amp

    (@codeamp)

    Hey @sarju747

    Thanks for the kind words!

    Regarding the manual order – this is a feature provided by wordpress natively.

    Essentially, any post type, can have a menu_order property (but by default, this only exists for pages).

    If you were to enable this for other post types (or you are displaying pages, in our layouts), then you can use this manual order to respect the menu_order setting.

    What post type(s) are you displaying in your layout?

    Thanks
    – Ross

    Thread Starter sarju747

    (@sarju747)

    Hello @codeamp,

    Thanks for the explanation. Am using your plugin to display small shops in my marketplace platform.

    Can we display only published posts? For now its taking both published and non-published ones.

    Plugin Author Code Amp

    (@codeamp)

    Hey @sarju747

    By default it displays only published posts – you might have something else in your site affecting our queries (so they include drafts)?

    Can you try this on a clean / test site and see if you get the same issues?

    Thanks

    Thread Starter sarju747

    (@sarju747)

    Yes it worked!

    There was a hook that was creating the issue.

    Thanks @codeamp.

    • This reply was modified 3 years, 1 month ago by sarju747.
    • This reply was modified 3 years, 1 month ago by sarju747.
    Plugin Author Code Amp

    (@codeamp)

    Great news, thanks for letting me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘manual sort orders to layouts’ is closed to new replies.