@gcrea
5 years, 10 months ago
Hi, thanks so much but it doesn’t seem to like the top two lines:
const notificationsCounter = document.getElementById('ab-pending-notifications'); const notificationsIndicator = document.getElementById('wp-admin-bar-bp-notifications');
I am getting the following php error:
Parse error: syntax error, unexpected ‘(‘, expecting ‘,’ or ‘;’ in C:\wamp\www\models\wp-content\themes\models\functions.php on line 405
Line 405 is the first line.
Thanks so much! If you don’t suggest overloading create.php, what would be the best approach? Sorry, I’m new at this…