Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy

I need help with WP custom taxonomy and custom post types. I never find a working solution so far. Please accept my apologies if this has a simple solution. I tried my best to find solution everywhere first. Explanation of issue – I have one taxonomy called “department”. I have 3 CPT called “course”, “faculty”, … Read more

Archive template for taxonomy terms

I have registered a custom post type [equipment] and have a taxonomy of [equipment_type] within the taxonomy I have parent and child categories. For example: Equipment (Custom post type) Equipment Types (Taxonomy) Cameras (Parent term) Camera A (Child term) Camera B What I would like to create is effectively an archive page for the taxonomy … Read more

Change number of posts to show on Archive page (custom post type)

I’ve created a custom post type, and I’ve created an archive page to show them on this page. The number of posts shown by default is 10 but I’d like to reduce the posts’ number to 6. I use this function to reduce the number of posts: function num_posts_archive_project_ie($query){ if ($query->is_archive(‘projects-ie’)) { $query->set(‘posts_per_page’, 6); } … Read more

How To Create A Paginated List Of All Categories On My Site?

I want to display an archive page with pagination that lists all the categories on my site, and each link goes to that particular category archive page. So this would be like an archive page of category archives. Each category on my site has a custom thumbnail created manually to match the category’s permalink. I … Read more

Custom Post Type Settings page, choose page to display archive

So, I followed the accepted answer of this post Possible to add another setting to ‘Front page displays’ setting for Custom Post Type but didn’t entirely work, had to compare against the accepted answer in this post. Can’t output do_settings_sections . Can’t understand why Now, it actually works using the following code //Add settings to … Read more