If you have already installed Magento 2 Blog Module v2.6.2 (or later) you can easily add a blog and blog categories links to the SmartWave Mega Menu.
Please, follow the steps listed below.
1. Log into your Magento 2 admin panel.
2. Go to the Content > Blocks.
3. Find a block with the identifier "porto_custom_menu" and open its edit page.
4. Add this code to the block content:
5. Save the changes & flush Magento cache.
6. Check :-)
You can also use another menu_type values (staticwidth, fullwidth) to change a look of the blog submenu items.
<ul>
<li class="ui-menu-item level0"><a class="level-top" href="{{store url=''}}blog"><span>Blog</span></a></li>
</ul>
only for one website, but the button is on all storeviews, and now I cannot remove it by disabling of the block or even by uninstalling the extension.
You need to create 2 separate CMS Blocks with the same "Identifier" for different store views one WITH "blog" link and another one WITHOUT "blog" link and assign each block to a proper store view. Please note that this is not how our Blog extension works, it's about how you need to manage CMS Blocks on multi-language (multi-store) Magento.
When i removed the part of the code I can easily organize the blocks on separate storeviews. Thanks
i have the following code in html in the porto custome menu block:
<ul>
<li class="ui-menu-item level0">
<a href="#" class="level-top"><span>Features</span></a>
</li>
</ul>
i added {{block class="Magefan\Blog\Block\Smartwave\Megamenu\Topmenu" menu_type="classic" }}
but noting has changed on frontend menu..
please assist
You can copy from there:
{{block class="Magefan\Blog\Block\Smartwave\Megamenu\Topmenu" menu_type="classic" }}