Support » Plugin: Easy FancyBox » The result is the shortcode itself

  • https://wordpress.org/plugins/easy-fancybox/

    @ravanh

    I watched the tutorial but the result is the shortcode itself.

    I installed the plugin. After that I change the media setting, I enabled the media and inline checkboxes.

    I use the following codes:

    Contact Us
    <div style=”display:none” class=”fancybox-hidden”>
    <div id=”contact_form_pop”>
    [my shortcode here]</div>
    </div>

    when I preview the result and click the “Contact Us” text, the pop up shows the shortcut itself.

    I use SALIENT THEME. The contact form that I use is Contact form 7.

    I hope you can help, its been two days when I first encounter this problem.

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    (@ravanh)

    Hi @squaredsquared the Easy FancyBox plugin does not handle shortcodes. That must be done by WordPress like always.

    What is visible on the page if you remove the style=”display:none” class=”fancybox-hidden” attributes of the outer div wrapper? Does it show the shortcode itself there too?

    Then you need to find a way to make sure that WordPress treats that shortcode and turns it into a contact form like it should.

    If the shortcode is pasted into a normal page or post, it should be converted into a form. If not, then you need to contact the Contact Form developers.

    Or maybe you pasted the shortcode into a Text widget? That would explain why the shortcode is not treated. Text widget content is not passed through the shortcode filter by default, unlike post/page content.

    You can find tutorials on the web on how to make text widget content aware of shortcodes.

Viewing 1 replies (of 1 total)
  • The topic ‘The result is the shortcode itself’ is closed to new replies.