travelsonsaddles says

Hi,

I am totally new to WP and hope that someone out there can help me out. I assume that my query isn’t too complicated yet I don’t seem to be able to find a working solution.

I plan to run two languages on my blog. Main language will be English but I want to have a page on which I can include posts in Polish only.

I’ve managed to successfully exclude Polish posts from my home page by adding

<?php if ( is_home() ) { query_posts($query_string . ‘&cat=-3’); } to my index.php (I’m using Weaver II theme)

I’ve tried this

<?php if ( is_page(‘zapiski-moniki’) ) { query_posts($query_string . ‘&cat=3’); } both in index.php and loop.php but this doesn’t seem to do the trick and all posts show on that page, not just the ones in Cat 3 (being in Polish)

Is it the wrong code or am I putting it in the wrong place, or maybe I defined my page incorrectly?

I’d very much appreciate any help.

Thanks!

4 months ago