WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

NextGEN Gallery Comments

This plugin add comments (form and list) in every NextGEN Gallery.

I have installed the plugin but i can't see any admin options page. Where is it?

Ehm.. this is my first release of my first plugin, in next versions i will ad an option page with various options.

What about customizing the comments page?

This is a simple task. This plugin use the template comments-nggallery.php inside plugins/nextgen-gallery-comments/template to show comments list and form. If you want to customize it, copy it and paste in your theme inside nggallery folder (if this not exists, create it. This folder is needed to customize NextGEN Gallery templates)

If i click the logout button in gallery comment form, the page is bad redirected. How can i fix it?

You have to use a filter (put it in FUNCTIONS.PHP in your theme) to change the logout url:

add_filter('your_function','rcwd_comment_form_defaults'); function your_function($defaults){ global $user_identity, $post_id; if(get_query_var('gallery') != ''){ $logout_url = esc_attr($_SERVER["REQUEST_URI"]); }else{ $logout_url = get_permalink($post_id); } $defaults['logged_in_as'] = '

' . sprintf( __( 'Logged in as %2$s. Log out?' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', $logout_url ) ) ) . '

'; return $defaults;

}

Requires: 2.9.1 or higher
Compatible up to: 3.2.1
Last Updated: 2011-9-16
Downloads: 13,335

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,2,2