loading...

Posts Tagged ‘日志调用

昏天暗地折腾新的主题ING,发现query_posts()真是无比强大,记录一下~~

将query_posts()放在LOOP之前限定你所需要的条件,wp_query会产生一个新的使用你的参数的SQL查询,而忽视通过URL接收到的其它的参数,如果想不忽略,可以在调用中使用$query_string。

query_posts($query_string . "&order=ASC")

设置文章显示的顺序,但是不干扰其余的查询字符串,参数前须有“&”符号

其他还有N多用途~~

Read the rest of this entry »

25 Comments 7,952 views



Web Share

About Me

    Enjoy Work!&& Enjoy Life!

  • 年过半百的一半却只能通过绑定来实现社会化的不想宅却没有办法的挺宅的向往B型却只是O型的不会游泳所以只能沉沦腐海的爱K歌但还不到麦霸程度的现在貌似挺稀有的白羊挨踢代码女
  • 硬盘控、下载强迫症、HTC大脸人、伪谷粉
  • Money是好物!Wordpress是好物!Jquery是好物!

Latest Comments

  • Fisher Market Perspective: your business has suddenly gone.you can customize... it - you have complete contro
  • Ken Fisher: emotions and want to express your opinions... with the audience. people respond an
  • http://best-tire-deals.com: if you should be concerned about matching... the writing styles. should you be wor
  • my blog: it by incorporating relevant ads through advertising... networks like google adsen
  • http://best-tire-deals.com: i've noticed works really well for building... credibility and trust with your rea
  • Fisher Investments: you online. make sure to target at... least three keyword phases that can be used
  • visit their blog: english composition courses, or to test into... more advanced courses. these tests
  • Fisher Market Perspective: be able to provide insight as to... what other companies are doing.5. more freedom
  • read for yourself: ever being required to write a formal... paper complete with footnotes or in-text
  • Fisher Investments: and to the point. be clear and... concise in the articles you write. most people w

疼讯微博口水地

My Place

    Posts 98  Comments 1,783  
    Blog stared at 2008.10.21
    Blog open at 2008.11.21   Free Traffic Counter
ponytail1985@hotmail.com 358589691 ponie325@gmail.com Ajax CommentLuv Enabled 275ca7ef21959162b094a66262fa328f