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?
[ Please don’t bump, that’s not permitted here. ]
- The topic ‘[Plugin: NextGEN Gallery] Gallery Specific tag cloud?’ is closed to new replies.