Como quitar el author de las entradas

  • Autor Autor karlosmalaga
  • Fecha de inicio Fecha de inicio
K

karlosmalaga

Beta
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola agradecería me ayudarais , estoy tratando de encontrar info de como quitar el autor pero no encuentro nada adecuado.

me diría alguien cual es la forma mas adecuada del quítalo en las entradas.

gracias de antemano

- - - Actualizado - - -

creo que este no la sección adecuada , podeis moverlo por favor y pido disculpas por la molestia.
 
¿Qué theme usas?
 
y porque lo ponen en tutoriales ? xD
 
Creo que no va en tutoriales:topsy_turvy::encouragement:
 
Suerte con la busqueda , pero no creo que esto vaya aqui
 
¿Qué theme usas?

hola uso el thema point de mythemeshop

- - - Actualizado - - -

Suerte con la busqueda , pero no creo que esto vaya aqui

se que no es aqui , pero no puedo moverlo yo mismo o no se como hacerlo,
por eso pedi disculpas y pedi que alguien lo moviera la sitio correcto.

- - - Actualizado - - -

bueno ahora que esta en el sitio adecuado (doy gracias a quien corresponda),

podría alguien aportar algo y darme una pista plsss , que san google no me ayuda mucho.
 
Prueba poner #post-autor{display:none;} en la hoja de estilo del theme. Saludos
 
Pega aquí el código de tu single.php para ver que código debes eliminar. Aunque por otra parte, desde el panel de opciones de tu theme debería poder ocultarse el author box, fíjate primero si encuentras la opción.
 
Pega aquí el código de tu single.php para ver que código debes eliminar. Aunque por otra parte, desde el panel de opciones de tu theme debería poder ocultarse el author box, fíjate primero si encuentras la opción.


el tema solo me da la opción de poner información adicional del autor , es decir la casilla con la foto , webs y cosas asi, pero si le digo que no , deja el nombre igualmente pero sin casilla de información.


gracias por tu ayuda




Insertar CODE, HTML o PHP:
<?php get_header(); ?>
<?php $mts_options = get_option('point'); ?>
<div id="page" class="single">
	<div class="content">
		<!-- Start Article -->
		<article class="article">		
			<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
				<div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
					<div class="single_post">
						<header>
							<!-- Start Title -->
							<h1 class="title single-title"><?php the_title(); ?></h1>
							<!-- End Title -->
							<!-- Start Post Meta -->
							<div class="post-info"><span class="theauthor"><?php the_author_posts_link(); ?></span> | <span class="thetime"><?php the_time( get_option( 'date_format' ) ); ?></span> | <span class="thecategory"><?php the_category(', ') ?></span> | <span class="thecomment"><a href="<?php comments_link(); ?>"><?php comments_number();?></a></span></div>
							<!-- End Post Meta -->
						</header>
						<!-- Start Content -->
						<div class="post-single-content box mark-links">
							<?php if ($mts_options['mts_posttop_adcode'] != '') { ?>
								<?php $toptime = $mts_options['mts_posttop_adcode_time']; if (strcmp( date("Y-m-d", strtotime( "-$toptime day")), get_the_time("Y-m-d") ) >= 0) { ?>
									<div class="topad">
										<?php echo $mts_options['mts_posttop_adcode']; ?>
									</div>
								<?php } ?>
							<?php } ?>
							<?php the_content(); ?>
							<?php wp_link_pages(array('before' => '<div class="pagination">', 'after' => '</div>', 'link_before'  => '<span class="current"><span class="currenttext">', 'link_after' => '</span></span>', 'next_or_number' => 'next_and_number', 'nextpagelink' => __('Next','mythemeshop'), 'previouspagelink' => __('Previous','mythemeshop'), 'pagelink' => '%','echo' => 1 )); ?>
							<?php if ($mts_options['mts_postend_adcode'] != '') { ?>
								<?php $endtime = $mts_options['mts_postend_adcode_time']; if (strcmp( date("Y-m-d", strtotime( "-$endtime day")), get_the_time("Y-m-d") ) >= 0) { ?>
									<div class="bottomad">
										<?php echo $mts_options['mts_postend_adcode'];?>
									</div>
								<?php } ?>
							<?php } ?> 
							<?php if($mts_options['mts_tags'] == '1') { ?>
								<!-- Start Tags -->
								<div class="tags"><?php the_tags('<span class="tagtext">'.__('Tags','mythemeshop').':</span>',', ') ?></div>
								<!-- End Tags -->
							<?php } ?>
						</div>
						<!-- End Content -->
						<?php if($mts_options['mts_related_posts'] == '1') { ?>	
							<!-- Start Related Posts -->
							<?php $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id; $args=array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'ignore_sticky_posts' => 1, 'showposts'=>4,'orderby' => 'rand' );
							$my_query = new wp_query( $args ); if( $my_query->have_posts() ) {
								echo '<div class="related-posts"><h3>'.__('Related Posts','mythemeshop').'</h3><div class="postauthor-top"><ul>';
								$pexcerpt=1; $j = 0; $counter = 0; while( $my_query->have_posts() ) { ++$counter; if($counter == 4) { $postclass = 'last'; $counter = 0; } else { $postclass = ''; } $my_query->the_post();?>
								<li class="<?php echo $postclass; ?> rpexcerpt<?php echo $pexcerpt ?> <?php echo (++$j % 2 == 0) ? 'last' : ''; ?>">
									<a rel="nofollow" class="relatedthumb" href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title(); ?>">
										<span class="rthumb">
											<?php if(has_post_thumbnail()): ?>
												<?php the_post_thumbnail('widgetthumb', 'title='); ?>
											<?php else: ?>
												<img src="<?php echo get_template_directory_uri(); ?>/images/smallthumb.png" alt="<?php the_title(); ?>" class="wp-post-image" />
											<?php endif; ?>
										</span>
										<span>
											<?php the_title(); ?>
										</span>
									</a>
									<div class="meta">
										<a href="<?php comments_link(); ?>" rel="nofollow"><?php comments_number();?></a> | <span class="thetime"><?php the_time('M j, Y'); ?></span>
									</div> <!--end .entry-meta-->
								</li>
								<?php $pexcerpt++;?>
								<?php } echo '</ul></div></div>'; }} wp_reset_query(); ?>
							<!-- End Related Posts -->
						<?php }?>  
						<?php if($mts_options['mts_author_box'] == '1') { ?>
							<!-- Start Author Box -->
							<div class="postauthor-container">
								<h4><?php _e('About The Author', 'mythemeshop'); ?></h4>
								<div class="postauthor">
									<?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '100' );  } ?>
									<h5><?php the_author_meta( 'nickname' ); ?></h5>
									<p><?php the_author_meta('description') ?></p>
								</div>
							</div>
							<!-- End Author Box -->
						<?php }?>  
					</div>
				</div>
				<?php comments_template( '', true ); ?>
			<?php endwhile; ?>
		</article>
		<!-- End Article -->
		<!-- Start Sidebar -->
		<?php get_sidebar(); ?>
		<!-- End Sidebar -->
		<?php get_footer(); ?>
 
