WordPress.org

Ready to get started?Download WordPress

Forums

Help with SimpleModal Contact Form (SMCF) (5 posts)

  1. cbvmercado
    Member
    Posted 3 years ago #

    Need help to make SMCF work:

    Here's what I did:

    1. I placed the following in the SMCF plugin settings in WP admin panel like so:

    -------------------
    Contact Link URL: http://www.takeiteasyonline.com/contact/
    Contact Link Title: contact
    -------------------

    2. I created a Static PAGE in WP named Contact that contains the form and gave it a friendly permalink name "contact"

    3. Now I created a widget with an

    <a HREF="http://www.takeiteasyonline.com/contact" class="smcf-link">
    <img src="images.jpg">
    </a>

    PROBLEM: The contact form is not appearing. What happen is the link just redirects me to the Contact page not the MODAL form.

    I wonder what am I missing here?

    Thank you.

  2. Eric Martin
    Member
    Posted 3 years ago #

    Since the SMCF JS file is not being loaded, I can only assume that you do not have wp_footer() in your theme. It's usually in the footer.php file.

  3. cbvmercado
    Member
    Posted 3 years ago #

    Hi Eric! thanks for the quick reply.

    Where can I find the procedure to load SMCF JS in the footer?

  4. Thorned Rose
    Member
    Posted 3 years ago #

    You shouldn't need to manually load it into the footer as the plugin will do this automatically.

    Open your theme's footer.php file and scroll to the bottom.

    You should either see wp_footer(); or <?php wp_footer(); ?> just before the </body> tag.

    e.g.

    </div> <!-- footerwrapper end -->
    <?php wp_footer(); ?>
    </body>
    </html>

    If you can't see it there, you will need to add it in :)

  5. cbvmercado
    Member
    Posted 3 years ago #

    @Eric and Thorned Rose THANKS for your help.

    The pop-up is now showing. I just added the wp_footer in my functions like the both of you suggested.

    Excellent. Problem is solved.

Topic Closed

This topic has been closed to new replies.

About this Topic