3. Magento. How to remove Blog from top menu
1 min readThis tutorial will teach you how to remove Blog from top menu in Magento templates.
- To remove blog from top menu of your site, you’ll need to edit aw_blog.xml file. For this purpose you can use any code editor available (we’re using default cPanel code editor).
- Go to the installation root of your site, open app/design/frontend/default/themeXXX/layout/aw_blog.xml file, line 32 (please mind that in your case the number of the line may be different) .
- Search for the following code and remove it:
12345<reference name=”top.links”><block type=”blog/blog” name=”add.blog.link”><action method=”addBlogLink” ifconfig=”blog/menu/top”><param>top</param></action></block></reference>
- After you’re done, save the changes and check the site.
- Sometimes you may also need to clear the cache to see your changes.
That’s it! Now you know how to remove Blog from top menu in Magento.