Ir para conteúdo
Fórum Script Brasil

markk26

Membros
  • Total de itens

    1
  • Registro em

  • Última visita

Sobre markk26

markk26's Achievements

0

Reputação

  1. 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!
×
×
  • Criar Novo...