WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Assistant
Shortcodes or Template Functions? (8 posts)

  1. David Radovanovic
    Member
    Posted 1 year ago #

    Anyway to display images/media with specific tags? Thanks for sharing your plugin! Are there any other codecodes or functions other than the mla_attachment_list_shortcode?

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

  2. David Lingren
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the question and for the kind words.

    The "mla_attachment_list" shortcode is the only one available at this time. I am planning to add more shortcodes but I wanted to get the admin functions in place first. Something like the WordPress "Gallery" shortcode with taxonomy support would be useful.

    Any specific suggestions are most welcome. If there are any other examples of shortcodes or template parts you find useful, let me know.

  3. David Radovanovic
    Member
    Posted 1 year ago #

    What would you suggest the benefit/use of all the different tags?

  4. David Lingren
    Member
    Plugin Author

    Posted 1 year ago #

    Well, on our site we have custom post types for products, artisans and Fair Trade Organizations. We have product categories, and tags for artisans and FTOs. You could use categories and tags to display the images for a single product, product category, artisan group or FTO.

    One of the limitations of the existing WordPress Gallery and the Media Library is that an image, etc. can only be "attached" to a single post or page. You could use tags to associate one image or document to several posts and/or pages.

    Does that help?

  5. David Radovanovic
    Member
    Posted 1 year ago #

    Gotcha. Thanks for the explanation and a great plugin.

  6. David Radovanovic
    Member
    Posted 1 year ago #

    David, how would display the tagged images within a specific post category?

  7. David Lingren
    Member
    Plugin Author

    Posted 1 year ago #

    I have not started work on this feature yet, so I can't say for sure. I imagine creating something like this:

    [mla_gallery product-category="new-product' artisan-tag="african-home"]

    where product-category and artisan-tag are taxonomy names/slugs, and new-product and african-home are taxonomy term slugs.

    I will add a note to this topic when I make more progress.

  8. David Lingren
    Member
    Plugin Author

    Posted 1 year ago #

    I've just released version 0.50, which features the [mla_gallery] shortcode. The new shortcode offers complete support of Category, Tag or custom taxonomy selection to build a gallery from any combination of Media Library items. Let me know what you think, and thanks for using the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic