Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This can only be done in a template using a php function:

    echo wppa_get_photo_count( $albumid );

    Thsi will display the photocount of published photos, or the total count ( including ‘pending’ or ‘scheduled’ photos ) if the current user is the owner of the photos.

    Thread Starter RanBro

    (@ranbro)

    Thanks so much it worked great!

    Thread Starter RanBro

    (@ranbro)

    One more question: How would I display the total number of pictures in the system? I have tried about a million different ways, but just can’t figure it out.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I just modified the function wppa_get_photo_count( $albumid ) for you.

    If you omit the album: wppa_get_photo_count() it returns the total number of pictures in the system.

    If you can not moderate photos, the returnd number is exclusive the photos that have their status set to ‘pending’ or ‘scheduled’.

    De-activate and delete the plugin, then re-install as if it was a new plugin. You will loose nothing by doing this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Picture Count’ is closed to new replies.