Tagged: ,

Viewing 2 reply threads
  • Author
    Posts
    • #1473
      Jason
      Keymaster

      I see the following in the docs:

      Template
      The file name of the Page Template you want this metabox to display.
      example: ‘Template: my-template.php’

      I’m a bit confused what this does. I was hoping it would display the metabox if the page used that particular template, but that didn’t seem to work. So what exactly is this for?

    • #1476
      Steve
      Keymaster

      @Jason– There was a typo in the doc, which is now fixed >. Use the page template file name WITHOUT “.php”.

      Also, this is not javascript, ajax, etc based, though it probably will be in the future. The page must be saved first with the proper page template for this to work.

    • #1479
      Jason
      Keymaster

      Works great! Thanks, Steve!

      That will definitely be very cool when they’re loaded on the fly in the future, but this is still great.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.