I have been trying to figure out how to have a second blog on my blog (wordpress) without having to install multi-user. I've read that you can create a page that filters certain categories to make it look like a second blog. However, for the life of me I cannot figure out. I've gone to wordpress.org but they are no help. Does anyone have any ideas?
Why not just use .htaccess and mod_rewrite. Send them over to another wordpress blog that exists on the same site and just mod_rewrite it?
Truthfully, I don't know if I am that technically savvy. There has to be a way that doesn't require changing the server or hacking wordpress. At least, I hope there is!!!
Can you explain a bit more about what you have in mind because it's not completely clear. Without some serious hacking you can not have two blogs in the same directory..(it's not impossible) but you can setup multipal blogs using different directories or subdirectories
@edynas: My blog is still in the stagging phase or I would give a link. However, in essence what I am trying to do is have a static page as my home page. Then I have my main blog posts pointing to a page called "Blog." I want to have another page (that is part of the top navigation) with the title, "News" which is all the blog post that fall under the different categories of N"news," "updates," and "ideas." I don't want to have to create another blog in order to have a second page as a blog. Any suggestions would be very welcomed!
So you want www.yoursite.com to be static, yoursite.com/blog to be your general posts, and yoursite.com/news to be news items. If you don't need to change the theme between pages, you can do this: yoursite.com/blog/category/news with "categorykiller plugin" you can remove the "category" and set up your blog to be yoursite.com/blog/news-ideas/post yoursite.com/blog/news-updates/post Does that work?
You can create a static homepage by making a file called home.php in your theme you are using. It does not have to have any wordpress code in it if you don't want it. So you decide the look of that homepage. Next you can have a category news and blog and under blog put all the other categories and use the plugin metioned by amanamission which you can find here http://www.brianshoff.com/wordpress/category-base-removal-plugin.htm In the header of your pages set the links for the homepage, newscategory and the blog "category" and that way you can put all in one install
@amanamission & @Edynas: Thanks, that looks like a viable solution. Here's my next my question. By using your suggestion it seems that I need to hard code my navigation, instead of allowing wordpress to create my top navigation whenever I create a new page. Is there a way to point this page to the category page and not have to hard code it?
In the code that wordpress uses to list pages you can exclude and include pages (see http://codex.wordpress.org/Template_Tags/wp_list_pages ) the same goes for categories. I assume you will have several categories which fall under the blog and just one category news and no subs there. Having a standard installation your categories will look like this category 1 : news (renamed the default uncategoriesed category) category 2 : blogroll (since 2.3 it's a category don't ask me why) category 3: blog you added this etcetc category 4 : a sub under blog The navigation could look a bit like this <ul> <li>link for homepage</li> <li>link for newspage</li> <ul> <?php wp_list_categories('orderby=name&child_of=3'); ?> </ul> Code (markup): That way you don't have to hardcode all of it and let wordpress make the navigation for all the subcategories
@Edynas: I thought of this, but I wanted the newspage to be at the end, but I wonder if I move the newspage code past the php code if I can still accomplish this. I will give it a try. Again, I really appreciate your input.
I just tried this solution: With the plugin suggested by amanamission I could create category that the news section could point to. I also was able to put news at the end of the navigation by placing it after the php code. Works like a charm!!! Thanks again for all your help DP membs! I've been trying to find a solution for this for weeks.
You can put the php command to query posts or categories and list them in order on you page. I believe that the code to query categories something like <?php wp_list_categories; ?> (I have placed this code in the top nav bar of one of my themes and it displays the categories. I change nothing. When I add a category, it shows up.) Look in your theme code for exact php for categories or posts if this does not work.