admin管理员组

文章数量:1026134

At the moment I'm using multiple page templates to display custom posts (page-events.php, page-resources.php) and it seems wasteful.

How can I reuse page.php and just display the post type relating to the page a user has clicked on?

Thanks!

At the moment I'm using multiple page templates to display custom posts (page-events.php, page-resources.php) and it seems wasteful.

How can I reuse page.php and just display the post type relating to the page a user has clicked on?

Thanks!

本文标签: How can I use one instance of pagephp to display different custom post types