How to set the mainpage of a custom post type?
When you register the custom post type you need to include has_archive set to the slug where you want the archive. You also need rewrite set to the slug prefix. It’s probably easier to understand the code rather than my wording of it: Your code should look something like this now: register_post_type(‘conference’, … ‘public’ => … Read more