• baokychen

    (@baokychen)


    I have this line on my post , with php enabled.

    query_posts(array('showposts' => 10, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish', 'caller_get_posts' => 1)); ?>

    it return me the result i want , however , it show the post content and stuffs.

    I just want grab the post title with hyperlink by its permalink, i does not want to show any of the content .

    Output should be like..

    Post A
    Post B
    Post C

    without any content , just the title and its permalink

Viewing 2 replies - 1 through 2 (of 2 total)
  • MichaelH

    (@michaelh)

    You don’t show us your whole Template code, but delete the template tag, the_content().

    Thread Starter baokychen

    (@baokychen)

    i deleted the_content() , but the post content is still query out.

    My situation is to use recent post widget arrange by sticky post first then normal post.

    Next is , it is to be place in a post instead of the widget column.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I query post without content’ is closed to new replies.