Page specific templates for Custom Post Types

By default WordPress allows us to use page specific templates by having files like

page-contact.php (page slug specific)

page-10.php (page ID specific)

but when it comes to custom post types, we’re left with no option but to use same template for all the custom posts of that custom post type.
Continue reading Page specific templates for Custom Post Types

Adding an additional paginated page to the content

We know that adding <!–nextpage–> allows you to paginate the content of the post/page in WordPress.

Also if you want to append the content you can use the_content filter.

This filter though works but adds that content to all the pages instead of creating a new page for that content.
Continue reading Adding an additional paginated page to the content