WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jinty
    Member
    Posted 1 year 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 1 year 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 1 year 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.

  4. cabinetsnorthwest
    Member
    Posted 7 months ago #

    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)

  5. w.bear
    Member
    Posted 7 months ago #

    This should work:

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

  6. cabinetsnorthwest
    Member
    Posted 7 months ago #

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

  7. Benjamin
    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

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

  8. euphoriawebd
    Member
    Posted 6 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic