Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Custom Post Type Creator

Descriere

IMPORTANT: The plugin Custom Post Type Creator will no longer be supported or updated.

Custom Post Type Creator is now part of WCK – Custom Fields and Custom Post Types Creator plugin, which is fully compatible. Download it and install it instead of the current plugin.

WCK Custom Post Type Creator allows you to easily create custom post types for WordPress without any programming knowledge. It provides an UI for most of the arguments of register_post_type() function.

Features:

  • Create and edit Custom Post Types from the Admin UI
  • Advanced Labeling Options
  • Attach built in or custom taxonomies to post types

Capturi ecran

  • Post Type Creator UI: screenshot-1.jpg
  • Post Type Creator UI and listing: screenshot-2.jpg

Instalare

  1. Upload the wck-cptc folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Then navigate to WCK => Post Type Creator tab and start creating your custom post types.

Întrebări frecvente

Querying by post type in the frontend?

You can create new queries to display posts from a specific post type. This is done via the “post_type” parameter to a WP_Query.

Example:

<?php $args = array( 'post_type' => 'product', 'posts_per_page' => 10 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
    the_title();
    echo '<div class="entry-content">';
    the_content();
    echo '</div>';
endwhile;?>

This simply loops through the latest 10 product posts and displays the title and content of them.

Recenzii

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„Custom Post Type Creator” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

1.0.2

1.0.1

  • Compatible with WordPress 3.5