Creating external wordpress pages

Sometimes we need external wordpress pages to do custom things on our website. For example we made news ticker geneartor page with this way. Here’s the code that you may use for creating external pages manually;
1. Copy this code;
<?php
require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
?>
<?php get_header(); ?><? include(”menuler.php”);?>
<div>
<div>
write content here
</div>
<div>
<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
</div>
<div>
<?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
</div>
</div>
<?php get_footer(); ?>
2. Save it as “test.php”
3. Upload it to your main wordpress directory
That’s it.
