Title: Ruined functions.php
Last modified: September 1, 2016

---

# Ruined functions.php

 *  [vixeyv](https://wordpress.org/support/users/vixeyv/)
 * (@vixeyv)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/ruined-functionsphp/)
 * 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!
 * [https://wordpress.org/plugins/wptouch/](https://wordpress.org/plugins/wptouch/)

The topic ‘Ruined functions.php’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [vixeyv](https://wordpress.org/support/users/vixeyv/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/ruined-functionsphp/)
 * Status: not resolved