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.

7 comments:

Emy Watson said...

One step Checkout Magento extension?
Magento Custom Stock Status

Let's Think said...

Thanx Sir

sharon said...


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

Thanks

brushyourideas 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.

Jsmith Kely said...

(Thanks for this blogspot)

I Don’t Miss The Magento Extensions Selling, By partnering with Elsner, Best Magento Extensions Store you can avail service of some best selling Magento extensions like Advanced Summary Report, Multi Line Discount, Axis bank payment gateway, Price Negotiation extension and more.

shakthi said...

digital marketing company in chennai