Hi @bpc !
I do not understand correctly what you mean, sorry. But in general, Real Custom Post Order works similar to Simple Page Ordering and just modifies the menu_order
(Menu order) mechanism in WordPress posts.
Regards
Matthew 🙂
Thread Starter
bpc
(@bpc)
Hi, Matthias:
Just realized that this post is under your other plug-in’s support page. My bad.
We have parent pages with child pages under them. The menu order of each set of child pages is numbered. Each set of child pages goes from 1 to (whatever), usually between 4 and 15.
So in standard alphabetical order, it works like this—
Parent 1 (menu order 0)
Child 1 (menu order 1)
Child 2 (menu order 2)
Parent 2 (menu order 0)
Child 1 (menu order 1)
Child 2 (menu order 2)
I used Simple Page Ordering to change the menu order so the child pages are not in alphabetical order under the parent pages.
Now, it’s supposed to work like this—
Parent 1 (menu order 0)
Child 2 (menu order 1)
Child 1 (menu order 2)
Parent 2 (menu order 0)
Child 1 (menu order 1)
Child 2 (menu order 2)
However, the website itself did not change.
Hi again @bpc !
If I understand you correctly, it does not reflect the new order even with Real Custom Post Order and Simple Page Ordering plugin, correct?
What functionality do you use to list the pages on your frontend website? Does it respect the menu order or does it use a forced order?
Thread Starter
bpc
(@bpc)
That is correct. These are pages, not posts, so I’m just using Simple Page Ordering, not Real Custom Post Order.
The developer who built the custom theme set it up to recreate the look of a Freshdesk FAQ site, which this site has replaced.
The one parent page displays the basic site. The main page list is a sidebar that shows all the child pages (information categories). The grandchild pages (individual topics) show up in a list in the main body of the page. When you click on one of them, the topic page loads in the main page body, replacing the list of topics.
I’m afraid that this situation requires a simpler approach. I’ve renamed the overview pages so they float to the top of an alphabetical listing. I wish I could solve this in software, but that doesn’t look possible.
Hi again @bpc !
Unfortunately, Real Custom Post Order cannot modify the sorting of a custom plugin which passes order criteria to the get_posts
(https://developer.wordpress.org/reference/functions/get_posts/) functionality. Also, get_posts
uses suppress_filters=true
by default, so no other plugin can modify the listing itself.