Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Feb 25, 2021 6:26 am
I added two custom button at /public_html/wp-content/themes/Divi-child/wpdiscuz/class.WpdiscuzWalker.php Line 630 to 641.
I would like to use WordPress native function to Show / Hide the button depending on the authentication status of my user like this:
<?php if ( is_user_logged_in() ) { ?>
<?php } else { ?>
<?php } ?>
But I tried different method to input the code into the file, it did not work. The below image is the code, may you provide me some guidance? Thanks
2 Replies
Feb 26, 2021 4:42 am
anyone can help?