👟Footer Tags

The Reporter supports footer categories list customization. You can display tags and pseudo-sub-tags instead of tags with posts inside your website's footer. Ghost CMS doesn't have subcategories (or tags), but we can do something like subcategories for the footer menu. For example, we have tag 'Economics' and more tags like 'Economics News', 'Country Economics', 'Economics Guides' etc. So we can make our footer menu like this:

So now it looks like we have the main category (tag) - 'Economics' and its subcategories, but actually each of that category is just a separate tag.

To make this:

  • Open default.hbs file, it look like this:

  • Uncomment {{>footer-with-subcategories}} and comment {{>footer-with-posts}} , like on screenshot below:

  • Then, open footer-with-subcategories.hbs file, it looks like this:

  • You'll see {{!-- Add categories with subcategories HERE --}} comment with one of the footer category example

    {{>footer-category category='exampleTagSlug' subCategory='exampleSubTagSlug1,exampleSubTagSlug2'}}
  • Now, simply copy the example and insert your tag slug inside the category="..." attribute and pseudo-sub-subcategories inside the subCategory="..." attribute, like this:

Result
  • Thats' it! Well done!

Last updated