WordPress.org

Support

Support » How-To and Troubleshooting » Display the title only

Display the title only

  • Well I’ve tried quite a few different keyword combination to see if this topic has been discussed in the past but I’ve had no luck. Basically on my site I want to display the first 2 posts in their entirity and around 8 other posts with only the title and date. Could anyone give me a hint on how I should go about doing this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Well I know how to insert the template tag, it’s just that I have no clue how to do so but only have the titles for the posts after the second (the 3rd title, the 4th, 5th, ….) and display the first two posts in full.

    Hmm so you want to do something like….

    My first post
    Some text about the first post lots of other stuff.

    My Second post
    This is the second post, and it’s almost as good as the first

    My third post
    My fourth post

    So the latter two would be link without the content? I’d actually like to do this too, I haven’t had a chance to work on it as I;m still doing the structure of the site, if anyone manages it I’d be interested in reading it, or I might try it out myself. I think I have some idea of how to do it, but not certain

    Hmm so you want to do something like….

    My first post
    Some text about the first post lots of other stuff.

    My Second post
    This is the second post, and it’s almost as good as the first

    My third post
    My fourth post

    -Jinsan

    Yup =D

    Hey Jinsan I got it working, first enable my-hacks.php. Put this recent posts thing in

    http://wiki.wordpress.org/Recent%20Posts

    Then inside the file change $skip_posts = 0, to $skip_posts = 2 and then customize the output as you like.

    Looks interesting though it seems you’ve run into a problem somewhere in your other post.

    Cheers for the link – I wonder if all the wiki entries will be moved to codex, and reckon that recent posts is still relevant to 1.5?

    Did you try this plugin?

    http://dev.wp-plugins.org/browser/recent-posts/trunk/

    Not sure if it will work with having a couple of posts and then the links but worth a look perhaps

    It’s the same thing, except in plugin form. I still run into the same problem while tyring to customize the output

    Hmm interesting. I’ll give it a go in a bit – I sort of have a structure for my site and it might interesting to see whether this will work

    Try this plugin, I got it working easily. It’s slowly becoming one of my favourite plugins!

    Plugin: Customizable Post Listings

    rather nifty basketball – I wonder how it would work in pages. Time for some experimentation.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Display the title only’ is closed to new replies.