In order to allow NextGen Gallery’s Album and Gallery to work with the Sterling Theme, we have to disable some of Theme’s functions and Templates. NextGen Gallery’s URL contains the word “gallery” which is the same as Sterling’s custom post type “gallery”. This will cause an “internal” WordPress conflict.
- Access your server via FTP
- Find the post-types.php file in Sterling/framework/theme-specific/ directory
- Scroll down to line 37 and comment out that line by adding two forward slashes like so:
//add_action( 'init', 'truethemes_post_type_gallery' );
This will disable Sterling Theme’s Gallery feature so you will only be able to use NextGen Gallery!