WordPress.org

Support

Support » Plugins and Hacks » raw code instead of shortcode?

raw code instead of shortcode?

Viewing 1 replies (of 1 total)
  • Plugin Author mandsconsulting
    Participant

    @mandsconsulting

    Hi greaterlight,

    Thanks for the interest in our plugin.

    Maybe you can try to create some test posts (and then later delete them); after you create a test post, go to the source code of the generated page, and copy the HTML that you need.
    The HTML that you will need comes from two <div>’s. The first looks like this:
    <div id=”wpcf7-f17-p18-o1″ class=”wpcf7″> … </div>

    And (*this is very important*) you should copy and paste the next div that looks like:
    <div id=”wpm_download_2″ style=”display:none;”> … </div>

    Alternately, you can try to use this PHP code in your header template:
    do_shortcode(‘[email-download download_id=”1″ contact_form_id=”17″]’)

    Hopefully this will help.

Viewing 1 replies (of 1 total)
  • The topic ‘raw code instead of shortcode?’ is closed to new replies.