• Resolved Maracas1970

    (@maracas1970)


    Hi all

    I have made a theme and made several pages. I have downloaded and installed the Contact Form 7 activated it. I added the code needed in the appearance/ editor on the contact page i made, with html/css.

    All it displays when i update it is the code that calls it and no form. As it`s a custom made theme made by myself, do i need to put the plugin somewhere else? As i only use the page editor to link my own pages in to the navigation.

    Hope this makes sense..

    Kark

Viewing 6 replies - 1 through 6 (of 6 total)
  • Find the default CSS for Contact Form 7 and copy it to your stylesheet?

    Thread Starter Maracas1970

    (@maracas1970)

    Well, i need to be able to not have to do that each time i install a newer version or a plugin for something else such as a gallery.

    Is there no way of just activating the plugin and having it go right into my template page?

    The thing is, all the plugins i see ask you to add the code into the pages section. The pages i created are selected through the page attributes/templates drop down.

    The page fields are blank they are just there so i can select the page templates and link into the navigation..

    Thread Starter Maracas1970

    (@maracas1970)

    Got it to show up using

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

    Seems to work OK now. What i`d like to know though if anyone cares to help is, am i going to have to use these do_shortcode() functionsfor all the plugins? Do some accept the functions and others not?

    Thanks..

    Thread Starter Maracas1970

    (@maracas1970)

    Touche SwansonPhotos and thanks.

    Found this at probably the exact same moment you posted it. Cheers dude ??

    Each plugin is different…I use Contact Form 7 in both Posts and Pages… If a plugin is not working in the loop for you, you may need add some code for pulling in plugins to your customized template, but plugins work in many ways, so each one would need to be reviewed for how it works.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Contact Form in Custom template’ is closed to new replies.