Soder
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogIt works superb now!
If anyone else are looking for a similar solution here’s what I did:
Added
<?php query_posts($query_string . '&cat=-ID'); ?>to index.html before the loop, (ID = the category ID)
this prevents all posts with that category ID to show in the main blog.I created the page template with essentially the same code as the one in index.html but the above code changed to
<?php query_posts("cat=ID"); ?>which shows all posts with that category id.
pretty easy solution if I may say so 🙂
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogNevermind, found it! Thanks!
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogHm can I have more than one page template? Since I have “normal” pages and this special one?
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogYep that part was really easy, now I pretty much need to do the same thing but inverted 😉
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogWow thanks for all the help and thanks for your time! This is very useful! I’ll tell you how it works out!
Forum: Fixing WordPress
In reply to: Secondary blog or a sub-blogActually that would work.
Hm..
How would I accomplish that? The filtering part on the mainblog and the showing of only that category?