Ver Mensaje Individual
  #33 (permalink)  
Antiguo 19/11/2010, 12:24
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Respuesta: post en mi index....



en prueba.php solo tengo:

Código PHP:
Ver original
  1. <?php
  2. require_once 'wp-load.php';
  3. $var = get_posts('numberposts=3&cat=4');
  4. foreach($var as $post)
  5.     echo '<h3><a href="'. the_pemalink() .'">'. the_title() .'</a></h3><p>'. the_content() .'</p>';
  6. ?>

solo eso. ¿porque me cueta tanto php!!!!!!!!?
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho