Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to customise the "Image browser" template in particular. I'm trying to make clicking on an image redirects to the next image in a gallery, just like how Facebook image browser works.
(This is not a cosmetic change with CSS - CSS change is not what I mean by customising the tempaltes)

I can always edit /wp-content/plugins/nextgen-gallery/view/imagebrowser.php but it's a hack and it's not upgradable when next version of NextGen Gallery is out.

Is there anyway I can overwrite the template imagebrowser.php in my theme?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

One can do that by copying imagebrowser.php from /wp-content/plugins/nextgen-gallery/view/ to yourthemedirectory/nggallery.php

If you want to customise other templates, you can do the same too.

Some more information can also be found here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.