Forums

NextGEN Gallery
NextGen Checkbox for tag display (1 post)

  1. badjesus
    Member
    Posted 1 year ago #

    I have been trying to get this going for days and so far this is all I can come up with.

    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> 
    
    	<div>Search</div>
    	<div>
    		<?php
    		// The following will list all tags with a checkboxes next to them.
    
    $nggimgtags = get_terms( 'ngg_tag', array(
    'fields' => names
    ) );
    
    	$checkboxes = '';
    		 foreach($nggimgtags as $nggimgtag) :
    		$checkboxes .='<input type="checkbox" name="s" value="'. $nggimgtag . '" id="s" />'. $nggimgtag . '';
    	endforeach;
    
    		echo $checkboxes;
    		?>
    	</div>
    <div>
    
    <p><input type="submit" value="Search">
    
    </p>
    </form>

    Hopefully it will help someone?

    Check out here as well:

    http://wordpress.org/support/topic/nextgen-gallery-my-simple-idea-for-navigation-by-tag?replies=6#post-2420279

    Hopefully someone can figure it out and post back, and maybe Alex will be willing to make it into a shortcode and bundle in the next update?

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic