• Hey,

    As the title says I wanted to hide meta boxes, but only for “Pages”. I tried to do this via admin panel but failed to find “Pages” options. Do you have any suggestions how can I do that?

    Cheers
    sprajt

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi sprajt,
    Can you provide URL of your website, so we can see and try to help?
    Thanks
    Cheers
    TR

    Thread Starter sprajt

    (@sprajt)

    Well, it is still on my localhost since I would like to prepare/customize website as best as I can before publishing it.

    Obviously it is not a crucial issue, and I can come back here when the website will be published, but I hope there is a solution in the current state.

    Cheers
    sprajt

    Theme Author TT Themes

    (@tomastoman)

    Hi sprajt,

    if possible, please post here a screenshot of the “meta boxes” that you would like to hide. The meta boxes with publish date, author’s name, category and tags are displayed only on posts, not on pages. Those meta boxes can be hidden through “Appearance > Customize > ShootingStar Posts Settings > Display Meta Box on single posts”.

    Best regards,
    Tomas Toman

    Hey folk,
    Just find your desired metabox to be disappeared on your desired page templates by opening your customized/child theme’s page templates with your text editor/IDE then find those metaboxes you may also use firebug/any browsers inspector find them and just redecorate this function as per that metabox object you want to disappear.
    <?php remove_meta_box( $id, $page, $context ); ?>
    Read this to know more.
    Thanks

    Thread Starter sprajt

    (@sprajt)

    Hey guys,

    well I think I misspelled the title. I want to hide the location of the specific page for example: “Website > Contact”, which I think it is the breadcrumb-navigation class. Currently I also consider hiding the whole headline for some pages like Contact. Sorry for the confusion guys.

    Theme Author TT Themes

    (@tomastoman)

    Hi sprajt,

    to hide the page title on some specific pages, you can use the custom page template called “Page without Title”. When you are editing a page, you can select the template in the right side panel “Page Attributes”.

    To hide the breadcrumb navigation on all pages, you can use this custom CSS:

    .page .breadcrumb-navigation {display: none;}

    Or you can create your own page template by duplicating the original “page.php”. Then just delete the following code that outputs the breadcrumb navigation:

    <?php shootingstar_get_breadcrumb(); ?>

    Best regards,
    Tomas Toman

    Thread Starter sprajt

    (@sprajt)

    Thanks Tomas, I just deleted the <?php shootingstar_get_breadcrumb(); ?> from “page.php” because I think that it is not necessary for my pages. Appreciate all the answers guys!

    Cheers
    sprajt

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to hide meta box from pages?’ is closed to new replies.