Suporte » Temas e templates » Ocultar título, imagem em destaque, mapa e título da página – Tema Basically

  • Olá!

    Gostaria de saber como faço para ocultar o título do site, a imagem em destaque, e o mapa (em que página está) e o título da página no Tema Basically. Gostaria de fazer isso nas páginas estáticas e na página inicial. Não utilizarei de posts nesse blog.
    Segue o código do header.php. É só que eu preciso alterar?

    ‘<?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <div id=”main”>
    *
    * @package basically
    * @since basically 1.0.0
    */
    $options = Basically_get_theme_options();
    basically_doctype() ?>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>

    <title><?php wp_title(‘|’, true, ‘right’); bloginfo(‘name’); ?></title>

    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>

    <?php wp_head(); ?>

    </head>

    <body <?php body_class(); ?>>

    <div id=”page” class=”hfeed site container”>

    <?php do_action( ‘basically_before’ ); ?>
    <header id=”masthead” class=”site-header” role=”banner”>

    <div id=”site-branding” class=”clearfix”>
    <?php
    $logo = isset($options[‘logo’])? $options[‘logo’]: ”;
    if ($logo == “”){
    $hidetitle = $options[‘hide_title’];
    if ($hidetitle == “No”) {

    if(!is_home() || !is_front_page()) { ?>
    <div class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>”><?php bloginfo(‘name’); ?></div>
    <div class=”site-description”><?php bloginfo(‘description’); ?></div>
    <?php } else { ?>
    <h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>”><?php bloginfo(‘name’); ?></h1>
    <div class=”site-description”><?php bloginfo(‘description’); ?></div>

    <?php } }
    } else {
    echo ‘<div class=”site-logo”>‘;
    echo ‘<img title=”‘. get_bloginfo(‘name’) .'” src=”‘ . $logo .'” />’;
    echo ‘
    </div>’;
    } ?>
    </div><!– end #site-branding –>

    <div id=”custom-header”>
    <?php $header_image = get_header_image();
    if ( ! empty( $header_image ) ) { ?>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
    <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”<?php bloginfo( ‘name’ ); ?>”>

    <?php } // end if ( ! empty( $header_image ) ) ?>
    </div> <!– end #custom-header –>

    </header><!– end #masthead .site-header –>

    <nav class=”site-navigation main-navigation clearfix” role=”navigation”>

    <?php wp_nav_menu( array(
    ‘container’ => ”,
    ‘menu_class’ => ‘nav fixed-18’,
    ‘theme_location’ => ‘primary’ )
    ); ?>

    <?php get_search_form(); ?>

    </nav><!– end .site-navigation .main-navigation –>

    <nav class=”site-navigation secondary-navigation” role=”navigation”>
    <?php if (has_nav_menu(‘secondary’))
    wp_nav_menu( array(
    ‘container’ => ”,
    ‘menu_class’ => ‘secondary-nav clearfix’,
    ‘theme_location’ => ‘secondary’ )
    ); ?>
    </nav><!– end .site-navigation .secondary-navigation –>

    <div id=”main” class=”clearfix”>

    <?php $customclass = (!is_attachment() && !is_page_template(‘full-width-page.php’))? ‘fixed-16′:’fixed-24’; ?>
    <div id=”content” class=”site-content <?php echo $customclass; ?>” role=”main”>

    <?php basically_do_breadrumbs(); ?>’

  • O tópico ‘Ocultar título, imagem em destaque, mapa e título da página – Tema Basically’ está fechado a novas respostas.