I’ve been tasked with creating a portfolio website for a client who also wants a blog.
What I’ve Done Thus Far:
I’ve created a custom post type to separate the portfolio work from the blog posts and created a
WP_Query to display them on my
Now that my
front-page.php displays my custom post type (and not my WordPress’ builtin posts), I’m not sure how to navigate to my blog archive. What template do I use to create said archive (i.e.
archive.php, etc) and would I navigate to it?
Create a template with a WP_Query to get posts with post type “post” then create a page and assign that template to that page.
Query by post type: