Hi,
First, the link to my wp-blog (under construction):
http://www.dauntless.be/V2/wp/
Now, click 'A*(Astar)' in the top menu. This takes you to another page on my site. In the left sidebar, there is a list of Pages. If you click on one of them, you can see the page, but you are redirected to the 'blog' section of the site. This is expected behaviour:
index.php)
<?php
get_header();
?>
<?php
$id = addslashes($_GET["page"]);
switch($id)
{
case 1:
require_once("blog.php");
break;
case 2:
require_once("contact.php");
break;
case 3:
require_once("astar.php");
break;
default:
require_once("blog.php");
break;
}
?>
<?php get_footer(); ?>
blog.php is the normal blog-post flow.
Because it goes to blog.php by default, it displays the wrong sidebar (and other things).
My question:
How can I add the "page=3" to the links ('s) of the Pages? So that when you click a Page, you can still see the left sidebar with the Page list, and the Page you clicked on the right side.
If I'm not clear, please do tell me!