Magento How to link to a category by id from a static block / page

I am looking for a link to a category from a static block using category id. Any thoughts?

I did the usual searches, but to no avail.

At the moment, I can do something like <a href="{{store url="category-i-want.html"}}">, but this is hardly reliable.

+3
source share
1 answer

Use the link code of the category link widget:

{{widget type="catalog/category_widget_link" anchor_text="Displayed Text" title="Title attribute text" template="catalog/category/widget/link/link_block.phtml" id_path="category/22"}}
+4
source

All Articles