Title: Shortcodes in fields
Last modified: August 22, 2016

---

# Shortcodes in fields

 *  [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcodes-in-fields/)
 * Iam using events manager, and I wanted to pull in the next upcomping event inside
   my custom menu field using
 *     ```
       [events_list limit="2" category="9"]
       <div class="image half drop-column">
       <a href="#_EVENTURL">"#_EVENTIMAGE"
       <span class="image-text">
       <strong>#_EVENTNAME</strong>
       <span>#_EVENTDATES</span>
       </span>
       </a>
       </div>
       [/events_list]
       ```
   
 * It’s pulling in my content as html, not rendering my shortcodes. Is it possible
   to render shortcodes in the Custom menu fields?
 * [https://wordpress.org/plugins/menu-item-custom-fields/](https://wordpress.org/plugins/menu-item-custom-fields/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Dzikri Aziz](https://wordpress.org/support/users/kucrut/)
 * (@kucrut)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcodes-in-fields/#post-5580023)
 * You can try using [do_shortcode()](http://codex.wordpress.org/Function_Reference/do_shortcode)
   🙂
 *  Thread Starter [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * (@dadadmin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcodes-in-fields/#post-5580030)
 * i tested quite a few things like adding filters, but to be honest I dont know
   enough about the plugin code, or writing shortcodes to really do much more.
 * Someone else designed the theme for me. They added in the custom fields in menu
   items for me but hardcoded divs. I want to change the hardcoded divs to be my
   event shortcode, so that I can have my site update dynamically instead of having
   to manually change my menu content everytime and entertainment act changes.
 * I am using the Events Manager plugin, and just need my shortcodes to work when
   i put them in the custom fields.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcodes in fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/menu-item-custom-fields.svg)
 * [Menu Item Custom Fields](https://wordpress.org/plugins/menu-item-custom-fields/)
 * [Support Threads](https://wordpress.org/support/plugin/menu-item-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/menu-item-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menu-item-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menu-item-custom-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dadadmin](https://wordpress.org/support/users/dadadmin/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/shortcodes-in-fields/#post-5580030)
 * Status: not resolved