Create a static wordpress page

After a lot of failures,i successfully learnt how to build a real static wordpress page.(like http:// mywordpresssite/mypage.php).

Here are the steps,

Step 1: create a text file

step 2:add this code at the top of the file

<? require( dirname(__FILE__) . ‘/wp-load.php’ );

include(“wp-content/themes/default/header.php”); ?>

(Replace the default theme with your own theme name)

step 3:put your contents from the next line

step 4:when you are finished adding contents,add these  lines at the end

<?
include(“wp-content/themes/default/sidebar.php”);
?>
<?
include(“wp-content/themes/default/footer.php”);
?>
</body>
</html>

(Replace the default theme with your own theme name)

step 5:save the file as pagename. php

(Replace your pagename with your own one)

step 6:upload the php file to you server at the root directory where wp-login.php is present.

Now your page can be accessed at http://your site.com/pagename.php.

That’s it….

Random Posts

  • Hotmail service unavailable on Feb 17th!
    The World's Top Email service provider Hotmail was down yesterday.This caused a little inconvenience among its users. Along with Hotmail,Windows Live Spaces(...
  • Free YouTube theme for Wordpress Blog
    New Version Of The Youtube Wordpress Theme Available here Hi This wordpress theme is first of its kind which lets you to create a video blog with wordpress. ...
  • Weighing Brand Awareness and Search Engine Rankings
    Prior to registering your domain name, you initially contemplate of which is more significant, brand awareness or search engine rankings. It does not signify th...
  • Where to Find Web Hosting for Your Word press Blog
    Did you know that cheap web hosting services are available for your word press blog directly through the platform in which the blog is posted, through word pres...
  • A Review of Temi.Co.Uk
    The Temi.co.uk provides you with solutions regarding information on blogging, web hosting, domain names, website marketing, domain name registration, website se...

No related posts.

Post a comment

Copyright © TLDblogger.com |