Creating a new custom page in Wordpress

If you want to create a new custom page in wordpress which use back the current theme. Go to wp-content > themes > your-current-theme-folder and copy all the files in the folder. Create a new folder in the root directory and paste all the files into the folder. Name it as what you want the page to be(eg. links) Then go to index.php in the folder and insert this on top of the file:

HTML:
< ?php require('../wp-blog-header.php'); ?>

The path depends on where your wp-blog-header.php is located.

Next is to customize the content for the page. Open index.php again and look for:

HTML:
<div id="main">
       
bla bla bla

</div>

Remove everything in the bla bla bla and replace with your own stuff. If you want to keep the sidebar and footer then do not remove < ?php get_sidebar(); ?> or < ?php get_footer(); ?> If you do not want to keep them then remove this two code.

To see your new custom page, go to http://your-domain/your-foldername
In my case it will be http://www.kahsoon.com/links
Enjoy your new custom page :razz:

Send a friend | Permalink

Related Links


  • I got the WordPress.com Golden Ticket!
  • New Wordpress Template
  • Kahsoon.com Wordpress Blog Stats
  • Page Rank
  • Wordpress Hierarchical Category Indent
  • Wordpress Comment Spam Blocker
  • Archive Post Counter In Wordpress
  • Page Rank Updated
  • How to detect fake page rank?
  • Wordpress Template Tweaks

  • This site is hosted under Dual Xeon Dedicated Server. If you are looking for Dedicated Server as well, please visit Hosting Zoom for their Fully Managed Dedicated Servers Offer. Their high performance servers come with 1000 GB of monthly data transfer and dual 80 GB drives.

    One Response to “Creating a new custom page in Wordpress”

    1. 1
      dikiz Says:

      You post intersts me, but you could make it a little more precise ?

      To what are refering by “all the files in the folder”? By “name it” ?
      Well, english is not my mothertongue, so I would appreciate if you enlight me a bit.

      thk!

    Leave a Reply

    Latest Posts


  • Philippines Prison Thriller
  • Simpsonize Me
  • Harry Potter and the Deathly Hallows Spoiler T-Shirt
  • Iron Man Movie Trailer
  • Screamin Beans
  • Funny Cursor
  • Mentos and Carlsberg
  • Death Note
  • Real Snake Game
  • Inside PS3
  • Search Tags

    wordpress (8) - boobs.ppt (4) - boobs ppt (3) - sexypowerpoint (3) - ppt boobs (2) - "index of/"boobs.ppt (1) - related:sexypowerpoint.web-gratis.net/ (1) - creating a new page in wordpress (1) - funny junk create (1) - custom pages with WordPress hosted (1) - boobs +ppt (1) - How to create new .php page in Wordpress (1) - custom php page in wordpress (1) - replace index page with custom page wordpress (1) - ppt funny (1) - wordpress detecting which page (1) -