How to register a post type and taxonomy in WordPress and display in a page/single post <p>I have a question about WordPress register post type:</p> <p>How can I register a post type like <code>portfolio</code>? </p> <p>For example: In the WordPress dashboard, I can register a post type and taxonomy. After this I want to create a page to display all the portfolio and taxonomies like (portfolio.php) and display a single portfolio in a (single-portfolio.php). </p> <p>Can someone explain this for me please?</p>