Some days ago, I worked on a project which has many URLs linked to static content page. These URLs are shown in main menu. As you know, in main menu are categories. Normally, almost developers add these URLs directly to the phtml file. But I will show you how to do it by another way which is using category 😉

Therefore, you can use each category for one static content page.

First of all, create a static block (instead of static page) by going to CMS > Static Blocks.

After that, going to Catalog > Manage Categories to add new category. To make the category show static block, navigate to ‘Display settings’ tab and select ‘Static block only’ in display mode drop down field.

In CMS block, choose the block you want to show when customer goes to this category page. Click on save button.
It’s time to check the work now 🙂

Navigate to the front-end, you will find the category you just added in the main menu, but when you click on it, you will see the static content you want to show.

Of course, you can do something else to make it better but I will show you later.
Finally, let’s say thank you to Adam who really found out this trick 🙂


Why Magestore? We believe in building a meaningful & long-term relationship with you.


  1. I find that just putting my information in a static block, and then using the Categories option to display the block on a page is easier than coding it into a CMS page, and then editing the top.phtml file to make it show on the top navigation.

    Are there any advantages over using CMS Pages over static blocks? Or is it the same?

  2. Excellent suggestion. I’ve always edited the code but I love being able to keep things upgradeable and editable in case of change. Thanks for the tip – hadn’t thought of it.

Write A Comment