I’ve posted on kitty’s website, but maybe someone here can help – I’m trying to use the show-categories plugin in order to exclude posts in a particular category from showing.
I dropped the plugin file and activiated it. And replaced the particular code as follows:
“In index.php replace:
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
with:
<?php hide_category_posts( 'category=1' ); ?>
<?php if ($hcp_posts) : foreach ($hcp_posts as $post) : start_wp(); ?>
When I do this, nothing happens.
I read on her website that someone suggested replacing the colons with curly brackets. When I do that, I receive this error message:
Parse error: parse error, unexpected T_ENDFOREACH in /home/stefan/public_html/wp/index.php on line 194
Any ideas/comments/suggestions?
Thanks in advance ??