I have created 3 levels of pages that look something like this
Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item
I am using a block to display all items together, but when I ask the block to display A to Z sorting, it is failing to do so.
In other words it should display the pages sorted as follows
A item
B item
C item
Z item
Instead, it sorts as follows
A item
Z item
C item
B item
I believe what is happening is that it is incorporating the second level page in the name when sorting, so
Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item
.. It is sorting Allergies then Cardiovascular then Dermatology
Is there any way around this problem? Thanks.
Hello kurdi,
Please provide your website URL and also, some useful screenshots of the problem so I can identify it. Before this, you should remove all of the untested plugins, clear all the caches and check the results. If the problem is still there, you should try making a new clean install to another subdomain for testing and use only required plugins and then check the sorting functionality at our blocks.
Hope this helps and let us know how it goes!
Thanks for your understanding!
Hello,
I am working on a temporary dev site URL, so I would prefer not to give out a URL publicly. I can private message if you like.
I do not have caching enabled (being a dev site), but anyway I disabled every single plugin except for one: “tagDiv Composer”. I even disabled “WPBakery Page Builder” and all the other plugins that come with the theme.
Next, I went in to edit the page with tagDiv Composer. I am using flex block 1. I made sure that “A to Z Sorting” was selected in the filtering tab; re-selected it again just in case, and made sure to save the page. Here’s a screenshot:
https://i.imgur.com/yuw4Hch.jpg
On viewing the site, there is not A to Z sorting. As you can see below, the first item starts with C, the second with L, the third with A, etc.
https://i.imgur.com/8kzS28b.jpg
My guess is that there is an A to Z sorting, but it takes the names of the three levels of pages into consideration. Something like this
some-domain.com/products-hpi/allergies/cerin/
some-domain.com/products-hpi/allergies/loreen/
some-domain.com/products-hpi/cardiovascular-system/azarten
Where
allergies/cerin
allergies/loreen/
cardiovascular-system/azarten
… are actually sorted alphabetically; of course what I need is:
azarten then cerin then loreen
You can easily recreate this as follows:
– Create the following 8 PAGES (not posts) on a clean Newspaper theme:
Items
Items/Allergies
Items/Cardiovascular
Items/Dermatololgy
Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item
Create a page with a block (I am using flex block 1 but had the same problem no matter which block I used)… and ask for A to Z sorting.
See what you get.
My guess is that you will NOT get an alphabetically sorted
A Item
B Item
C Item
Z Item
but rather
A item (Allergies/A item)
Z item (Allergies/Z item)
C item (Cardiovascular/C item)
B item (Dermatology/B item)
Thank you for your help.
Hello kurdi,
I have made some tests on my side with this sorting on pages on blocks and it seems to work as expected, as you can see here -> https://www.screencast.com/t/oWEDhBru Make sure that you are using the latest version of the theme installed via FTP way, remove all of the untested plugins which can break the theme functionality, clear all the caches and check the results.
P.S Please notice that your support has been expired, as you can see here -> https://www.screencast.com/t/5KuvxMWRBC
Thanks for your understanding!
These pages that you have in your image, are they in a page hierarchy?
If not, then you have created a situation different than the one I described to you, and you are comparing oranges and apples.
Is my support expired for all 4 licenses of the theme that I purchased, or just the one I registered with?
My last question: is tagDiv support not curious to uncover a potential bug that the theme might have? Because it seems to me that it might have one, whether or not my support has expired.
Hello kurdi,
Do you are referring to the parent and child hierarchy on the page, like this -> https://www.screencast.com/t/m1lhs9BK4mU I have tried again the alphabetical sorting for these pages and it seems to work as expected -> https://www.screencast.com/t/nxUPI2W32N This is not what you mean? Please provide more details if I misunderstanding, sorry!
Thanks.
Catalin,
Yes that parent/child relationship is what I mean. I didn’t expect that it would work for you.
Can you do me one more favor? Instead of filtering pages to include in the block by whatever means you are currently using, can you try to filter by individual page ID number and see if the A to Z sorting works for you?
https://i.imgur.com/lTIRKQc.jpg
Please make sure that the page ID numbers are not entered in a sorted manner. Thanks.
Thanks!
Hello kurdi,
Please keep in mind that if you will manually add the page ID, the sorting, practically will be disabled and the page will be loaded in the order you entered them. It’s a normal behavior! Please check here -> https://www.screencast.com/t/VnIjtWMAl6 If you want an alphabetic sorting you should manually in that order if you use the page ID or post ID.
Thanks for your understanding!