Skip Navigation

[Resolved] listing resources alphabetically

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 15 replies, has 2 voices.

Last updated by lukeM-7 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1083642

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.

#1083911
Screen Shot 2018-08-15 at 12.45.00 PM.png

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.

#1085600
Screen Shot 2018-08-17 at 13.02.03.png
Screen Shot 2018-08-17 at 13.01.38.png
Screen Shot 2018-08-17 at 13.01.27.png

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

#1085613
Screen Shot 2018-08-17 at 13.04.25.png

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

#1087073

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.

#1087558

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

#1087613

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.

#1087735

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

#1088406

Not sure I understand the question, but that is a WooCommerce plugin page. Does it not come from Toolset Types? plugin?

#1088495
drag-and-drop.gif

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.

#1088598

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.

#1088670

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.

#1089318

The plugin called Simple Custom Post Order is the one that enables the functionality you questioned above.

#1089503

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.

#1093717

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.