WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
[resolved] Gallerybock filter by tags (9 posts)

  1. mr_sven
    Member
    Posted 1 year ago #

    Hi,
    is it possible to add a list of galleries filtered by tags to a page or post?

    If not, is it planned to implement this?

    Regards
    Sven

    http://wordpress.org/extend/plugins/eazyest-gallery/

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    You have to make an extra loop to display them.

  3. mr_sven
    Member
    Posted 1 year ago #

    Sorry, what do you mean with an extra loop?

  4. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    You can make a template in which you select to tagged folder or you could just create a tags archive just like post tags.

  5. mr_sven
    Member
    Posted 1 year ago #

    I'think you didn't catch me: I have a couple of gallery folders, some of them have a tag, maybe "chair" and now I create a post to show only a sum of this galleries with for example this shortcode: [eazyest_gallery tag="chair"] .

    Now I used an other way to accomplish this, I used this shortcode: [eazyest_gallery ids="1129,1122,1190,1134,1169"], but this only works if I submit a root folder: [eazyest_gallery ids="1129,1122,1190,1134,1169" root="chairs"]. This is ok for the moment, but if the galleries are in multiple subfolders, it doesn't work.

    So if I don't ship a root folder, or a root id, do not filter on "post_parent = 0".

    Following can fix it:
    File frontend/class-eazyest-shortcodes.php
    add line 180:
    if ($args['post_parent'] == 0) unset($args['post_parent']);

  6. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Hi mr_sven,
    I have no plans to include a tags option to the [eazyest_gallery]. You can show tagged folders in any tag archive just like tagged posts.
    BTW, the shortcode does not support the 'ids' option.

  7. mr_sven
    Member
    Posted 1 year ago #

    Sure, the ids option is supported: http://codex.wordpress.org/Gallery_Shortcode and also in your source. It works, the only thing is, that it makes no sense to filter for a parent id (root folder) if I ship IDs I want to see.

  8. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, you're right.
    Indeed, it makes no sense to filter on parent folder if ids is set. i'll fix it.

  9. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in RC-13/RC-14

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.