Posts in WordPress

How to Create Archives for Custom Taxonomies in WordPress

Step 1: 1. Creating a Custom Post Type To create a custom post type, add the following code in your theme’s functions.php file add_action('init', 'create_post_type'); function create_post_type() { register_post_type( 'project', array( 'labels' => array( 'name' => __('Projects'), 'singular_name' => __('Project'), 'all_items' => __('All Projects') ), 'public' => true,…
Read More