WordPress.org

Ready to get started?Download WordPress

Forums

Assigning Random Image from Specified Folder to Posts in Particular Category (1 post)

  1. uzairs
    Member
    Posted 2 years ago #

    Hello

    Wondering if the following is possible:
    Assigning Random Image from Specified Folder to Posts in Particular Category

    (any existing plugins?)

    Example:

    My site has 2 categories (Cats, Birds)

    I want all posts in the Cats category to be randomly assigned an image from a location (ie. a folder on my server, or in WP gallery) containing pictures of cats

    Likewise, I want all posts in the Birds category to be randomly assigned an image from a location (ie. a folder on my server, or in WP gallery) containing pictures of birds

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic