Title: [Plugin: WordPress GPS] Capabilities problem
Last modified: August 20, 2016

---

# [Plugin: WordPress GPS] Capabilities problem

 *  Resolved [colouro](https://wordpress.org/support/users/colouro/)
 * (@colouro)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-gps-capabilities-problem/)
 * I have found that if your blog has few user roles which has different capabilities
   then it may not show GPS menu in admin.
 * **The reason** is if role dont have ‘**edit_post**‘ capability it wont show.
 * **Solution:**
    - Add ‘**edit_post**‘ capability to role
 * Or:
    - Open plugins **include/gb_gps.php** file.
    - Find function “**admin_menu**“.
    - Change line from:
       **_add\_menu\_page( GB\_GPS\_ADMIN\_MENU\_PAGE\_TITLE, 
      GB\_GPS\_ADMIN\_MENU\_MENU\_TITLE, ‘edit\_post’, self::MENU\_SLUG, array(&
      $this, ‘display\_admin\_menu’) );_** To: **_add\_menu\_page( GB\_GPS\_ADMIN\
      _MENU\_PAGE\_TITLE, GB\_GPS\_ADMIN\_MENU\_MENU\_TITLE, ‘read’, self::MENU\
      _SLUG, array(&$this, ‘display\_admin\_menu’) );_**
    - Find function “**display_admin_menu**“.
       Change line from: **_if(!current\
      _user\_can(‘edit\_post’)) {_** To: **_if(!current\_user\_can(‘read’)) {_**
 * [http://wordpress.org/extend/plugins/wordpress-gps/](http://wordpress.org/extend/plugins/wordpress-gps/)

The topic ‘[Plugin: WordPress GPS] Capabilities problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-gps_4f5158.svg)
 * [WordPress GPS](https://wordpress.org/plugins/wordpress-gps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-gps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-gps/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-gps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-gps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-gps/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [colouro](https://wordpress.org/support/users/colouro/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-gps-capabilities-problem/)
 * Status: resolved