Quitar enlace del titulo del post

  • Autor Autor LexTeckGames
  • Fecha de inicio Fecha de inicio
Pues si es wp y es un post editas single.php y quitas lo referente a "<a ....></a>" dejando el interior que será "<h1>title</h1> igual

saludos
 
Pues si es wp y es un post editas single.php y quitas lo referente a "<a ....></a>" dejando el interior que será "<h1>title</h1> igual

saludos

Hola, la verdad entiendo muy poco, te paso el codigo del single haber si me puedes decir como dejarlo.

Gracias.

HTML:
<?php 
/**
** LexteckGamesSINGLE PAGE TEMPLATE
**/
get_header(); ?>
	<section class="span12">
	<div class="row">
	<?php if ( get_theme_option('ktz_sb_layout') == 'left' ) : get_sidebar(); endif; ?>
	<?php //get_sidebar('left'); ?>
	
		<div role="main" class="span9 pull-left">
		<section class="new-content">
		<img src="<?php echo get_first_image() ?>" width="1" height="1"  />
		
		<?php while ( have_posts() ) : the_post(); ?>
			<?php get_template_part( 'content', 'single' ); ?>
			<?php endwhile; // end of the loop. ?>
		</section>
		<div class="wrapcomment">
		<?php if ( get_theme_option('ktz_def_com_activated') != '' ) : 
		echo comments_number(__('',ktz_theme_textdomain), __('<h3 class="widget-title"><span>One Response</span></h3>',ktz_theme_textdomain), __('<h3 class="widget-title"><span>% Responses</span></h3>',ktz_theme_textdomain) );
		endif; ?>
		<?php hook_ktz_after_single_content(); ?>
		</div>
		</div>
		
		
	<?php if ( get_theme_option('ktz_sb_layout') == 'right' ) : get_sidebar(); endif; ?>
	</div>
	</section>
<?php get_footer(); ?>
 
Pos en tu codigo no hay nada de title jajaja así que te toca buscar en single.php en content.php
 
como te han dicho content.php
 
Pos en tu codigo no hay nada de title jajaja así que te toca buscar en single.php en content.php

No encontre algo muy persuasivo para mi.

HTML:
<?php
/**
** LexteckGamesDEFAULD POST TEMPLATE
**/
?>
<div class="boxer ktz-shadow">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="<?php if ( is_search() ) : echo 'entry-search'; else : echo 'entry-body'; endif; ?>">
			<div class="image-date ktz-transition">
			<?php hook_ktz_before_firstcontent(); ?>
			</div>			
			<div class="box-title">
			<?php hook_ktz_content_title_h3(); ?>
			</div>	
			<div class="box-meta">
			<?php hook_ktz_content_meta(); ?>
			<?php echo ktz_getPostViews(get_the_ID()); ?>
			<?php //hook_posted_rating_not_snippet(); ?>
			</div>	
	</div>
</article><!-- #post-<?php the_ID(); ?> -->
</div>
 
No encontre algo muy persuasivo para mi.

HTML:
<?php
/**
** LexteckGamesDEFAULD POST TEMPLATE
**/
?>
<div class="boxer ktz-shadow">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="<?php if ( is_search() ) : echo 'entry-search'; else : echo 'entry-body'; endif; ?>">
			<div class="image-date ktz-transition">
			<?php hook_ktz_before_firstcontent(); ?>
			</div>			
			<div class="box-title">
			<?php hook_ktz_content_title_h3(); ?>
			</div>	
			<div class="box-meta">
			<?php hook_ktz_content_meta(); ?>
			<?php echo ktz_getPostViews(get_the_ID()); ?>
			<?php //hook_posted_rating_not_snippet(); ?>
			</div>	
	</div>
</article><!-- #post-<?php the_ID(); ?> -->
</div>
usa una funcion aparte: <?php hook_ktz_content_title_h3(); ?>
 
Atrás
Arriba