WordPress.org

Ready to get started?Download WordPress

Forums

Display the title only (11 posts)

  1. basketball
    Member
    Posted 9 years ago #

    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?

  2. NuclearMoose
    Member
    Posted 9 years ago #

  3. basketball
    Member
    Posted 9 years ago #

    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.

  4. Jinsan
    Member
    Posted 9 years ago #

    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

  5. basketball
    Member
    Posted 9 years ago #

    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

  6. basketball
    Member
    Posted 9 years ago #

    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.

  7. Jinsan
    Member
    Posted 9 years ago #

    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

  8. basketball
    Member
    Posted 9 years ago #

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

  9. Jinsan
    Member
    Posted 9 years ago #

    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

  10. basketball
    Member
    Posted 9 years ago #

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

    http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/

  11. Jinsan
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.