Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/12/2012, 14:30
mej0123
 
Fecha de Ingreso: diciembre-2012
Mensajes: 5
Antigüedad: 11 años, 4 meses
Puntos: 0
Respuesta: Eliminar la imagen destacada del contenido del post

Cita:
Iniciado por Nekko Ver Mensaje
Buscá en la plantilla single.php si tenés en algún lado la función the_post_thumbnail
Hola,
No lo veo por ningún lado,

En single.php tengo esto:

Código PHP:
Ver original
  1. <?php  get_header(); ?>
  2.  
  3.  
  4.  
  5.  
  6. <div id="main_body_wrap">
  7.  
  8. <?php if ( have_posts() ) while ( have_posts() ) : the_post();   ?>
  9.  
  10.     <div id="main_body">
  11.    
  12.  
  13.         <div id="page_intro">
  14.             <h1><?php the_title(); ?></h1>
  15.             <div id="page_description"><?php echo get_meta_option('page_description'); ?></div>
  16.            
  17.         </div>
  18.        
  19.        
  20.        
  21.         <div id="main_content">
  22.                    
  23.             <div id="primary">
  24.                            
  25.                 <?php get_template_part( 'content', get_post_format() ); ?>
  26.                
  27.             </div>
  28.  
  29.             <div id="secondary">
  30.  
  31.                 <?php tf_get_sidebar(); ?> 
  32.  
  33.             </div>
  34.  
  35.                
  36.  
  37.         </div>
  38.        
  39.         <div class="clearboth"></div>
  40.         <p><?php edit_post_link(__( 'Edit this Post', 'nevo' ),'',''); ?></p>
  41.         <?php if(get_theme_option('about_author')==1) tf_about_the_author(); ?>
  42.         <?php comments_template( '', true ); ?>
  43.        
  44.        
  45.         <?php  get_footer(); ?>
  46.  
  47.        
  48.     </div>
  49.    
  50. <?php endwhile; ?>
  51.  
  52.  
  53.  
  54. </div>
y en single-portfolio.php tengo esto:

Código PHP:
Ver original
  1. <?php  get_header(); ?>
  2.  
  3.  
  4. <div id="open_btn"></div>
  5.  
  6. <div id="main_body_wrap">
  7.  
  8. <?php if ( have_posts() ) while ( have_posts() ) : the_post();   ?>
  9.  
  10.     <div id="main_body">
  11.    
  12.  
  13.         <div id="page_intro">
  14.             <h1><?php the_title(); ?></h1>
  15.             <div id="page_description"><?php echo get_meta_option('page_description'); ?></div>
  16.         </div>
  17.        
  18.         <?php $layout=get_meta_option('display_sidebar');  ?>
  19.        
  20.         <div id="main_content">
  21.                    
  22.                 <?php if($layout==1): ?>
  23.  
  24.                     <div id="primary">
  25.  
  26.                 <?php endif; ?>
  27.                            
  28.                 <?php get_template_part( 'content' ); ?>
  29.                
  30.             <?php if($layout==1): ?>
  31.             </div>
  32.  
  33.             <div id="secondary">
  34.  
  35.             <?php tf_get_sidebar(); ?> 
  36.  
  37.             </div>
  38.             <?php endif; ?>
  39.  
  40.         </div>
  41.        
  42.        
  43.          
  44.            
  45.  
  46.        
  47.        
  48.         <div class="clearboth"></div>
  49.         <p><?php edit_post_link(__( 'Edit this Post', 'nevo' ),'',''); ?></p>
  50.        
  51.        
  52.         <?php  get_footer(); ?>
  53.  
  54.        
  55.     </div>
  56.    
  57. <?php endwhile; ?>
  58.  
  59.  
  60.  
  61. </div>

Última edición por Nekko; 14/12/2012 a las 09:31