WordPress.org

Ready to get started?Download WordPress

Forums

page template as a plugin (3 posts)

  1. Daniel Watrous
    Member
    Posted 4 years 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. Daniel Watrous
    Member
    Posted 4 years ago #

    No one has any comment on this?

  3. Daniel Watrous
    Member
    Posted 3 years 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