Title: Using PHP to add additional menu item
Last modified: August 22, 2016

---

# Using PHP to add additional menu item

 *  Resolved [karpo_torky](https://wordpress.org/support/users/karpo_torky/)
 * (@karpo_torky)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/using-php-to-add-additional-menu-item/)
 * Hi, would it be possible to add some custom PHP into Responsive Menu plugin? 
   What I’m trying to achieve is calling custom WPML language switcher function 
   to echo the language choices as one of the menu items. I noticed you could add
   HTML above/below menus.
 * Any idea how to achieve this?
 * [https://wordpress.org/plugins/responsive-menu/](https://wordpress.org/plugins/responsive-menu/)

Viewing 1 replies (of 1 total)

 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/using-php-to-add-additional-menu-item/#post-5334011)
 * Hi karpo,
 * Unfortunately this isn’t something that you will be able to add inside the plugin.
 * You could add a div with an id attached and then use external JavaScript to control
   this but that’s about as close as you will be able to get with this I’m afraid.
 * Apologies I can’t be of any more help with this but allowing PHP in this box 
   is a major security issue and one I’m not willing to allow.
 * Many thanks
 * Peter

Viewing 1 replies (of 1 total)

The topic ‘Using PHP to add additional menu item’ is closed to new replies.

 * ![](https://ps.w.org/responsive-menu/assets/icon-256x256.png?rev=1782326)
 * [Responsive Menu - Create Mobile-Friendly Menu](https://wordpress.org/plugins/responsive-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/using-php-to-add-additional-menu-item/#post-5334011)
 * Status: resolved