Última edición:
[MENTION=113927]karlosmalaga[/MENTION] , es raro que no puedas desactivarlo porque en el codigo hay un condicional para eso. De todos modos, para retirarlo completamente deberas quitar esto del single:

Insertar CODE, HTML o PHP:
<?php if($mts_options['mts_author_box'] == '1') { ?>
<!-- Start Author Box -->
<div class="postauthor-container">
<h4><?php _e('About The Author', 'mythemeshop'); ?></h4>
<div class="postauthor">
<?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '100' ); } ?>
<h5><?php the_author_meta( 'nickname' ); ?></h5>
<p><?php the_author_meta('description') ?></p>
</div>
</div>
<!-- End Author Box -->
<?php }?>

Saludos
 
[MENTION=113927]karlosmalaga[/MENTION] , es raro que no puedas desactivarlo porque en el codigo hay un condicional para eso. De todos modos, para retirarlo completamente deberas quitar esto del single:

Insertar CODE, HTML o PHP:
<?php if($mts_options['mts_author_box'] == '1') { ?>
<!-- Start Author Box -->
<div class="postauthor-container">
<h4><?php _e('About The Author', 'mythemeshop'); ?></h4>
<div class="postauthor">
<?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '100' ); } ?>
<h5><?php the_author_meta( 'nickname' ); ?></h5>
<p><?php the_author_meta('description') ?></p>
</div>
</div>
<!-- End Author Box -->
<?php }?>

Saludos

hola , nada todo sigue igual , sigue apareciendo el autor en las entradas
 
Prueba con otro navegador o borra la caché con ccleanner

nada igual . limpie cache y navegue con chrome modo incognito y todo igual, se es que no se porque no hay manera
 
Voy a probar con la plantilla y te digo algo

- - - Actualizado - - -

Lo he encontrado, busca en single.php esta linea:
Insertar CODE, HTML o PHP:
[COLOR=#0000ff][B]<span class="theauthor"><?php the_author_posts_link(); ?></span> |[/B][/COLOR]
y borrala, pero antes hagate una copia del archivo. A mi me funciona, te paso la URL para que lo veas.

Saludos
 
Última edición:
Voy a probar con la plantilla y te digo algo

- - - Actualizado - - -

Lo he encontrado, busca en single.php esta linea:
Insertar CODE, HTML o PHP:
[COLOR=#0000ff][B]<span class="theauthor"><?php the_author_posts_link(); ?></span> |[/B][/COLOR]
y borrala, pero antes hagate una copia del archivo. A mi me funciona, te paso la URL para que lo veas.

Saludos

te conteste por privado
 
te conteste por privado

Lo mismo; busca esta linea
Insertar CODE, HTML o PHP:
 <span class="theauthor"><?php the_author_posts_link(); ?></span> |
en index.php, search.php y archive.php, borras la linea y listo.

Saludos
 
Lo mismo; busca esta linea
Insertar CODE, HTML o PHP:
 <span class="theauthor"><?php the_author_posts_link(); ?></span> |
en index.php, search.php y archive.php, borras la linea y listo.

Saludos

no hay manera , le enviare un mail a los creadores del tema , haber si me lo dicen,

gracias por toda tu ayuda
 
no hay manera , le enviare un mail a los creadores del tema , haber si me lo dicen,

gracias por toda tu ayuda
Mira el ejemplo que te he enviado por privado, a mi me funciona.
 
hola uso el thema point de mythemeshop

- - - Actualizado - - -

facil, ve a EDITOR, luego en "Single.php" encuentra esta tira de codigos y borrala.
PHP:
<div class="post-info"><span class="theauthor"><?php the_author_posts_link(); ?>

finalmente "Actualizar" y ya no tendras el nombre del autor :encouragement:
 
hola uso el thema point de mythemeshop

- - - Actualizado - - -

facil, ve a EDITOR, luego en "Single.php" encuentra esta tira de codigos y borrala.
PHP:
<div class="post-info"><span class="theauthor"><?php the_author_posts_link(); ?>



finalmente "Actualizar" y ya no tendras el nombre del autor :encouragement:

lo he probado y tampoco , sigue el author

gracias por la ayuda
 
Atrás
Arriba