[resolved] Custom Page (3 posts)

  1. MaddTechWF
    Posted 5 years ago #

    If I want to make a page called contact.php and want only my contact page to use it, how would I do this?

    I have my permalinks setup to %category% .

  2. MichaelH
    Posted 5 years ago #

    I wouldn't create an actual file called contact.php.

    Just create a Page called Contract.

    Then put the 'code' for your contact plugin (e.g. <!--contact form-->) in that pages content.

    That's it.

    Most contact form plugins include directions on doing something like that.

  3. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    Codex is your friend - http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates


    Template Name: Contact Page

    at top of that contact page file that's compatible with WP and your theme, and upload to server within your theme's folder. Then create a page, and choose "Contact Page" on the right sidebar under "Page Template", publish the page and you're good to go.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.