Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
thecigarbible

Sort blog post summary in Alphabetical order

Question

Hello community,

 

can somebody on here maybe help me to develop some code that will sort all the blog post in my summary in Alphabetical order.

My website is: www.thecigarbible.com

the blog is found under "cigar ratings & reviews"

Many thanks ūüôā

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

The code solution to achieve this is quite complex and cannot be answered with a short snippet of code.

There's a plugin available that can do this for you: Lazy Summaries. The configuration includes the following dropdown:

lazy-summary-sort.png.2a2505ee640ec5bde5e0a9bfaf5a1613.png


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked six weeks in advance for jobs longer than an hour.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

 

Share this post


Link to post
  • 0

I'm not sure what you mean. The sort order is determined by the content of the collection being displayed in the Summary Block. Is that what you mean?


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked six weeks in advance for jobs longer than an hour.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

 

Share this post


Link to post
  • 0

My website is about Cigars, specifically cigar reviews.

Typically the cigars are reviewed on the price, rated in stars, and strength etc.. 

If we take the price as an example. This data is normally given in a code block on my website that is illustrated. If I want the plugin to filter my blog posts price from high to low, how and where do I direct the plugin to find that data if it is in a code block... Does the plugin look at the connected tags to each blog post or?

Share this post


Link to post
  • 0

I'm not sure we are talking about the same thing. Let me check that I understood your question.

 

I believe that you want to sort blog posts alphabetically by their title. If you add a Summary Block to a page it can display your blog content. When the plugin is installed, you will have the additional option of sorting the Summary Block content alphabetically.

 


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked six weeks in advance for jobs longer than an hour.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

 

Share this post


Link to post
  • 0

I apologies for not being clearer. Yes you are correct that is what I want to do.

In the screenshot you posted though, there is also the option to sort blog posts by price high/low or low/high. Each of my Blog posts are a single product (cigar) that I review. Each cigar has its own¬†price and Im wondering how a visitor on my website could sort the cigars Alphabetically and also by price. ūüôā

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


√ó
√ó
  • Create New...