Create a Custom Page Template for a plugin (1 post)

  1. Colin Murphy
    Posted 3 years ago #

    I am relatively new to creating plugin's but I need to create 2 or 3 custom page templates for a plugin I am creating for a client. When I include these files it breaks the site.

    Is there a hook or a method on how to register custom page templates ?

    The only thing I found was to use the page_template filter and check the post ID which is not ideal.

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic