Ir para conteúdo
Fórum Script Brasil
  • 0

Data da postagem


markk26

Pergunta

Olá pessoal , alguém poderia me ajudar a remover a função de data da postagem na homepage do meu site ?
O functions-meta.php do meu site é esse:
<?php
/**
* Add-on to functions.php file with functions that used for meta data.
*/
/**
* Prints meta data of post.
* Posted on by... and number of comments.
*
* We hide comments count when post is password protected or with closed comments.
*/
if ( ! function_exists('smr_meta_data') ) {
function smr_meta_data() {
?>
<div class="meta meta_top">
<span class="meta_posted">
<?php smr_posted_on(); ?>
</span>
<?php /* Check post for being password protected or with closed comments */ ?>
<?php if ( ! post_password_required() && comments_open() ): ?>
<span class="meta_comments">
<?php
comments_popup_link(
'<span>' . __( 'Deixe uma resposta', 'smr' ) . '</span>',
'<span>' . __( '1 Resposta', 'smr' ) . '</span>',
'<span>' . __( '% Respostas', 'smr' ) . '</span>'
);
?>
</span>
<?php endif; ?>
</div>
<?php
}
}
/**
* Display post meta data. Posted on by ...
*/
if ( ! function_exists( 'smr_posted_on' ) ) {
function smr_posted_on() {
printf( __( 'Postado %s', 'smr' ),
sprintf( '<a href="%s" title="%s" rel="bookmark"><span class="entry-date">%s</span></a>',
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( '<a href="%s">%s</a>',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
esc_attr( get_the_author() )
),
( 'smr-product' === get_post_type() ) ? smr_product_get_the_categories_list() : get_the_category_list( ', ' )
);
/* Display in which categories */
if ( 'smr-product' === get_post_type() )
$categories = smr_product_get_the_categories_list();
else {
$categories = get_the_category_list( ', ' );
}
if ( ! empty( $categories ) )
printf( __( ' em %s', 'smr' ), $categories );
if ( $tag_list = get_the_tag_list( '', ', ' ) )
printf( __( ' e tagged ', 'smr' ) . $tag_list );
}
}
Obrigado!
Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...