Basic code to copy paste for a Page Template in WordPress

by 7 replies
10
I'm creating a Page Template in WordPress for sales pages.

I don't know much programming stuff at all.

Is there a page of code I can copy-paste in to my page template file?

I can then go in and make changes, like change margin size, fonts for headings and body copy, font sizes, etc.
#programming #basic #code #copy #page #paste #template #wordpress
  • If you are using WordPress and the default theme, you may want to start with these instructions

    How To Create A Custom Page Template In WordPress | The Expand2Web Blog

    May I offer another option? If you " don't know much programming stuff at all.", why not use the free or paid themes that have these options built-in?

    If your site is basically comprised of a squeeze/sales page - there are some scripts in the WSO threads above.

    When you pick your theme - pick a simple one to use, ok?
    You can spend a lot of time customizing and/or learning a theme - or you can get on with your sales and marketing today.

    Hope this helps!
  • Hello,

    So the easy way you need to create new header file an footer and include these files in new template.
    And also change the class and create new css...

    Thanks
    Ashish
    • [1] reply
    • Here's an example:

      PHP Code:
      <?php get_header(); ?>

      <div id="page-wrapper">
      <?php if (have_posts()) while (have_posts()) : the_post(); ?>
      <?php the_title
      ('<h1>''</h1>'); ?>

      <?php the_content(); ?>

      <?php if (current_user_can('edit_post'get_the_ID())) { ?>
      <p class="aligncenter"><?php edit_post_link('Edit'); ?></p>
      <?php ?>

      <?php if (comments_open()) { comments_template(); } ?>
      <?php 
      endwhile; ?>
      </div>

      <?php get_footer(); ?>
      Do this via the style.css file.
  • Banned
    You can edit it form:
    dashbord>appearance>edit,and then you can edit .css file.
    You can also use it by dreamweaver,as a full site.
  • ya choose which theme have the built in options available ..if you don't wanna learn..just wanna go through your sales page..
  • applegreensnake,
    You can try webhttrack or teleportpro. Download the whole page, use dreamweaver / bluefish / firebug or whatever you love; edit them css and you're done.
    I've been there, quite a funny job, and it sells
  • In the default WordPress installation, there are a couple of themes you can choose from. You can find the themes in your WordPress administration area > Appearance > Themes.

    You can change the theme simply by clicking on the desired theme and then Activate <theme name>.

Next Topics on Trending Feed