Google+

Pages

Thursday, September 10, 2015

Add link to category page by id from cms static block/cms page in Magento

If you want to add a link for category page from cms page or cms static block, simply use the category link widget inline link code:


{{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"}}

There is no need to add <a> tag from cms pages or static blocks.

6 comments:

Emy Watson said...

One step Checkout Magento extension?
Magento Custom Stock Status

chandra bhushan said...

Thanx Sir

iWEB TECHNOLOGIES said...

Grateful for such superb blog yours...!
Magento Website Development Company in India

sharon said...


Thanks for your sharing this blog. we have write blog onMagento 2 migration . please check and give your feedback.

Thanks

Brush Your Ideas said...

Great post! looks so Good informative Magento Designer post i love to read. Thanks you so much.

JenniferT said...

wonderful post I read so far. The information is much helped me.