Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Custom Post Type Creator

Descrição

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

Ecrãs

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

Instalação

  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.

Perguntas frequentes

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.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Custom Post Type Creator” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Custom Post Type Creator” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.0.2

1.0.1

  • Compatible with WordPress 3.5