Forums

NextGEN Gallery
Remove 'number of photos' from album (3 posts)

  1. jinty
    Member
    Posted 7 months ago #

    I have used Nextgen gallery on my clients for some time. When I did the latest update I find that the 'number of photos' is showing, - I had removed it previously. I have completely forgotten how to remove it - could someone remind me please http://hollyrowanhesson.co.uk/portfolio/ - to be clear, I want to leave the name of the album and remove e.g. '21 photos'
    Many thanks

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. jinty
    Member
    Posted 7 months ago #

    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.
    :)

  3. Toshi Yoshida
    Member
    Posted 7 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic