Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @gcrea

    Participant

    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.

    @gcrea

    Participant

    Thanks so much! If you don’t suggest overloading create.php, what would be the best approach? Sorry, I’m new at this…

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar