WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Gallery Specific tag cloud? (2 posts)

  1. onerock
    Member
    Posted 2 years ago #

    I have a need to have a gallery specific tag cloud. As written, the tag cloud feature takes all tags from all galleries and creates the tag cloud. I do not want the tags from other galleries to appear in this galleries tag cloud.

    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 I should begin this tweak?

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

    [ Please don't bump, that's not permitted here. ]

  2. 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. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic