Title: grankan's Replies | WordPress.org

---

# grankan

  [  ](https://wordpress.org/support/users/grankan/)

 *   [Profile](https://wordpress.org/support/users/grankan/)
 *   [Topics Started](https://wordpress.org/support/users/grankan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/grankan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/grankan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/grankan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/grankan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/grankan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [No show paging links](https://wordpress.org/support/topic/no-show-paging-links/)
 *  Thread Starter [grankan](https://wordpress.org/support/users/grankan/)
 * (@grankan)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/no-show-paging-links/#post-666550)
 * And if I use a custom query like this:
    $querystr =” SELECT $wpdb->posts.* FROM
   $wpdb->posts LEFT JOIN $wpdb->postmeta ON ($wpdb->posts.ID = $wpdb->postmeta.
   post_id) WHERE $wpdb->posts.post_status = ‘publish’ AND $wpdb->postmeta.meta_key
   = ‘isla’ AND $wpdb->postmeta.meta_value = ‘1’ AND $wpdb->posts.post_type = ‘post’
   ORDER BY $wpdb->posts.post_date DESC”; $pageposts = $wpdb->get_results($querystr,
   OBJECT);
 * Can i use a next_posts and previous_posts functions??
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Loop in a template page](https://wordpress.org/support/topic/loop-in-a-template-page/)
 *  Thread Starter [grankan](https://wordpress.org/support/users/grankan/)
 * (@grankan)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/loop-in-a-template-page/#post-637048)
 * Ok…
 * Inserting:
    <?php query_posts($query); ?>
 * Works correctly…
 * But im trying display only specific post. The post ids are in a string (1,2,3,4,
   etc…) where numbers are posts ids.
 * $post_ids = array(1,2,3,4);
    <?php query_posts(“p=$post_ids”); ?>
 * Only display the first post id…
 * Any idea…
 * Thanks…
 * Sorry but my english!!!
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Loop in a template page](https://wordpress.org/support/topic/loop-in-a-template-page/)
 *  Thread Starter [grankan](https://wordpress.org/support/users/grankan/)
 * (@grankan)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/loop-in-a-template-page/#post-636983)
 * I have readed “Archives with Content”,
 * [http://codex.wordpress.org/Pages#Archives_with_Content](http://codex.wordpress.org/Pages#Archives_with_Content)
 * it’s exactly to my page… but don’t work…
 * The post are the same that the index page..

Viewing 3 replies - 1 through 3 (of 3 total)