hacklink hack forum hacklink film izle hacklink deposit 5ktaraftarium24สล็อตสล็อต먹튀검증 리뷰testtipobetjetbahisสล็อตเว็บตรงslogan bahis bonusbets10casibomcasibomjojobetroyalbet girişmeritbetmadridbetonwinbetebetjojobetlunabetmatbetegebetcasino utan spelpausholiganbetbbo303z-librarygalabettaraftarium24padişahbetbetofficegalabet girişizmir escortimajbetmeritbet girişjojobetjustin tvmarsbahisjojobetjojobet girişenbetcasinolevant

How to add eShop in custom post type in WordPress 3

By default, eShop shopping cart plugin will use standard post to display it’s product options. But it would be better if we can use custom post type which is available in wordpress 3 to have separate post type for our product. First we need to install eShop and Custom Post Type UI then use Custom Post Type UI to create custom post type easily instead of messing around with functions.php.

Next is look for editing eshop-product-entry.php file inside eshop plugin folder. Search for this code approx on line 13

add_meta_box( 'epagepostcustom', __( 'Product Entry', 'eshop' ), 'eshop_inner_custom_box', 'post', 'normal','high' );

Now replace ‘post’ with your newly created post type, i.e: product.

add_meta_box( 'epagepostcustom', __( 'Product Entry', 'eshop' ), 'eshop_inner_custom_box', 'product', 'normal','high' );

That’s all, when you add new product, there’s eShop options available for that custom post type.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Hosted by BOC Indonesia