Grow your CSS skills. Land your dream job.

Calling pages from wordpress

  • # January 8, 2010 at 3:21 pm

    Hi,

    I am new to wordpress… I am trying to get a contact page going (I know there are plugin’s /templates) I wanted to role my own to learn but I didn’t see it to be a big pain. I have tried to just to the obvious and set a link in header.php to a PHP page I created. Had a problem finding the correct path. When I did get it to find the page my PHP code new nothing of WordPress. I wanted to wrap my content with get_header() get_footer(). Anyway I said all that to ask this, what the best way to add forms on to wordpress?

    best,

    -dale

    cjk
    # January 8, 2010 at 4:38 pm

    Sounds like you want to create a custom page template, and then create a "Contact" page and select the template from the pop up selector in your write panel..

    an example…

    Code:
    < ?php
    /*
    Template Name: Contact
    */
    ?>
    < ?php get_header(); ?>

    // place your content here

    < ?php get_sidebar(); ?> // if you need a sidebar on this page

    < ?php get_footer(); ?>

    # January 18, 2010 at 12:38 am

    Thanks for the information. That helped…

    # January 18, 2010 at 2:53 am

    I would agree. let’us knoe if it don’t work right,k ron

    cjk
    # January 19, 2010 at 10:52 am

    Wow That’s cool! I feel like I have actually finally contributed something back to the community!

    :P

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".