[wp-trac] Re: [WordPress Trac] #4162: query_posts('p=<id>') = always a full post

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 00:53:39 GMT 2007


#4162: query_posts('p=<id>') = always a full post
-----------------------+----------------------------------------------------
 Reporter:  devil1591  |        Owner:  anonymous
     Type:  defect     |       Status:  closed   
 Priority:  high       |    Milestone:           
Component:  General    |      Version:  2.2      
 Severity:  blocker    |   Resolution:  invalid  
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by johnbillion):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.2 =>

Comment:

 The code
 {{{
 query_posts('p=1');
 }}}
 on its own displays nothing, you need to use it in conjunction with other
 code which can determine whether the whole post or just the excerpt is
 displayed. See the [http://codex.wordpress.org/Template_Tags/query_posts
 query_posts page on Codex] for more information.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4162#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list