Eliminar autor, fecha y comentarios en páginas y entradas de WP

  • Autor Autor marbru
  • Fecha de inicio Fecha de inicio
M

marbru

Alfa
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola, quiero quitar el nombre de autor, la fecha y la cantidad de comentarios de cada post y página de mi WP. La fecha ya logré quitarla mediante un plugin, pero no he podido con el autor.

He visto en otros temas abiertos que hay que quitar algún código de index.php y single.php, pero no me doy cuenta qué eliminar en el theme que estoy usando (zAlive).

Acá les paso todo el código que figura en indiex.php, por si alguien me puede decir qué es lo que debo eliminar o modificar en este caso:

<?php
/**
* The main template file.
*/
global $zAlive_options;
get_header(); ?>
<?php if( ! ( is_front_page() && $zAlive_options['hide_posts_and_primary_sidebar'] == true ) ) : ?>
<?php //show sidebar on the left
if( $zAlive_options['primary_sidebar_layout'] == 2 ) { get_sidebar(); }
?>
<div id="main">
<?php if( $zAlive_options['breadcrumb_enabled'] == true ) {zAlive_breadcrumb();} ?>
<?php if ( have_posts() ) : ?>
<ul class="articles clearfix">
<?php
/* Start the Loop */
while ( have_posts() ) : the_post();
printf('<li id="post-%2$s" class="article %1$s"> ',implode(' ', get_post_class()), get_the_ID() );
get_template_part( 'template/content', 'brief' );
echo '</li>';
wp_reset_postdata();
endwhile;
?>
</ul>
<?php else : ?>
<?php get_template_part( 'template/content', 'none' ); ?>
<?php endif; ?>
<?php if ( function_exists('wp_pagenavi') ) : ?>
<?php wp_pagenavi(); ?>
<?php else : ?>
<div class="list-pager clearfix">
<?php previous_posts_link( __( 'Previous Page', 'zAlive' ) ); ?>
<?php next_posts_link( __( 'Next Page', 'zAlive' ) ); ?>
</div>

<?php endif; ?>
</div>
<?php //show sidebar on the right
if( $zAlive_options['primary_sidebar_layout'] == 1 ) { get_sidebar(); }
?>
<?php endif; ?>
<?php get_footer(); ?>
 
Si pusieras cual es tu theme seria mas facil ayudarte -.-
 
Hola isaacmartinez, ya dije cual es el theme que estoy utilizando: zAlive

---------- Post agregado el 21-oct-2013 hora: 15:16 ----------

Ya lo resolví! Gracias!!!
 
Hola. Busca el siguiente div y bórralo:

<div class="entry-meta entry-meta-primary clearfix">
<span class="info-date info-icon entry-date date updated">September 5, 2008</span>
<span class="info-author info-icon visible-desktop vcard author"><cite class="fn">Author: Theme Admin</cite></span>
<div class="pull-right">
<span class="info-comment info-icon visible-desktop">
<span class="comments-link">Comments Off</span> </span>
</div>
</div>


Deberías tenerlo en single.php y en el index.php
Por las dudas guarda copia antes de borrar, ya que si te falla algo puedes recuperar el original.
Yo lo probé y se quitó sin problemas.

Espero te sirva :encouragement:
 
Atrás
Arriba