NextGen Album and Gallery in Sterling Theme

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.

The Fix:

  1. Access your server via FTP
  2. Find the post-types.php file in Sterling/framework/theme-specific/ directory
  3. Scroll down to line 37 and comment out that line by adding two forward slashes like so:
     //add_action( 'init', 'truethemes_post_type_gallery' ); 
  4. Important:

    This will disable Sterling Theme’s Gallery feature so you will only be able to use NextGen Gallery!