NextGEN Gallery Voting
[resolved] How to add Voting to Child theme? (2 posts)

  1. jamminjames
    Posted 3 years ago #

    I'm tired of having to reinsert the <?php echo nggv_imageVoteForm($image->pid); ?> line everytime NGG has an update, but I can't figure out how to make the change work in my child theme.

    I'm trying this line in my Child's functions.php file:
    include( get_stylesheet_directory(). '/wp-content/plugins/nextgen-gallery/view/gallery.php' );
    ... copying the directory structure in the Child theme (not sure if that's necessary?).

    Would it be better to use an action hook somehow? If so, how would that be done?


  2. shauno
    Plugin Author

    Posted 3 years ago #

    Hi jammimjames
    You can simply move the ngg templates into a directory called "nggallery" in your theme. That should so it :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery Voting
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic