Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Remove 'number of photos' from album

Viewing 7 replies - 1 through 7 (of 7 total)
  • In case it is of use to anyone else in future – I removed the lines
    <p><strong><?php echo $gallery->counter ?></strong> <?php _e('Photos', 'nggallery') ?></p>
    from album-compact.php and it did the trick.
    🙂

    Don’t forget you’ll need to make this change after each NextGEN upgrade unless you’ve created your own custom template.

    You can also hide the count by updating the css to change the font colour to the background color eg white in your case. I did this change on my gallery a couple of days ago.

    ‘.ngg-description {
    color: #FFFFFF;
    }’

    I use a theme that provides a custom css input area so it’s much simpler to update css (where possible) than to customise the code itself.

    Toshi-I tried your idea, but it is not working. Maybe I am putting it in the wrong spot? Here is my site: http://dev.cabinetsnorthwest.com/gallery/ (I want to remove the number of photos)

    This should work:

    .ngg-album-compact p {
    display:none!important;
    }

    Thank you!!! I have been trying to fix this for hours!!!

    Benjamin

    (@benjaminowens)

    Don’t forget you’ll need to make this change after each NextGEN upgrade unless you’ve created your own custom template

    If you copy the template file to (your theme dir)/nggallery/ NextGEN will use that, and it won’t be replaced when upgrading NextGEN.

    ive downloaded the latest version which file do i edit? thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: NextGEN Gallery] Remove 'number of photos' from album’ is closed to new replies.