I’ve setup a filter on the backend to filter a post type by a taxonomy. The problem is once the filter is used the drag and drop feature dissapears.
Here is the code I used to add the dropdown filter:
/**
Should I be adding anything to this so that it works properly with Post Types Order?
HI I have many portfolio items that I use the plugin to reorder. I have put some of them in draft instead of published, but they are still showing up on the list, which is confusing. Aren’t only the published items supposed to show up on the reorder list?
]]>After the automatic update to WP 6.7 today, all the website posts disappeared from the site. I’m checking other possibilities now.
]]>Hei, guys.
After I drag and drop my posts, the order doesn’t change on the blog page.
It is not only with this plug-in. I’ve tried at least 3-4 more. No matter what I do, the only way to change the order in which the posts are listed is to edit the post date. Is there some “global” in WP that I’m missing?
I also have the Taxonomy Order plug-in, which works like a charm.
Bonus question:
Can I use this plug-in to display post in category order.
I mean when I open the blog page (with all posts) to see them ordered by the categories. In my case, to see first all cakes, than desserts etc.
Thanks in advance
Hello,
if I try to update your plugin (Advanced version) I get this error
“An error occurred while updating Advanced Post Types Order:?Update package not available.“
Can you please help with this?
Thank you
]]>Why would you remove ‘cpto/interface_itme_data’?
I get that you have moved on but you shouldn’t remove filter names once you have put them out in the public.
I built the client site literally years ago, and the details are forgotten.
Client is complaining that the re-order page is just showing “auto draft”. And I’ve just gone down a rabbit hole of trying to solve it, before then finding that I had solved it when I originally wrote the site, but after I’d already wasted time researching, and then have to search through your code looking for the filter name.
And now I have to go through all the other sites I’ve ever built looking for this code customisation.
Just to tidy up one line in your codebase.
Don’t break sites please.
]]>Recently released v2.3.1 introduced CPT_VERSION
constant that is defined unconditionally. Constant with the same name is defined in the CPT UI plugin, effectively causing a warning about constant redefinition.
I’ve been using the Advanced Post Types Order plugin to set a defined order for a custom post type. I was wanting to include a slider to display the businesses using the theme’s slider module in a random order. However, the Post Types Order seems to be superseding it because when I deactivate the plugin, it works. Is there anything I can do to make it so that order isn’t used in the slider or will I have to build the slider manually?
Any help would be appreciated! Thanks!
]]>Hi,
I re-ordered Woocommerce products using the dedicated pannel :
Products > Re-Order
I moved only a couple of products up and after that all the products (100+) got re-arranged randomly
Sort order changed after updating from 2.2.3 to 2.2.4 and cannot be restored.
]]>I know for “Pages” you can drag and drop anywhere. However, is there a way to prevent a page from being dragged outside of its URL directory tree.
For example
example.com/page1
– example.com/page1/page2
– example.com/page1/page2/page3
If drag example.com/page1/page2/page3 i can drop it anywhere, even outside of the outline. On refresh, it goes back the way it is supposed to. I was just wondering if it is possible to not have it be dropped outside of its hierarchy tree.
]]>I have seen that you save the custom order in the menu_order field of each post.
The thing is that not being a metadata, I have problems in WPML for the order to be the same between translations.
Do you know any solution to this problem?
]]>Hi,
I have the problem that I can sort my custom posts but they won’t be saved, after a reload the default order is there.
In the debug log I see no errors, the console admin ajax shows as response 0 and http200.
Thanks
]]>Hi,
I installed the plugin, but when I filter products by category, the drag and drop for post order is not available. Additionally, in the Post Order menu, it would be very useful to have pagination with the option to choose the number of posts to display. I have more than 2500 products, and accessing that page causes an error.
Best regards,
]]>Hi
Users with a contributors level are unable to sort WooCommerce products, however admins are able to do so. This should occur when clicking on the “Sorting” link seen in this image https://ibb.co/sChcnqP , the drag and drop option should be available for contributors as well. Please let me know how to enable this?
Thank you
Hi there,
We are using the plugin to change the order of the posts of a custom post type. This is a multi-lingual website using WPML. Sometimes other posts get re-ordered, too, which is causing issues to the website admins, as they constantly have to keep on changing the order.
Could you please let us know how to resolve this?
Many thanks
]]>Hi, what version of PHP is the Post Types Order version 2.2.1 compatible with? Thanks
]]>Hello – we’ve recently installed Post Types Order and I have re-ordered a series of posts on above page. However, the new order is not reflected when the page is displayed. I’ve found references to setting “orderby” to “menu order” but I haven’t been able to find that piece of code. Any suggestions would be appreciated. I’ve tried using Chrome, Edge, and Brave all with the same results (even with clearing the cache). We are using WordPress version 6.5.3. Thank you!
]]>When adding my license I’m receiving the errror: There was a problem with the data block received from https://www.nsp-code.com/index.php
]]>01. I have more than 300 posts. your plugin is worked well, but its show all posts in reorder section and due to too many posts, the save button goes down a lot, Due to which there is a lot of difficulty in saving, is there any solution to this? Means any way to show 10 to 20 recent posts in reorder section?
02. When I reorder the post in reorder section, its also change the order of post in ”All Post”. Can its possible to change is made only in reorder section? means I don’t want to change post position in all post dashboard.
]]>I have various pages of posts, in my case 5, but how do I, for example, move an element from one page to another? It seems to me that drag and drop only works within the same page and I can see up to 31 articles on each page
]]>In the v 2.2.1 update there’s nothing listed in changelog – what’s changed?
]]>Hi, when I install your plugin, after that my all data(CPT, templates and pages) is deleted. How can I repost my files?
]]>Hi there
I use your plugin a long time ago, always with success.
Otherwise today I could not save the new order, I tried all and nothing untill I found two posts had the same menu order number… and one of them jumped to the top always, once and again… after drag and drop + save the post jumped to the top.
I needed to change manually those 2 menu order and all the rest of course. After I did it I could use again your plugin.
In websites where I have thousands of posts this will be a big problem.
Any idea why happens this?
Thanks in advance!
]]>Hi there,
I’m having an error with your plugin active, in which is overriding the ORDER BY for a custom query I’m doing, even though all the settings indicate it shouldn’t.
I’ve had to temporarily deactivate your plugin, which solves the issue, but I’d like to fix it instead.
Am I missing something, or there’s a bug in the plugin? (Latest version)
Here’s the Query code, that I’m logging:
error_log( print_r( $search_args, true) );
$sessions_query = new WP_Query();
$sessions = $sessions_query->query( $search_args );
error_log( $sessions_query->request );
The search args logged are:
Array (
[post_type] => wc_appointment
[post_status] => Array
(
[0] => complete
[1] => confirmed
[2] => conflict
[3] => cancelled
)
[posts_per_page] => -1
[post_parent] => 124036
[orderby] => ID
[order] => ASC
)
However, on the logged request, I got this (note the ORDER BY):
SELECT wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_parent = 124036 AND wp_posts.post_type = 'wc_appointment' AND ((wp_posts.post_status = 'conflict' OR wp_posts.post_status = 'complete' OR wp_posts.post_status = 'confirmed' OR wp_posts.post_status = 'cancelled'))
ORDER BY wp_posts.menu_order , wp_posts.post_date DESC
When I disable the plugin, I get (as expected) the following :
SELECT wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_parent = 124036 AND wp_posts.post_type = 'wc_appointment' AND ((wp_posts.post_status = 'conflict' OR wp_posts.post_status = 'complete' OR wp_posts.post_status = 'confirmed' OR wp_posts.post_status = 'cancelled'))
ORDER BY wp_posts.ID ASC
The settings for the plugin are:
Thanks
]]>Thank you for making this plugin. It comes in really handy.
Unfortunately the browser developer console gives the following error..
How to solve this ?
]]>Hi,
I use the Post Types Order plugin for media files (images) that are displayed in a gallery. Now I have the strange problem that some images can be dragged & dropped and others not.
To be more specific, all images can indeed be dragged & dropped but the result is not saved for all images. For some images, after reload the images are still in their old place, the new order is lost. For other images it works fine.
I cannot find out what makes the difference, why it works with some images and not with others. How can that be and what can I do to solve this problem?
Thank you,
Rainer
]]>Hi, the sorting of posts works if I am on the Posts page “/wp-admin/edit.php”, but if I go to the selected native category “/wp-admin/edit.php?category_name=” there is no possibility to sort these posts.
Is there a snippet or maybe an any fix?
]]>I’m using the post types order plugin to order custom post types on my website for a while now. But now it suddenly stopped working.
I still get the previously set order but I can’t update the order anymore.
When I reload the page after saving changes, I get the old order again.
The ajax request to the server contains the correct order but it doesn’t get persisted to the database. I don’t get any error messages.
Has someone experienced this before? Any ideas what to do?
Is it possible to allow custom role types to have the ability to re-order posts? We have different admin roles and this plugin is limited to allowing for additional roles outside of the standard default roles. Is there a way around this?
]]>