• mohamed.tah

    (@mohamedtah)


    Hi,

    I add my own shortcode to popup,
    when ajax mode on the shortcode not showing https://cl.ly/pvc8
    when ajax mode off the popup not showing

    What should I do?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Damian

    (@timersys)

    what rules are you using?

    Thread Starter mohamed.tah

    (@mohamedtah)

    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 https://prntscr.com/iniez2

    Plugin Author Damian

    (@timersys)

    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

    (@mohamedtah)

    Hi Damian

    I use that shortcode because I have Attributes

    And I try this [contact_form_shortcode] it is same 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

    there is cache but I clear that is it enough I don’t know

    this is setting page https://cl.ly/q4pq now

    Thanks for helping

    Thread Starter mohamed.tah

    (@mohamedtah)

    is there any suggestions to clear complex rules and caching

    Plugin Author Damian

    (@timersys)

    I’m still waiting to see your popup display rules. I need to know what you using there.

    Thread Starter mohamed.tah

    (@mohamedtah)

    here is rules https://cl.ly/qCHL

    and here the popup https://cl.ly/qBhO

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add My shortcode’ is closed to new replies.