Display Blog Post Categories with a Permalink

Hi, I’d like to display a list of my Blog categories (just like the Posts List element, but with categories) and have them permalink to the specific category.

How can I do this?

At the moment I have a Provider set to All Terms, then a Consumer set to All, then a button element with dynamic content set to post title. This solution is not working.

Cheers,
David

Hi David,

Thanks for reaching out.
You can use the Term element and set the Looper to All Terms and set the Taxonomy to Categories to get what you are expecting.

Hope it helps.
Thanks

Hi, thanks for this, it’s always the simple solutions that work best!

On that note I also want to create an Author post Layout. I’m having trouble displaying posts specific to an author and wondering if you know the solution or have any resources?

To clarify, I want the author page (currently this) https://scanlancarroll.spiralorbdesigns.com/author/sharelle-staff/

to look like the blog page (currently this) https://scanlancarroll.spiralorbdesigns.com/news/

where for each author page, only posts by that author will be displayed.

Thanks!
David

Hi David,

Glad that we are able to help you and to create the Author Layout you need to use the Archive Layout and assign it to the Any Author or Sepecifc Author as shown in the screenshots.

Hope it helps too.
Thanks

Hi @tristup,

I’ve already tried that, but it doesn’t seem to work. See this page as an example.

All I have done is create an Archive Layout with the condition set to Any Author is being viewed. I have added a dynamic content headline of {{dc:post:title}}
and below it I have used the default posts prefab element with the post count set to default.

As you can see the posts being displayed are not only by this author. You can check by clicking on them and you will see they are from a variety of authors: https://scanlancarroll.spiralorbdesigns.com/author/foula-markos/

Also the dynamic content for the post title seems to only be displaying the title of the first post, not the title of the page, which should be Foula Markos in this case. Any idea why this is?

Cheers,
David

Hi David,

Now, it will be very difficult to recognize the issue without investigating through the admin dashboard. Can you please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– Specific layout where you are having this issue
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi @tristup, I have attached a secure note. Please let me know what you find.

Cheers,
David

Hi David,

I have checked that author test layout, and I see you have a Recent Posts provider in there (this is why you get the recent posts on an author page). Please deactivate that and let the archive page (author) provide its own provider (in this case all posts belong to Foula Markos).

Regarding the Title, the {{dc:post:title}} is not appropriate since this is an archive author page, use {{dc:author:display_name}} instead.

Hope it helps,
Cheers,

Thank you so much guys, your help has been invaluable!

One last thing (I promise). I have the posts displaying as intended in their relevant author pages, however the category doesn’t seem to be appearing in them on the front end (seems to work only in the Layout builder).

In the ‘author posts’ Layout, which I have used for the authors, I have added {{dc:term:name}} to the post, but it doesn’t seem to be pulling through on the front end. Screenshots attached.

Thank you for all your assistance!

Cheers,
David

Hello David,

I checked your layout builder mode and frontend mode as well it seems that the category name is printing by the dynamic code on the backend and frontend. It might be the browser cache at your end please clear your browser cache and then check it again. Please have a look at the screenshot in the secure note.

Thanks

Hi,

This issue is within the Author layout, not the Blog page.

For example look here: https://scanlancarroll.spiralorbdesigns.com/author/foula-markos/

Cheers,
David

Hello David,

I have investigated the issue and I found out that adding the {{dc:term:name}} alone will not do the job. You will have to insert the “Terms” Dynamic Element and only display 1 term.

Screen Shot 2021-05-09 at 2.13.15 PM

You may need to redesign the Terms display to look like the Published text.

Hope this makes sense.

Hi, this solution doesn’t seem to work. It just displays the first item in the list of all categories for all posts instead of the accurate category - in this case ‘commercial law’, as you can see here: https://scanlancarroll.spiralorbdesigns.com/author/sharelle-staff/
If you click into the post you can see that the actual category is different.

Please let me know if you find a solution.

Cheers,
David

Hello David,

It should be the “Current Post Term” so that only the category assigned to the post item will display.
Screen Shot 2021-05-10 at 11.24.17 AM

I went ahead and resolved the issue already.

1 Like

Amazing, thank you @ruenel!

Cheers,
David

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.