WordPress.org

Support

Support » Plugins and Hacks » How to I get my plugins to work in Custom Page templates

How to I get my plugins to work in Custom Page templates

  • willwebdesigner
    Member

    @willwebdesigner

    Hi this may sound like a really newbie question but I am using the plugin “Secondary HTML Content” to create extra blocks of editable HTML in my pages.

    Problem is that this only works on my post pages and not my custom pages that I create. I have created a custom page template called “Portfolio” and need to create extra HTML fields in the backend,

    Any help would be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • On line 44 of the plugin’s code. Change ‘page’ to ‘portfolio’

    And in the options just add 1 to ‘Pages’ and it will actually add it to your custom post type of Portfolio.

    Hope that helps.

    Jason Paul
    Member

    @jasontrasaterracom

    I just tried that and it worked like a dream. I don’t quite understand the ‘just add 1 to ‘pages’ but I just needed the first part to work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to I get my plugins to work in Custom Page templates’ is closed to new replies.