-
I am using the Charity template, and in the sidebar of the posts page it came with a list of categories, except only one category is listed. I changed the dynamic tag in an attempt to make it show all of them. in doing so, I ended up deleting the little heart svg (or maybe that wasn’t in this list) but also couldn’t make more than one category show up. How do I show all the categories in the term list show up? And how do I add the little heart back (or add it if it was never there to begin with)? For reference, the heart is the same as how the category is displayed within the posts (so click on a post, and you’ll see it under the title.)
https://birthdaysidekick.ca/blog/Thank you for your help!
-
Hi there,
To show all categories in your sidebar, instead of just the one for the current post:
Option A: Core Block
- Use the built-in Categories List block.
Option B: GB Pro Query Loop
- Add a Container block → inside, add a Query Loop.
- In sidebar → Add Parameter → choose Taxonomy = Category, then select which categories to include (you can choose multiple).
- Inside the loop, add a Headline tag → Dynamic Data → Term Name, and set the Link to Term Link.
For details: Adding Query Loop parameters guide
To add the heart icon before each category:
- Use the Icon setting in the Headline → choose Heart → place it before the text.
This setup lists all selected categories with a heart icon, styled like in the Charity template.
-
Query Loop didn’t provide the Add Parameter” options in the sidebar. Query, however, did. And in the editing side, it looks correct. But after saving, and then looking at the page with the sidebar (birthdaysidekick.ca/blog) the catergory list doesn’t show up. I found the categories list block, but there didn’t seem to be a way to add the svg heart, so if possible, I’d prefer option B.
It makes sense, then, that it must be the Query Loop vs Query that’s the problem, as that’s the only difference between your directions and what I did. So how do I get the query loop to show up the add parameters option? -
Hi there,
It looks like you added the Query Loop block, which doesn’t have “Add Parameter.” Please use the GenerateBlocks Query block instead.
- Add a Query block (not Query Loop).(Screenshot)
- In the sidebar, open Add Parameter → Taxonomies = Categories and pick your categories. (Screenshot)
- Inside the loop, add a Headline with Dynamic Data → Term List (Source = Current Post, Taxonomy = Categories, Link To = Term).
- In Headline settings, add a Heart icon before text.
This will display your category list with icons on the front end.
Guide: Query Block – Add Parameter
- You must be logged in to reply to this topic.