Support » Plugins and Hacks » Kontera – Exclude Category

Kontera – Exclude Category

  • Hi,

    I’m going to install the Kontera text link ads in on my wp site. The documentation says to exclude a passage of text from being affected wrap the passage with:

    <span name="KonaFilter"></span>

    Here’s what I’m trying to do. I want to exclude a particular category.

    How can I do something like…

    If category is testcategory
    Wrap with <span name="KonaFilter"></span>
    end if


Viewing 1 replies (of 1 total)
  • <?php if (is_category('5')) { echo ('<span name="KonaFilter">'); } ?>

    Replacing the number 5 with the ID of the testcategory.

    Then do the same for the closing span tag should work.

Viewing 1 replies (of 1 total)
  • The topic ‘Kontera – Exclude Category’ is closed to new replies.