WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Template
Suggested change of meta name (4 posts)

  1. Sith Lord Goz
    Member
    Posted 1 year ago #

    Just a thought - have you considered changing your meta name from

    custom_post_template

    to

    _custom_post_template

    so that it is hidden from the "Custom Fields" panel in the UI?

    http://wordpress.org/extend/plugins/custom-post-template/

  2. nootka
    Member
    Posted 1 year ago #

    Dear Lord :)
    Could you help with this?

    custom_post_template keeps showing in my custom fields as custom_post_template: registar.php ( besides custom post template plugin, i am using another one - more fields ) as you can see here

    I've tried changing it in php files of the plugin, but it removes all my custom fields.
    Any advice on this?

  3. Sith Lord Goz
    Member
    Posted 1 year ago #

    Sorry! Not sure what your page is doing - but if your 'more fields' plugin is displaying ALL the custom fields, it'll show the custom field "custom_post_template" and its value. This is probably because the custom_post_template doesn't start with the _ character... I wouldn't recommend changing plugin code because it will get overwritten with the next update.

  4. nootka
    Member
    Posted 1 year ago #

    I was making some changes and I've realized that I've moved that page temporary :)

    But yes, it's showing the custom field "custom_post_template" and its value, and if I add _ character it removes all custom fields, not just "custom_post_template"
    I guess, I will have to either use another plugin, or find less simple way to fix it :)

    Thank you for your time!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic