Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
sniper2097Participant
Warning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220
Hi Jonny.
Sorry to hijacking the thread but I think you’ve done something I am trying to do.
I have two pages on my blog site – one “BLOG” and the other “NEWS”. Each of these pages use slightly different templates. I’ve also set up BLOG and NEWS categories.
I’m trying to modify the $args array so that it only picks up one category – the BLOG template only displaying posts in the BLOG category. And likewise with the NEWS category.
If you could give me any pointers on what git of code I edit and how it’d be appreciated.
Thanks