How can we hide the meta box fields for the page set as "Latest Posts"?

Support › MB Settings Page › How can we hide the meta box fields for the page set as "Latest Posts"?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45268
    AishwaryaAishwarya
    Participant

    Hi,

    I have created customization meta fields for pages like header/footer color, typography, etc. How can we escape the settings not to show for the page which is set as "Latest posts"(blog posts) because get_postmeta() is not working for the page set as "Latest Posts".

    So I am trying to hide the meta fields on that page and added the blog options under theme options.

    #45271
    PeterPeter
    Moderator

    Hello,

    If you use the builder, you can go to the Settings tab of the field group > Advanced location rules > Hide if Post: select the blog page, to exclude the field group from showing on the blog page.
    Screenshot https://imgur.com/9d5xhg6

    Following the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.