I have a page using the Gutenburg Blocks with a login form at the top and then two category blocks, but the category blocks are visible even when someone is not logged in. How do I hide them unless the visitor is logged in?
https://sedgwickbroadband.org/test/
Thank you!
Add the following code after line 235 in /download-manager/tpls/wpdm-all-downloads.php
file,
if( ! wpdm_user_has_access(get_the_ID())) continue;
hope that will work.
Thanks
The topic ‘Hide downloads when not logged in’ is closed to new replies.