Forums

Adding a plugin to a page (4 posts)

  1. loftyfinds
    Member
    Posted 3 years ago #

    Steps I'm taking:

    1. Install the plugin. (e.g. contact form [wpcf] )
    2. Create a php page in dreamweaver and use /*
    Template Name: Contact
    */
    3. Add the plugin code in the body: [wpcf]
    4. Add a new page in wordpress admin and select the template name on the right side.

    When I load the page all I see is [wpcf] in the body. The contact form doesn't come up.

  2. Samuel B
    moderator
    Posted 3 years ago #

    <?php
    /*
    Template Name: Contact
    */
    ?>

    would be correct
    also, don't use dreamweaver - use notepad or similar

  3. loftyfinds
    Member
    Posted 3 years ago #

    Yes, I've done it like:

    <?php
    /*
    Template Name: Contact
    */
    ?>

    I'm still just seeing the text: [wpcf] in the body and not the actual form. If I'm editing the page using a php editor (e.g. dreamweaver) do I need to put something else in the body to recognize the plugin?

  4. Samuel B
    moderator
    Posted 3 years ago #

    This is what you add to a post or page
    <!--contact form-->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.