custom wpquery begin


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php $my_query = new WP_Query('page_id=19&showposts=1');
  2. while ($my_query->have_posts()) : $my_query->the_post();?>

Report this snippet


Comments


You need to login to view comments.