Title: Add My shortcode
Last modified: March 5, 2018

---

# Add My shortcode

 *  [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * (@mohamedtah)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/)
 * Hi,
 * I add my own shortcode to popup,
    when ajax mode on the shortcode not showing
   [https://cl.ly/pvc8](https://cl.ly/pvc8) when ajax mode off the popup not showing
 * What should I do?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-my-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10042382)
 * what rules are you using?
 *  Thread Starter [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * (@mohamedtah)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10043558)
 * I added like this
 * remove_shortcode(‘contact_form_shortcode’);
    add_action(‘init’, ‘add_contact_form_shortcode_shortcode’,
   99); function add_contact_form_shortcode_shortcode() { add_shortcode(“contact_form”,“
   contact_form_shortcode”); }
 * With this code it look like text [http://prntscr.com/iniez2](http://prntscr.com/iniez2)
 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10046019)
 * Hey @ mohamedtah,
    I’m not sure why you doing that . Why not using directly [
   contact_form_shortcode] ?
 * Anyway I was asking for the display rules you are using for the popup. The popup
   should display anyway when you turn off ajax mode unless you have some complex
   rules and caching
 *  Thread Starter [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * (@mohamedtah)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10058671)
 * Hi Damian
 * I use that shortcode because I have Attributes
 * And I try this [contact_form_shortcode] it is same [https://cl.ly/q35s](https://cl.ly/q35s)
 * When I turn off the ajax mode the popup not show
    [https://extraproperty.com/?post_type=spucpt&p=4099&preview=true](https://extraproperty.com/?post_type=spucpt&p=4099&preview=true)
 * there is cache but I clear that is it enough I don’t know
 * this is setting page [https://cl.ly/q4pq](https://cl.ly/q4pq) now
 * Thanks for helping
 *  Thread Starter [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * (@mohamedtah)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10063999)
 * is there any suggestions to clear complex rules and caching
 *  Plugin Author [Damian](https://wordpress.org/support/users/timersys/)
 * (@timersys)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10071052)
 * I’m still waiting to see your popup display rules. I need to know what you using
   there.
 *  Thread Starter [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * (@mohamedtah)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10078095)
 * here is rules [https://cl.ly/qCHL](https://cl.ly/qCHL)
 * and here the popup [https://cl.ly/qBhO](https://cl.ly/qBhO)

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

The topic ‘Add My shortcode’ is closed to new replies.

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

 * 7 replies
 * 2 participants
 * Last reply from: [mohamed.tah](https://wordpress.org/support/users/mohamedtah/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/add-my-shortcode/#post-10078095)
 * Status: not resolved