Ghost Tips & Tricks #4 / Create a Tags List Page

Awesome!! Thanks you so much. Now I just need to figure out how to make the display look more like Penang. Thanks again!

1 Like

I tried using this guide even with your latest revision for the Casper theme and my tags page is just blank. I am using Ghost 5.6.0 and the latest Casper update.

Try looking in your ghost log ( if not on ghost pro ) - hopefully you’ll get a diagnostic error.

Is the full page blank, or is the tags section blank with no tags? Share your full page code here, it will give a good picture.

1 Like

Hi @ahmadajmi I am extremely new to ghost and have no coding background. I would like to add your code to my theme directory, but I have no idea how to do this. Can you give this beginner a point in the right direction?

Is it possible to hide tags on page if the post count for the tag doesn’t meet a certain number of posts?

Can we use the code injection feature to do this?

Hello @ahmadajmi, let me first thank you for this guide to add a tags list page. It has been amazingly useful so far.

With Ghost 6.0 the limit=’all’ for GETs has been deprecated and defaulted to a maximum of 100, which introduces the need of paginating the tags. It would be ideal, for example, to have automated pagination by scrolling to the bottom of the page - similarly to what is already implemented with post previews in the home. I tried fiddling a bit to achieve this, but failed, so I’m here to ask you or any other theme wizard for some help :folded_hands:

Thanks in advance to anyone who can share some tips!

1 Like