Jump to content

Sort blog post summary in Alphabetical order

Go to solution Solved by paul2009,

Recommended Posts

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 🙂

Link to comment
  • Solution

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

Edited by paul2009

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

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?

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

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?

Link to comment

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.

 

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

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. 🙂

Link to comment
  • 5 months later...
  • 11 months later...

Site URL: https://manukasten.com/

Excuse my English, i don´t speak it very well.

I put the code in the footer of the code injection but i can´t find where the menu appears to see the new options that the plugin gives me.

I would like to know how I can start using it.

Thank you very much for your help.

Link to comment

Site URL: https://manukasten.com/

Excuse my English, i don´t speak it very well.

I put the code in the footer of the code injection but i can´t find where the menu appears to see the new options that the plugin gives me.

I would like to know how I can start using it.

Thank you very much for your help.

Link to comment
On 4/22/2021 at 9:10 AM, ManuKasten said:

Site URL: https://manukasten.com/

Excuse my English, i don´t speak it very well.

I put the code in the footer of the code injection but i can´t find where the menu appears to see the new options that the plugin gives me.

I would like to know how I can start using it.

Thank you very much for your help.

Hi. Have you solved this yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 11 months later...
1 hour ago, rsuzuki said:

does anyone know if you can use this to sort by the post date?

Can you explain what you mean? Blog posts are shown in date order by default.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.