how to create custom fields in wordpress


we can use types plugin for custom fields

 

Advertisements

how to move left sidebar to right sidebar in magento


app/design/frontend/carpetnrugs/default/layout

there is a file catalog.xml
open it and look for

<catalog_category_layered>

and add this inside this block

<reference name=”root”>
<action method=”setTemplate”><template>page/2columns-left.phtml</template></action>
</reference>

The code should be changed from this:

<catalog_category_default>
<reference name=”left”>
<block type=”catalog/navigation” name=”catalog.leftnav” after=”currency” template=”catalog/navigation/left.phtml”/>
</reference>
<reference name=”content”>
<block type=”catalog/category_view” name=”category.products” template=”catalog/category/view.phtml”>
<block type=”catalog/product_list” name=”product_list” template=”catalog/product/list.phtml” />
</block>
</reference>
</catalog_category_default>