Nao consigo remover o nome da pagina
-
Olá, gostaria de saber como faço para tirar o nome da página do topo da página. Por exemplo, na página de artigos que eu coloquei o título de Notícias aparece o nome “BLOG” no cabeçalho. A página inicial aparece HOME…
Já tentei procurar o comando <?php title(); ?> na page.php, mas não encontrei nada.
-
Boa noite pessoal tbm estou com o mesmo problema eu excluo o <?php title(); ?> mas não adianta meu arquivo é esse:
<article <?php hybrid_attr( ‘post’ ); ?>>
<meta itemprop=”inLanguage” content=”<?php echo get_bloginfo(‘language’); ?>”/>
<?php if ( is_page() ) : // Se estiver vendo uma pagina. ?>
<header class=”entry-header”>
<h1 <?php hybrid_attr( ‘entry-title’ ); ?>><?php single_post_title(); ?></h1>
<?php $show_featured = get_post_meta( get_the_ID(), ‘epico-show-featured’, TRUE ); ?>
<?php if ( ‘on’ === $show_featured ) { // Se o meta box da area de artigos tiver o valor configurado para
ligado
?><?php the_post_thumbnail(); ?>
<?php } ?>
<?php include( locate_template( ‘/inc/social-buttons.php’ ) ); // Adiciona codigo para botoes sociais. ?>
</header><!– .entry-header –>
<div <?php hybrid_attr( ‘entry-content’ ); ?>>
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div><!– .entry-content –>
<footer class=”entry-footer”>
<?php edit_post_link(); ?>
</footer><!– .entry-footer –>
<?php else : // Se estiver vendo uma listagem de paginas. ?>
<?php if ( has_post_thumbnail() ) : ?>
” title=”<?php the_title() ?>”>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id(), ‘epico-tiny’ );
$alt_text = get_the_title();
echo ‘<img itemprop=”contentURL” src=”‘ . esc_url( $image[0] ) . ‘” alt=”‘ . esc_attr( $alt_text ) .'” />’; ?>
<?php else : ?>
” title=”<?php the_title() ?>”>
<?php endif ?>
<?php $compactloop = get_theme_mod( ‘epico_compact_loop’, 1 ); ?>
<?php if ( 0 == $compactloop ) : // Se a listagem compacta NAO estiver ativada. ?>
<div class=”entry-byline”>
<span <?php hybrid_attr( ‘entry-author’ ); ?>><span itemprop=”name”><?php is_multi_author() ? the_author_posts_link() : the_author(); ?></span></span>
<meta itemprop=”datePublished” content=”<?php echo get_the_time( ‘Y-m-d\TH:i:sP’ ); ?>” />
<?php hybrid_post_terms( array( ‘taxonomy’ => ‘category’, ‘text’ => __( ‘%s’, ‘epico’ ) ) ); ?>
<?php if( post_type_supports( get_post_type(), ‘comments’ ) ) : // Se o tipo de post suporta comentarios ?>
<?php if( comments_open() ) : // Se os comentarios estiverem abertos ?>
<span <?php hybrid_attr( ‘comments-link-wrap’ ); ?>><?php comments_popup_link( __( ‘Comment’, ‘epico’ ), __( ‘1 comment’, ‘epico’ ), __( ‘% comments’, ‘epico’ ) , ‘comments-link’, ” ); ?></span>
<?php endif; // Finaliza chegagem por comentarios abertos. ?>
<?php endif; // Finaliza chegagem por suporte a comentarios. ?>
</div><!– .entry-byline –>
<header class=”entry-header”>
<?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>
</header><!– .entry-header –>
<div <?php hybrid_attr( ‘entry-summary’ ); ?>>
<?php the_excerpt(); ?>
</div><!– .entry-summary –>
<?php else : // Se a listagem compacta estiver ativada. ?>
<div class=”entry-byline”>
<span <?php hybrid_attr( ‘entry-author’ ); ?>><span itemprop=”name”><?php is_multi_author() ? the_author_posts_link() : the_author(); ?></span></span>
<meta itemprop=”datePublished” content=”<?php echo get_the_time( ‘Y-m-d\TH:i:sP’ ); ?>” />
<span <?php hybrid_attr( ‘comments-link-wrap’ ); ?>><?php comments_popup_link( ”, __( ‘1’, ‘epico’ ), __( ‘%’, ‘epico’ ) , ‘comments-link’, ” ); ?></span>
</div><!– .entry-byline –>
<header class=”entry-header”>
<?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>
</header><!– .entry-header –>
<div <?php hybrid_attr( ‘entry-summary’ ); ?>>
<?php the_excerpt( ); ?>
</div><!– .entry-summary –>
<?php endif; // Finaliza checagem por ativacao da listagem compacta. ?>
<?php endif; // Finaliza chegagem por posts unicos. ?>
<?php if ( ! is_page_template( ‘page-landing.php’ ) ) { // Checar se NAO e template de pagina zen ?>
<?php include( locate_template( ‘/inc/zen-mode.php’ ) ); // Adiciona codigo do modo Zen. ?>
<?php } ?>
</article><!– .entry –>
Ninguém consegue ajudar? Estou com a mesma dificuldade.
Eu sei que se mudar o modelo de página para Full Width ou front page resolve. Mas teria outra forma de fazer isso?
Pois desta maneira, minha sidebar também some.
- O tópico ‘Nao consigo remover o nome da pagina’ está fechado para novas respostas.