WordPress.org

Ready to get started?Download WordPress

Forums

Random Entry Display (8 posts)

  1. acousticdryad
    Member
    Posted 8 years ago #

    I've been looking for a way to display a random entry from a specific category. Has anyone seen a way to do this?

  2. mylagoon
    Member
    Posted 8 years ago #

    Did you try searching for this first? There is lots of information about doing this in the archives of this forum.

    http://wordpress.org/search/random+post?forums=1
    http://wordpress.org/support/topic/40818

  3. acousticdryad
    Member
    Posted 8 years ago #

    I had not searched the forum, no, was just searching through the codex.

    However none of these posts seem to help either. I've posted a comment on Skippy's site, but considering how old his hack is, I don't expect much help.

  4. davidchait
    Member
    Posted 8 years ago #

    You mean as a "See another article in this category" list or link? CG-Samecat was built for that purpose. If you pass it the current post ID (or 'current' ;) ), it will filter that post out of the result set.

    The best/newest version of SameCat is in my CG-PowerPack set of plugins.

    -d

  5. acousticdryad
    Member
    Posted 8 years ago #

    Actually when I try to activate it, it gives me errors on my site, before I even put any of the information on the site.

    I didn't think trying to find a random post plugin would be this difficult.

  6. acousticdryad
    Member
    Posted 8 years ago #

    I've tried manipulating Skippy's hack, but have been unsuccessful.

    Does anyone know if there has been a plugin developed yet to display a random post from a specific category? And if at all possible, only the excerpt?

  7. mwillse
    Member
    Posted 8 years ago #

    seen this plug-in?
    http://www.w-a-s-a-b-i.com/archives/2004/05/27/wordpress-random-posts-plugin/

    read the first two comments as well...

  8. acousticdryad
    Member
    Posted 8 years ago #

    That plugin does not allow you to specify a certain category to post from. It also states in the comments that the owner does not intend to modify it so it does. I implemented it, just to test it, and it doesn't seem to display the excerpt correctly either for some reason. So I'm back to the drawing board :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.