The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP Display Header
How to disable Headers from Custom Post Types? (2 posts)

  1. Faramarz
    Posted 3 years ago #


    This is a great plugin, thanks for all your work. I want to use the custom header plugin only for my pages. I just created a custom post type and when I am adding a new post type, the custom headers show at the bottom of my editor. Basically, the custom headers show at the bottom of everything (posts, pages, post types). I don't care about my posts because I am not using them but I do want to use my custom post types and I don't want the custom header to show at the bottom of them when website users are creating content. How do I disable it on my post type pages?



  2. Konstantin Obenland
    Code Wizard
    Plugin Author

    Posted 3 years ago #

    Hi Faramarz,

    You will have to create a custom callback function for the 'add_meta_box' hook on priority 11 and then remove the meta box on post type editors where you don't want it.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Display Header
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic