WordPress.org

Ready to get started?Download WordPress

Forums

query_posts tag in wp static pages? (1 post)

  1. ganzua
    Member
    Posted 8 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic