Replies: 0
I’m running WPPA 7.3.06.003 with PHP 7.3 and have trouble counting photos/albums in WPPA+
The shortcode reference says:
type=”pcount” parent=”13″
Prints the total number of photos in all (grand)childalbums of album number 13.
So I added to my page [wppa type="pcount" parent="165"][/wppa]
(165 being the id of my “All” album, which contains 130 sub-albums and 5948 photos according to the Album admin page), only to get the message (in red atop my page):
[WPPA+ dbg msg: Error in shortcode spec for type="pcount": either attribute album="" or parent="" should supply a positive integer]
I tried single, double and no quotes with the same result, and “acount” also comes up with the same error message.
Ideally, I’d like to show the number of photos in the entire WPPA database to give my visitors an overview of what to expect.
Am I doing something wrong? or has a bug crept into a/pcount?
Thanks,
serge