Skip to:
Content
Pages
Categories
Search
Top
Bottom
  • smp1225 posted a new activity comment 13 years ago

    <?php if ( current_user_can('level_10') ) { echo 'Dashboard‘;}?>
    There should be a single quote between the echo and the “” and the semicolon to enclose the whole link.

  • smp1225 posted a new activity comment 13 years ago

    I couldn’t get the code you posted to show the dashboard link. It said there was a parse error. I fixed the error. This is how the code should be pasted into the update-content.php file for the sliding login panel.

    <?php if ( current_user_can('level_10') ) { echo 'Dashboard‘;}?>

    There is no need to modify the bp-sliding-login-panel.php to get…[Read more]

    • <?php if ( current_user_can('level_10') ) { echo 'Dashboard‘;}?>
      There should be a single quote between the echo and the “” and the semicolon to enclose the whole link.

Skip to toolbar