WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Gallery Specific Tagcloud? (6 posts)

  1. Dom
    Member
    Posted 2 years ago #

    Hi All,

    I'm looking to use several galleries thoughout my site, however, I'd like to be able to include a tagcloud that is gallery specific on each page.

    For example, if I had several galleries on Car makes (Volvo, VW, Toyota, etc), currently using the [tagcloud] call will display a tagcloud of all image tags.

    I'd like to have a tagcloud specifically for each gallery: one for Volvo, VW, Toyota, etc.

    Does anyone know of a way to filter the tagclouds to reference the specified gallery images only?

    Thanks

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

  2. reneequinn
    Member
    Posted 2 years ago #

    Hi there,

    Also trying to find a method to filter the gallery by tags. When you first visit the page all images are shown and then when you click on a tag, it filters and displays only those items.

    Currently clicking a tag (when gallery is already shown) will create a new instance of all 'tagged' items instead of filtering.

    Thanks

  3. onerock
    Member
    Posted 2 years ago #

    Dom, I would also love to have this feature. I have over 800 galleries that would have tags that would pertain only to the gallery the cloud would be in. I am so interested in this feature that I would be willing to pay for it. :)

  4. onerock
    Member
    Posted 2 years ago #

    I have started to look into editing this code. I am way new at any kind of coding, so this may be a very short lived adventure. :) It appears that [tagcloud]is controlled by several areas of code.

    1) It starts with a section that controls the short code with options and it is located in the shortcodes.php

    2) This section seems to query the gallery for the tag information. This code is located in the nggfunctions.php -- http://pastebin.com/PF9aFb71

    3) NGG passes the information gathered off to the tagcloud generator build into WP. These files are “wp_tag_cloud” -- http://pastebin.com/SMzjcDzr and “wp_generate_tag_cloud” http://pastebin.com/2cCbsHDn . These are located in the catagory-template.php.

    It seems to me that there should be a way to tweak the code in the second step to filter the tagcloud results to the page that the tagcloud short code resides in. Does anyone have any ideas on where to begin this?

  5. onerock
    Member
    Posted 1 year ago #

    After speaking with the new caretakers of Nextgen Gallery, they advised that this could cause an SEO issue. They did say that this item would be put on the future features list, but way at the bottom. :)

  6. tangymedia
    Member
    Posted 1 year ago #

    Any progress with this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags