Hi,
If you view this page hidden link
You will see that we have tabs for the following:
- General
- Phonics
- Interests
- Areas of learning
At the moment they are listed in any order, we'd like to list them alphabetically.
I presumed this would be done from a view such as 'Resources: Phonics' but need clarity on this point of where and what to actually change.
Many thanks.
You should edit this View (ID 953) and look for the Ordering section. Choose Order by "Post title" to sort by the post title.
If you cannot see the Ordering section, scroll to the top right corner and click "Screen Options". You can enable the Ordering section here.
Ok, found the view - but I do not have that option in the drop downs. (As per images below).
Can I use 'Term Name' instead?
Dan
And I believe this is so because the view is set to
Taxonomy. (See attached).
Can this be changed without any impact to the site and search results?
Dan
Can I use 'Term Name' instead?
Yes, choose "Term Name" in the Ordering section if this is a Taxonomy View. I incorrectly assumed this was a Posts View.
Hi,
When I check View (ID 953) its set to 'Term name'. However, the listing still is not running in alphabetical order.
Kinda need to make some progress here as going round in circles. You have access to the site so please check from your side.
Thanks
Please do not assume that a supporter has access to your site because you have provided it in the past. Please add login credentials to every ticket. I don't have access information available here and if I have to go searching through other tickets to find it, that wastes my time and yours.
Which of your site's plugins gives you the ability to drag and drop the terms in a different order on this page?
hidden link
Not sure I understand the question, but that is a WooCommerce plugin page. Does it not come from Toolset Types? plugin?
Here is an image of the drag-and-drop effect I'm talking about. This drag-and-drop sorting behavior is not provided by Toolset, it's not provided by WooCommerce, and it's not built-in to WordPress. Normally these terms cannot be reordered using drag-and-drop. Another plugin or some code in your theme is enabling this drag-and-drop sorting behavior, and this code is probably also responsible for overriding the sort order applied to your View.
My question is which plugin or custom code is responsible for adding this drag-and-drop sorting effect. If you are not sure, activate a default theme like Twenty Seventeen, then try to reorder the terms in wp-admin. If you are still able to reorder the terms, then there is a plugin making this behavior possible. Deactivate all plugins except Toolset and WooCommerce, then reload and test in wp-admin. Reactivate plugins one by one until you are able to reorder the terms in wp-admin. Let me know what you discover.
Are you saying that through this plugin we can actually reorder the said resources to appear how we wish on the page above? or are you saying that this plugin is clashing with TS?
I've updated the details above to include FTP.
I'm not saying either of those things yet. I am asking which plugin is responsible for this drag and drop behavior so I can continue my investigation.
The plugin called Simple Custom Post Order is the one that enables the functionality you questioned above.
Okay I have run some tests locally and it looks like the Simple Custom Post Order plugin conflicts with Views. Both of our systems use the WordPress WP_Term_Query method to retrieve a list of taxonomy terms. SCPO works by globally modifying the order of this term query, which overrides Types and Views ordering. Please temporarily deactivate this plugin and turn off caching in this View to see if the problem is resolved. To disable caching, add cached="off" to the View shortcode like this:
[wpv-view name="your-view-slug" cached="off"]
Test again. If the problem is resolved, then we can confirm there is a conflict between these systems. You can reactivate the plugin, then go to wp-admin > Settings > SCPOrder and disable sorting for this custom taxonomy. Or, you can deactivate the plugin permanently and use another sorting mechanism.
Hi,
Ok deactivated the plugin and added the short code to hidden link
Within the output editor field, cleared cache and still have the issue.
Where is the best place to put the short code? not sure the output editor field is best.
Plugin remains switched off to enable you to review. This is on the live platform.