![]() |
Wordpress Gurus... Help Me Please... Exclude Category Posts!
I'm trying to exclude a category from displaying it's post on the pages of my blog... I can get it work but when I do you can't navagate to other older posts :mad:
Here is the code I'm taking from wordpress help... Code:
<?php Code:
<div id="content"> Thanks in advance for the help :thumbsup |
you have to handle pagination
Code:
<?php if (is_home()) { |
Thanks fris... you rock :thumbsup
|
there's also a plugin that does it all.
Look for "Simply Exclude" |
Just tryed that code Fris and I get
Parse error: syntax error, unexpected '=' Any idea what the problem could be? |
Quote:
Anyway, alternatively you may try this with the is_home approach to see if it works (change is_archive to true if needed): Code:
|
aaah, now that I take a closer look to the code fris posted I see the problem. Instead of copy/pasting the code as fris posted, do it like this:
Code:
<?php if (is_home()) { |
jeeez, did u just miss that there's a ready made plugin - talk about stubborn :)
|
Quote:
|
Quote:
|
Quote:
I didn't miss it but I'd rather use plugins for the big stuff rather then bloat my blog with a bunch of plugins... especially when it only a few words of code and some help to get it working right! |
sowwy - my bad :)
|
All times are GMT -7. The time now is 12:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123