Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/07/2011, 12:03
juanmanuel19686
 
Fecha de Ingreso: septiembre-2010
Ubicación: Corrientes - Argentina
Mensajes: 37
Antigüedad: 13 años, 8 meses
Puntos: 2
Respuesta: Duda de novato respecto a los if

Prueba de esta manera no se si funcionará no entiendo mucho lo que escribiste y tampoco soy muy conocedor... saludo.


Código PHP:
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) )  { 
the_post_thumbnail(array( 150,150 ), array( 'class' => 'alignleft3' )); 
?>
<div><?php the_content('[Leer más]'); ?></div>
<?php
}else{
?>
<div style="margin-left:160px;"><?php the_content('[Leer más]'); ?></div>
<?php ?>
__________________
Si esta vida te da la espalda, siempre puede tocarle el c...