Help with PHP code
-
Hi
I have wrote this piece of code so if the current page is category id 3 (my news category) then my news sub menu will appear.
It may be wrong but it works.
if ($cat = array(3) ) {
$cat = array(3);What i want to do is apply the same rule for more categories. I need my portfolio, about and faq categories individuals menu’s to appear (id’s = 11,12,14) but i dont know how to add more to my code.
Can anyone help?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Help with PHP code’ is closed to new replies.