Magento WordPress Integration Magento WordPress Integration

WordPress Widgets & Sidebars

To use WordPress widgets in your sidebar, first ensure you have the latest version of WordPress Integration and that you are using the Twenty Twelve WordPress theme.

To add or remove widgets from your blog sidebar, login to your WordPress Admin and select Appearance > Widgets. From here you can drag and drop widgets into the Main sidebar section and they will automatically show up in your Magento blog.

First Front Page Widget Area

The First Front Page Widget Area can be used to place blocks in the 'content' area of your Magento homepage.

Second Front Page Widget Area

The Second Front Page Widget Area can be used to place blocks in the footer of your Magento website.

Right Sidebar

To use a right sidebar, login to the Magento Admin and select WordPress > Settings and scroll down to the Template section. From here you can select a template that has a right sidebar, such as the 2 columns right template. Once this template is activated, widgets in your 'Main Sidebar' section in WordPress will show up here.

If you have a template that has both a left and right sidebar, widgets in the 'Main Sidebar' will show up in your left sidebar. To change this so that widgets display in the right sidebar, you will need to add the following XML:

<wordpress_default>
		<remove name="wordpress_sidebar_left" />
	</wordpress_default>

Custom Sidebar Areas

You can register custom sidebar areas in Magento using the following XML:

<block type="wordpress/sidebar" name="wordpress.custom" as="wp.sidebar.custom">
		<action method="setWidgetArea"><area>sidebar-name</area></action>
	</block>

You need to change 'sidebar-name' for the name of the Sidebar in WordPress.

Help! Widgets aren't working!

If your widgets aren't working, first ensure you have the latest version of WordPress Integration and are using the Twenty Twelve theme. Next, ensure you have a default WordPress widget (eg. Recent Posts) in your Main Sidebar widget section. If this widget does not display on your Magento integrated blog, you may be using an old version of wordpress.xml - the extension's layout file. If this is the case, locate wordpress.xml in your custom theme, rename it to wordpress.xml.old and refresh your Magento cache. This will force the extension to the use the new version of wordpress.xml in base/default.

Post your comment

FishPig Ltd