i would like to use wp as a cms for a client. thus i would like to show with other posts some information of pages on the frontpage.
for that i will need the query for page titles and maybe the content as well so the client would not have to go into the code.
for posts it is like:
<?php $my_query = new WP_Query('cat=17,18,19&showposts=5'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID;?>
but how to use queries for PAGES?
- The topic ‘Query for page title / text’ is closed to new replies.