Home / Tag Archives: Custom Post Type

Tag Archives: Custom Post Type

How to Creating a Custom Post Type for product, slider, portfolio or News Sections in wordpress or Woocommerce

Copy and paste the code in functions.php function my_custom_post_product() { $args = array(); register_post_type( 'product', $args ); } add_action( 'init', 'my_custom_post_product' ); <?php function my_custom_post_product() { $labels = array( 'name' => _x( 'Products', 'post type general name' ), 'singular_name' => _x( 'Product', 'post type singular name' ), 'add_new' => _x( …

Read More »

Engineer Sushil Kumar is Stephen Fry proof thanks to caching by WP Super Cache