• Resolved insecureabnormality

    (@insecureabnormality)


    Hello,

    There is an option in the editor for add short code, however when I click it nothing is displayed.

    I am trying to embed a contact form in the maintenance page (Contact Form 7) however when I add the shortcode manually it is only displaying this as text. How can I fix this problem?

    [contact-form-7 id=”2324″ title=”Maintenance Contact Form”]

    Thanks,

    Steve

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi,
    I’m sorry but at the moment shortcodes are not supported on the maintenance page. Most of them require a lot of additional JS and CSS that causes conflicts with ours.

    We’re working on resolving this but at the moment you can use shortcodes. Sorry.

    Thread Starter insecureabnormality

    (@insecureabnormality)

    Is there a php file i can edit or any other way to do this can you tell me please?

    Thread Starter insecureabnormality

    (@insecureabnormality)

    I actually fixed the problem by adding the following line to index.php at line 104:

    <?php echo do_shortcode(‘[contact-form-7 id=”2324″ title=”Maintenance Contact Form”]’); ?>

    Thanks for getting back to me anyways!

    Plugin Author WebFactory

    (@webfactory)

    You’re welcome!

    Yes, that’s the way to do it ?? If there are no conflicts with our CSS/JS everything will work fine ????

    If you have a minute please rate the plugin. It’s what keeps it going. Thank you! https://www.ads-software.com/support/plugin/maintenance/reviews/#new-post

    insecureabnormality, can you be a bit more specific on how you solved the issue, I added the PHP code but I can’t get this section to display anything, not even plain text.

    @insecureabnormality
    Please open your own new topic in this forum instead. There you can link to this thread and ask anyone to tell you a bit more.

    They edited the main PHP file of this plugin in order to load and run a specific shortcode.

    Although that may work, you should remember that whenever this plugin gets updated, your fix will disappear, together with all the files of this plugin of the previous version.

    I’ll close this topic for replies.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcodes not working’ is closed to new replies.