WORDPRESS: how do i have a different design on a page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MetaMan
    I AM WEB 2.0
    • Jan 2003
    • 28682

    #1

    WORDPRESS: how do i have a different design on a page?

    when i go:

    Manage > Pages then select my page

    i get a code page with "title" and Page "visual/html"


    but then when i add in code into this page it puts <p> around my new code for some odd reason,

    any idea how i have a different looking design for a page? i just need the same template but i need to add in a different part to the header.
  • Jesmine22
    Registered User
    • Jul 2006
    • 43

    #2
    check my new Bustybabe theme, you can add custom headers, but not different one's on different pages , its located at mywpthemes.net
    Twitter Cam Girl Updates | Free adult webcam | Live Sex Webcam Free | Adult Wordpress Themes | asian cam models

    Comment

    • MetaMan
      I AM WEB 2.0
      • Jan 2003
      • 28682

      #3
      Originally posted by Jesmine22
      check my new Bustybabe theme, you can add custom headers, but not different one's on different pages , its located at mywpthemes.net
      shut your mouth you lil spamming tramp, i dont want or need your wpthemes i can outdesign your crap without even breaking a sweat.

      Comment

      • MetaMan
        I AM WEB 2.0
        • Jan 2003
        • 28682

        #4
        bump 2 da tooop

        Comment

        • AlienQ - BANNED FOR LIFE
          best designer on GFY
          • Mar 2003
          • 30307

          #5

          Comment

          • dav3
            Confirmed User
            • May 2007
            • 7348

            #6
            A different design on a single page, while the rest has a 'main' design?
            Webmasters :: Juicy Ads :: ACWM :: Crak Revenue :: Money Tree

            Comment

            • MetaMan
              I AM WEB 2.0
              • Jan 2003
              • 28682

              #7
              Originally posted by dav3
              A different design on a single page, while the rest has a 'main' design?
              exactly,

              the page has the regular design, but i want to add in info just under the header.

              i still dont get why when i add in code it is adding <p> around everything i put into the page edit.

              Comment

              • fris
                I have to go potty
                • Aug 2002
                • 55789

                #8
                edit page.php in your theme directory, inside page.php you will find

                <?php get_header(); ?>

                <?php get_sidebar(); ?>

                instead of that you can just use an include for a different header, do the same with footer.

                page.php is the file used for pages
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


                My Newest Theme

                Comment

                • MetaMan
                  I AM WEB 2.0
                  • Jan 2003
                  • 28682

                  #9
                  Originally posted by Fris
                  edit page.php in your theme directory, inside page.php you will find

                  <?php get_header(); ?>

                  <?php get_sidebar(); ?>

                  instead of that you can just use an include for a different header, do the same with footer.

                  page.php is the file used for pages
                  friggin amazing, i cant believe i missed that, i will try it when i get home.

                  thank you so much. much appreciated. it is amazing how the smallest problem can have the simplest solution.

                  Comment

                  • fris
                    I have to go potty
                    • Aug 2002
                    • 55789

                    #10
                    <?php include (TEMPLATEPATH . '/header2.php'); ?>

                    should work fine
                    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


                    My Newest Theme

                    Comment

                    • MetaMan
                      I AM WEB 2.0
                      • Jan 2003
                      • 28682

                      #11
                      Originally posted by Fris
                      <?php include (TEMPLATEPATH . '/header2.php'); ?>

                      should work fine
                      what happens if my template doesnt have pages.php? just make it? i moved over an old wodpress to a new one.

                      off to baseball, thanks for your help! ill try to repay you one day when in need.

                      Comment

                      • just a punk
                        So fuckin' bored
                        • Jun 2003
                        • 32385

                        #12
                        Originally posted by MetaMan
                        what happens if my template doesnt have pages.php?
                        That means you have an appropriate section in the main template.
                        Obey the Cowgod

                        Comment

                        • just a punk
                          So fuckin' bored
                          • Jun 2003
                          • 32385

                          #13
                          If there is no page template and no appropriate section the main template, you can always do a simple check to determine is it a page or anything else. E.g.:

                          <?php
                          if (is_page()) {
                          include (TEMPLATEPATH . '/header2.php');
                          } else {
                          include (TEMPLATEPATH . '/header1.php');
                          }
                          ?>
                          ?>

                          Or something like that.
                          Obey the Cowgod

                          Comment

                          • MetaMan
                            I AM WEB 2.0
                            • Jan 2003
                            • 28682

                            #14
                            Originally posted by cyberxxx
                            If there is no page template and no appropriate section the main template, you can always do a simple check to determine is it a page or anything else. E.g.:

                            <?php
                            if (is_page()) {
                            include (TEMPLATEPATH . '/header2.php');
                            } else {
                            include (TEMPLATEPATH . '/header1.php');
                            }
                            ?>
                            ?>

                            Or something like that.
                            something along the lines of this worked, thanks for the help! AMAZING

                            Comment

                            Working...