Ruined functions.php
-
Hi, I followed this advice on this forum:
“Hi,
You can try adding the admin menu for Editors and other users by detecting the user level and then doing an ‘action’ depending on the user’s level.
Example:
global $current_user;
get_currentuserinfo();
if ($current_user->user_level == 1 ) //do something
It’ll need to be included in your theme’s functions.php file.”Now my website is completely inaccessible saying this message:
“Parse error: syntax error, unexpected $end in /home/butteryouup/public_html/wp-content/themes/optimizer/functions.php on line 58”
PLESE HALP!
- The topic ‘Ruined functions.php’ is closed to new replies.