In NextGEN Gallery, I am able to add a dropdown menu that lets users filter a gallery to only show images that are tagged with a specific ngg_tag, simply by adding this to view/gallery.php in the NextGEN Gallery code:
the_widget('Taxonomy_Drill_Down_Widget', array(
'title' => '',
'mode' => 'dropdowns',
'taxonomies' => array( 'ngg_tag')
));
However I want to be able to achieve this without modifying any of the the actual NextGEN gallery code.
Adding this in my functions.php:
add_action('ngg_render_template' , 'add_dropdown_widget' );
function add_dropdown_widget(){
the_widget('Taxonomy_Drill_Down_Widget', array(
'title' => '',
'mode' => 'dropdowns',
'taxonomies' => array( 'ngg_tag')
));
}
Almost gets me there but it renders the dropdown above the gallery itself. I actually want the dropdown to appear below the title of the gallery, but at that point the gallery has already started rendering.