WordPress.org

Ready to get started?Download WordPress

Forums

Easy Random Posts
[resolved] Random and latest post (4 posts)

  1. GeorgeBX
    Member
    Posted 11 months ago #

    i need to be able to display a random post as well as the latest post (on 2 different pages) is ther a way to do this. I would like to avoid having to use 2 different plugins if possible.

    http://wordpress.org/plugins/easy-random-posts/

  2. christopherross
    Member
    Plugin Author

    Posted 11 months ago #

    If you want to use a second plugin, you can use http://thisismyurl.com/plugins/easy-recent-posts/ along with http://thisismyurl.com/plugins/easy-random-posts/ to do what you're looking for.

    Otherwise, you'd need to write a special function to do it.

  3. GeorgeBX
    Member
    Posted 11 months ago #

    Thanks for your reply. If I wanted to just show 1 post and just the title can this be done with the shortcode?

  4. christopherross
    Member
    Plugin Author

    Posted 11 months ago #

    Sorry no, you'd have have to create a new shortcode for that.

    The basic idea is here http://thisismyurl.com/2440/create-a-random-redirect-in-wordpress/ but you'd have to create a shortcode following this tutorial http://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/

    Chris

Reply

You must log in to post.

About this Plugin

About this Topic

Tags