Custom Post Type
In here you can add any custom post type you want with some simple clicks. There is no need for knowing any knowledge about code.
Go to WP Builder > Post Type
You can fully customize your custom post type with advanced settings
and supports
See the following screen shots down below.
Enter your custom post type name and click
Add post type
You are good to go with your custom post type.
If you need to customize your custom post type settings you can. For that there is another two section for that.
For further details visit the wordpress codex documentation page: Register post type
Display the custom post type into your theme:
Like we have already created a book
post type. If you want to add a customized archive page create the page named archive-book.php
into theme root folder.
Here is the query for showing book post type.
<?php
$args = array( 'post_type' => 'book', 'posts_per_page' => 10 );
$loop = new WP_Query( $args );
// Loop start
while ( $loop->have_posts() ) : $loop->the_post();
// This will show the post title
the_title();
echo '<div class="entry-content">';
// This will show the post content
the_content();
echo '</div>';
// You can add you custom metbox display code in here
// You can add your code for showing custom taxonomy followed by post
endwhile; // Loop end
?>