Hello I've an issue with the brizy custom post type order in post loop element
Hello I've an issue with my custom post type order in loop. Let me explain For a client I've created a cutom post type "realisations" with custom code home made plugin.
I've made my client website with brizy and I would like to use the Articles (posts) element with my custom post type réalisation and I've selected Filter Ordonné par (Order by) ID. I've installed an extension to reorder post in wordpress "Post Type Order" https://fr.wordpress.org/plugins/post-types-order/ by NSP Code but I can't make it work
I've tried three other extensions dosen't work either. I've tried to add custom menu order to my custom post type registration function also not working. It get reorder in the backoffice but not in front end !
please can you help me with my issue
-
My client website https://stephanegruffaz.fr/
The custom posts type loop page https://stephanegruffaz.fr/realisations/THX
0 -
Hi,
the Posts element has its own order criteria: https://jumpshare.com/v/lQlmEXDVGQ4KRcqlGjVg and you use one of them "by ID". I'm afraid you can't use a custom order function in the element order function. A solution for you would be to select in the Posts element "order by date" and change the publish date of your custom posts in the required order.
0
Please sign in to leave a comment.
Comments
2 comments