WordPress.org

Ready to get started?Download WordPress

Forums

Posts By Tag
[resolved] Pull Randomly (6 posts)

  1. utjacob
    Member
    Posted 1 year ago #

    Is there a way to have the posts show up randomly.
    If the page is reloaded it would pull another random post from whatever tags I choose.

    I would like to use this for testimonial posts that would show up on the sidebar randomly that have the tag of whatever service page it is on. By using the custom_field option which works great but I only would like to show one post and have it randomly generate.

    Is there a way to do this or would you be willing to add this option or tell me where in the code to force this.

    I have some programming background and would be willing to try anything. Because so far this is the only plugin that comes close to what I need it to do and it meets all requirements that I need EXCEPT for this one thing.

    Thanks

    http://wordpress.org/extend/plugins/posts-by-tag/

  2. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    Right now it is not possible to do it using my Plugin.

    It is there in my todo list and I will add support for it when I get some free time.

    Meanwhile, if you are interested in implementing this feature, then checkout the shortcode handler function in my Plugin.

  3. Rene Michaels
    Member
    Posted 1 year ago #

    Can you post a "shortcode handler function" example to display random tags?

  4. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    @Rene,

    The Plugin right now doesn't support displaying posts in a random.

    Th feature is there in my todo list and would add it when I get some free time.

  5. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    You can track the progress of this request at https://github.com/sudar/posts-by-tag/issues/3

  6. Sudar
    Member
    Plugin Author

    Posted 1 year ago #

    I have added the feature to pull posts randomly in v3.0 of the Plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.