WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Help (3 posts)

  1. Chad1020
    Member
    Posted 6 years ago #

    Hello just a question I have a page that i want to include all the images that i have used in all my post, the [gallery] is not to work unless i uploaded the images to that page is their a way to just include all the images that are in the media library in my page thank!!!??

  2. Chad1020
    Member
    Posted 6 years ago #

    *BUMP*

  3. rlance
    Member
    Posted 5 years ago #

    I have a similar (same?) requirement -- I need to show only the media library images belonging to each subscriber.

    The logical way to do this would be to add "and post_author = ".$userdata->ID to the wpdb query, but I have been unable to discover how/where to do that.

    I was able to unset from the posts array the non-relevant images (wp-admin/includes/media.php, ~ line 1138), but even though the posts array in $wp_query is now reduced to only the images belonging to that user, ALL the images still show up in the display.

    I would be extremely grateful for a pointer to the "right way" to accomplish this seemingly simple hack.

Topic Closed

This topic has been closed to new replies.

About this Topic