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


If anyone's response has helped you, click the like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png icon (bottom-right) to show them some appreciation. If their response didn't help, ask for more help, or wait for users to chime in. 
Need more help than I can provide via the forum? I'm a professional Developer who works with Designers internationally. You can book me via my company's website.

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?


If anyone's response has helped you, click the like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png icon (bottom-right) to show them some appreciation. If their response didn't help, ask for more help, or wait for users to chime in. 
Need more help than I can provide via the forum? I'm a professional Developer who works with Designers internationally. You can book me via my company's website.

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.

 


If anyone's response has helped you, click the like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png icon (bottom-right) to show them some appreciation. If their response didn't help, ask for more help, or wait for users to chime in. 
Need more help than I can provide via the forum? I'm a professional Developer who works with Designers internationally. You can book me via my company's website.

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