Include/Exclude for new/existing posts

Support MB Include Exclude Include/Exclude for new/existing posts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2146
    ClementNClementN
    Participant

    Hello,

    I need to show different MetaBoxes based on:

    a) Post already exist (if it is a new post screen or edit an existing post)

    b) Post status (published/draft)

    The a) is more important for us at this moment.

    #2150
    ClementNClementN
    Participant

    Hello, For other people with same need .. I solved the problem using the method bellow genereting different metaboxed based on the output of the is_edit_page function:

    http://wordpress.stackexchange.com/questions/50043/how-to-determine-whether-we-are-in-add-new-page-post-cpt-or-in-edit-page-post-cp

    #2153
    Anh TranAnh Tran
    Keymaster

    Nice solution. This is not supported by the plugin by default and it's nice to know that can be solved with another solution.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Include/Exclude for new/existing posts’ is closed to new replies.