header for each category
-
Hi everyone.
when i put this code in the index.php file of my template:<?php if (is_category('Commander')) { get_header('commander'); } else { get_header(); } ?>[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
it wont work. i tried to test if the “header-commander” by getting this header as a default, so the problem is in the IF section.
how can i solve this?
thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘header for each category’ is closed to new replies.