• Resolved andymacdonalduk

    (@andymacdonalduk)


    Hey Guys,

    I am currently using the following if statement on my blog, but need to modify how it works slightly, im just not sure what to change.

    Currently im using…

    <?php if ( in_category(’27’) ) { ?>

    to show a slightly different layout. How can i add MORE that the one category in the statement? Currently im using category 27, but i need to include category 13 into that statement too.

    where do i add the ’13’ to in ‘<?php if ( in_category(’27’) ) { ?>’ please?

    Kind Regards,
    Andrew

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How Can I Use This If Statement on in_category…’ is closed to new replies.