WordPress.org

Ready to get started?Download WordPress

Forums

Media Category Library
[resolved] list all media from one category (3 posts)

  1. irving.bos
    Member
    Posted 1 year ago #

    Hi, thanks for developing the Media Catgory plugin. Is there a way to set up a page that will list all media items for a given category (passed in the URL?)

    thanks.

    http://wordpress.org/extend/plugins/media-category-library/

  2. timmcdaniels
    Member
    Plugin Author

    Posted 1 year ago #

    Hello irving.bos,

    There are 2 ways to do this:

    1) You can accomplish this by using shortcodes, but you have to hardcode the category name into the shortcode.

    2) If you are looking for a more dynamic way to do this by passing in categories through the URL try this:

    http://www.domain.com/?mediacat_library=1&mediacats=slug1

    You can do multiple categories by doing this:

    http://www.domain.com/?mediacat_library=1&mediacats=slug1,slug2

    Hope this helps.

    Thanks,

    Tim

  3. irving.bos
    Member
    Posted 1 year ago #

    thanks, that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic