0

我正在使用 Magento WordPress 集成我想知道如何将 fishpig“博客”链接添加到 magento 的主导航?目前它只是添加一个链接到我的顶部标题导航。

谢谢

4

1 回答 1

0

The above answer correctly shows how to add a link to your toplinks, however this is included in the extension by default. If you want to do this, you can enable/disable this from the extension's configuration area.

If you are referring to the Topmenu (the Category menu), it is now possible to create a custom Menu in the WordPress Admin and have this automatically added to your Magento Topmenu.

To do this, create a menu in WordPress. If you only want a single link to your blog, create a menu with this just this link in. Next, login to the Magento Admin and go to the configuration area for WordPress Integration. Under the fieldset labelled 'Menu', you can enable menu integration and select your newly created menu.

This will only work if your theme uses the Magento Topmenu block, which is the default menu block for Magento 1.7. Some custom themes use a custom menu extension for this menu and it is highly unlikely that this custom extension will call the necessary event.

As always, ensure you are using the latest version of WordPress Integration as this feature is quite new and has only recently been added.

于 2013-06-26T10:46:03.163 回答