Tue. Jul 2nd, 2024

3. Magento. How to remove Blog from top menu

1 min read

This tutorial will teach you how to remove Blog from top menu in Magento templates. Magento.How_to_remove_Blog_from_top_menu.

  1. 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).
  2. 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) .
  3. Search for the following code and remove it:
    1
    2
    3
    4
    5
    <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>
  4. After you’re done, save the changes and check the site.
  5. 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.

July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031