[Plugin: NextGEN Gallery] I now am displaying pic’s from a tag cloud!
-
I know this has been asked before so I thought I would share how I do it.
I added a tag cloud to my side bar and added a POST called ‘Custom Gallery’. Each time I add a new gallery and tag the pictures, I go to my ‘Custom Gallery’ post and add new tags there. Most the time the tag’s are already there anyhow, but I check. This way, my Tag Cloud will pick up my new tags.
Then for the body of the post (I am using the exec-php plug-in) I put in:
<?php
if ($_REQUEST[“tag”] <> “”) echo “[tags=”.$_REQUEST[“tag”].”]”;
?>Works great. I am probably going to use the album tag if multiple tags are being searched. Makes more sense. I’ll have to replace the ‘+”s with ‘,”s when I do this in php.
I would also like to figure out how to search tags like tag1+tag2 so the return is only the pictures that include both tags. Does anyone no how to do this?
Thanks. Hopefully someone has the answer to multi taged custom galleries. Hope my code helps someone out there.
- The topic ‘[Plugin: NextGEN Gallery] I now am displaying pic’s from a tag cloud!’ is closed to new replies.