WordPress.org

Forums

WordPress Random Image
Random Images Not Displaying Via Post ID (2 posts)

  1. agreda
    Member
    Posted 1 year ago #

    Hello, is this plugin still being supported?

    I have the [random-image] shortcode working fine on a page with post ID "xyz".

    When I attempt to display the same group on random images on a different page, nothing renders with the code [random-image postid="xyz"].

    Any suggestions? Thank you in advance for your help!

    http://wordpress.org/plugins/wordpress-random-image/

  2. agreda
    Member
    Posted 1 year ago #

    I just confirmed that the random images do display when using the list of "attachmentids" variable, but I have 100+ images attached to a page so I'd much rather use the "postid".

    So to clarify, the random-image shortcode works on the page where the photos are attached, and when called on another page via the attachment IDs. But it does not work when called via post-id.

    Any help is greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Random Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic