WordPress.org

Support

Support » Installation » query_posts tag in wp static pages?

query_posts tag in wp static pages?

  • I’m trying to display the last post of the blog in a static page created with wordpress.

    I’m using quickphp plugin to introduce php code in pages;

    <quickphp query_posts(‘posts_per_page=1 ‘); />

    The last post shows ok but it appears the word “array” some lines above and I can’t remove it.

    Is there anyway I can prevent from this word appearing?

  • The topic ‘query_posts tag in wp static pages?’ is closed to new replies.
Skip to toolbar