WP - #1 Plugin WordPress Blogs
MaxBlogPress  

 

����� Wordpress #1 - query_posts | ���� Blogging JTPRATT
���� Blogging JTPratt





» Wordpress #1 - query_posts


 
 
 

:

������ ���������� blog-��������� wordpress ������ ����������
1.077


: .

.

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


- 30 Wordpress 30 !

Wordpress - ! . crap Wordpress blog . Wordpress ! humongous . ' . , Wordpress .

Wordpress #1 - query_posts

- Wordpress 30 «-» Wordpress « » query_posts. query_posts Wordpress . « ». « » , wordpress . « », index.php, category.php, archive.php, tag.php, search.php .

. . «» , «Manage->Categories», «- 1 ID#

<;  
query_posts («cat=-1») 
; >

multple

<;  
      query_posts («cat=-1, - 2, - 3») 
; >

( ) ( , )

<;  
query_posts («p=1»)     //using
query_posts («name=first-post»)     //using
; >

<;  
query_posts («page_id=7»)   7  //retrieves 
query_posts («pagename=about»)  //retrieves    
; >

. ( ) « » . especialy ot .

<;  
query_posts («p=5»)    //get    5
 $more 
$more = 0      //gets    
; >

, « » ths. «», . - , - - ( ).

<;  
query_posts («pagename=parent/child») 
; >

blog retrive

<;  
query_posts («author_name=John») 
query_posts («author=3») 
; >


sitemap. , . , «- 1 1 , 5, 10, .

<;  
query_posts («posts_per_page=-1») 
; >


Wordpress blog . ' . .

<;  
query_posts («orderby=author») 
query_posts («orderby=title») 
; >

«orderby»

* orderby=author
* orderby=date
* orderby=category
* orderby=title
*
* orderby=menu_order
* orderby=parent
* orderby=ID
* orderby=rand

consruct .

<;  
query_posts («day=15»)    //all  15$
; >

<;   $current_month =  («»)  ; >
<;   $current_year =  («»)  ; >

<;   query_posts («cat=22&year=$current_year&monthnum=$current_month&order=ASC»)  ; >


( ). , , . . .

<;  
query_posts («tag=cooking») 
query_posts («tag=bread, ») 
query_posts («tag=bread+baking+recipe») 
; >

Wordpress « » blog . query_posts , !


: , ,

5 «Wordpress #1 - query_posts»

  1. Wilson

    .
    , .

    blog Wilson . â⠂ ¬Å “ nicheâ⠂ ¬Â 

  2. Blogging

    , .

  3. Erika Has

    wordpress newbie ( WP ) doin! blog , !

  4. admin

    @Erika - ! , =

  5. : , WP, |

    [...] - query_posts WordPress - 30 wordpress 30 , [...]

;;

���� ��� �� ���� ���� ��� �� ������!

!


Dofollow , blog byline «CommentLuv» plugin! widget URL ! ! , blog!
 

 


smilies ! = = [] ^= ( = (( = (| =) � =|8 =0 =) ~ =00 = ( =  =)] =