This topic contains 20 replies, has 2 voices, and was last updated by Alex Rollin 3 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Tagged: Sort by Title as Default
How do I set up the location pages to show the title of listings alphabetically by default and not the Date that it was created?
Also can I sort by ‘Featured’ 1st and then title?
You can use the sorting options that you set up for the CPT
You can choose the options you have setup INSIDE the GD Listings shortcode. You will need to open up the shortcode builder to be able to select them.
You can sort by featured, then title, but, that will create two blocks, feature and non-featured, then sort each of those by title separately.
Use a subsort to do that, as described on the link above
O.K. I have worked out how to do this sorting on the Search pages for the various Post Types that I have created.
But how do I do it on the main ‘Location Page’ please?
On the Location page you should add 1 GD Listings for each post type, and select your special sort when you create the shortcode/block.
Sorry but have lost me here.
Where do I find the shortcode builder? How do I create the shortcodes for this?
Can you give me an example of the shortcode for sorting
1 Featured alphabetically
2 Remainder to sort alphabetically
I don’t know how to create the shortcodes. But I assume that I would then post them onto the appropriate Location page?
The shortcode builder is described here:
The sorting options need to be set up on your site, then the shortcode created on your site to reference the sort on your site.
There is only one add-listing page.
Add links to the appropriate form like this:
Please check now
You will need custom CSS to change that.
Some examples to get you started can be found here:
You can also use a different page template and create that section yourself in order to create badges that have the colors you want.
Enter your WordPress.com blog URL