Is it possible to combine two topics into one list? When I say combine, I mean only show posts where the given set of topics are present at the same time.
For example:
{% set topic1 = blog_recent_topic_posts('default', 'topic1_name', limit=25) %} {% set topic2 = blog_recent_topic_posts('default', 'topic2_name', limit=25) %}
That documentation is helpful, not quite what I was looking for though. Essentially I was going to use HubL to display a series of posts based on a specific combination of tags only if they were both mutually present at the same time.
Said another way, instead of getting all posts tagged with either topic1 and or topic2, only show posts when topic1 and topic2 exist together.
I ended up using some filtering, post IDs and a drop down to select specific posts to show where relevant. This was for a directory listing, not a traditional blog if curious.
Have you taken a look at the HubL docs and tuitorials? They may be a good starting point to take a look at. I wanted to share this tuitorial for reference (see more along the left hand side).
If you're still having issues after taking a look at those, please let us know.
Thank you,
Jenny
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!
That documentation is helpful, not quite what I was looking for though. Essentially I was going to use HubL to display a series of posts based on a specific combination of tags only if they were both mutually present at the same time.
Said another way, instead of getting all posts tagged with either topic1 and or topic2, only show posts when topic1 and topic2 exist together.
I ended up using some filtering, post IDs and a drop down to select specific posts to show where relevant. This was for a directory listing, not a traditional blog if curious.
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!