Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php require($_SERVER[‘DOCUMENT_ROOT’] . ‘/pathtowordpress/wp-load.php’); ?>
    <?php echo do_shortcode( ‘[contact-form-7 id=”1914″ title=”Quote”]’ ); ?>
    <?php wp_reset_query(); ?>

    Thread Starter liamh121

    (@liamh121)

    Thank you but it doesn’t work, produces PHP errors and only part of the page loads.

    Trying to add a contact form into raw HTML but the shortcode isn’t working. How can I do this?

    [contact-form-7 id=”1914″ title=”Quote”]

    What do you mean by Using shortcode in HTML file? You should write a clear details about your problem…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using shortcode in HTML file? Not working’ is closed to new replies.