• Im creating a wordpress site, which has a front-page.php template rendering the front page of the site – the front-page.php template will show no matter what the WP admin settings is set to: static page or show posts.
    The default setting is ‘show posts’ in WP, so how can I get the ‘post’ post type archive slug, so my archive.php template can render a list of all standard posts no matter the WP setting? I have a few custom post types which will load into archive template by the slug i defined in the register_post_type function..

Viewing 1 replies (of 1 total)
  • Thread Starter magnusluca

    (@magnusluca)

    with my custom post type event – i can get the archive template from mysite.com/event (slug is set to ‘event’). I want to do the same with the ‘post’ post type – so i can get target the archive template with for instance mysite.com/blog

Viewing 1 replies (of 1 total)
  • The topic ‘Default 'post' post type archive slug?’ is closed to new replies.