Forums

page template as a plugin (3 posts)

  1. dwatrous
    Member
    Posted 1 year ago #

    I have created a universal page template that other bloggers are interested in using. I want to make it as easy as possible for them to use it and so I wondered if there was some way to distribute it as a plugin.

    Is there some way to write a plugin so that it registers a page template in the drop down to choose when you add a new page?

    Thanks,
    Daniel

  2. dwatrous
    Member
    Posted 1 year ago #

    No one has any comment on this?

  3. dwatrous
    Member
    Posted 1 year ago #

    As an update, I currently use a synchronize function which is called when a post is published or updated and ensures that theme files available with the plugin are copied into the current theme directory.

    This makes the page templates available when publishing new pages.

Topic Closed

This topic has been closed to new replies.

About this Topic