index.php?p=0
-
Is https://whereever/blog/index.php?p=0 a valid way to get the ‘default’ post selection that would be set for https://whereever/blog.
I have set up a home.php that is similar to sidebar.php in content. I then have a link to what would normally be the default blog content. Obviously it’s a link to …/index.php?p=0.
I use if( ‘0’ == $_Get[‘p’] ) to figure out which way to display home.php.
It works but, is there anyone that knows if it’s “supposed” to work or is there a better(documented) way to achieve the same result? I just don’t want to depend on something that is sure to fail soon because I really don’t understand yet how WordPress works.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘index.php?p=0’ is closed to new replies.