I'm currently working on a new Wordpress Theme and I got in trouble.
At first:
I have a homepage (running under: localhost/) and a blog (running under: localhost/blog)
My index.php have a custom Loop and my "blog"-section is a custom page-template (blog-template.php) with "The Loop" (I hope you understand what I mean). It works fine but there is a problem if I try to get all posts from a category, in this case Wordpress is loading the homepage with category parameters.
Is there a way to set something like a base url for Wordpress?
I hope some gurus can help me with this.
Hey guys,
I'm currently working on a new Wordpress Theme and I got in trouble.
At first: I have a homepage (running under: localhost/) and a blog (running under: localhost/blog)
My index.php have a custom Loop and my "blog"-section is a custom page-template (blog-template.php) with "The Loop" (I hope you understand what I mean). It works fine but there is a problem if I try to get all posts from a category, in this case Wordpress is loading the homepage with category parameters.
Is there a way to set something like a base url for Wordpress? I hope some gurus can help me with this.
Is this what you're looking for?
http://codex.wordpress.org/Creating_a_Static_Front_Page
You have Step 1 down. Now I think you just need to do Step 2.
Yea, thank you! This is what I've been looking for.