is_category issue needs solving

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Akinyele
Forum Newbie
Posts: 1
Joined: Mon Jan 24, 2011 4:56 pm

is_category issue needs solving

Post by Akinyele »

I sure hope some more knowledgeable than I can solve this for me.

1. I downloaded a free Wordpress template from here:
http://forums.digitalpoint.com/showthread.php?t=1871229

2. I installed it successfully and followed the author's instructions on setting up the top main navigational system to appear like on his demo. Screen to his demo is here: http://oi56.tinypic.com/315mw08.jpg
Image

3. My site's navigational system however currently appears as such: http://oi56.tinypic.com/hv6rfa.jpg
Image

4. As per the author's instructions, I have the code set up in this fashion: <?php if (is_category(array(1,3,4,5,6,7))) { ?>

Each number represents a category ID number which I created yet it remains as such. I tried replacing the ID's with category name and slugs as I read in the codex to no avail. I'm obviously missing something here as several other sites have successfully got it to work. The author's advice to me was to "use custom menus" in WP. I'd rather learn what the issue is and how to resolve it.
Post Reply