Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2010
    Posts
    149
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Wordpress : $query->have_pages ?

    I want to check and get all pages like post

    $query->have_posts()
    $query->the_post()

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    Clarify where you are using the WordPress Codex.

    Is this something you want to use on other "external" pages outside of WordPress,
    or is this something you are doing within the theme files?

    And one other question....
    Why would you be asking a question like this when you have web development links in your sig?
    http://www.justwebdevelopment.com/bl...ory/wordpress/

    Why don't you ask the person who owns the site? You're advertising their site in your signature!
    They seem to be web developers with WordPress solutions ? Very strange indeed.



    .
    Last edited by mlseim; 03-05-2012 at 07:05 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •