-
smp1225 posted a new activity comment 13 years, 5 months 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, 5 months 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]
-
smp1225 joined the group BuddyPress Sliding Login Panel 13 years, 5 months ago
@smp1225
Not recently active
<?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.