• Resolved markusday

    (@markusday)


    I want this tag to not be applied for certain categories:

    <?php include (TEMPLATEPATH . '/postinfo.php'); ?>

    What code must I insert?

    The tag shows post information after the title as so on single.php

    Impakt Festival
    by John Doe | October 20, 2012 | 0 Comments

    I don’t mind this but I don’t want it to appear for certain categories.

Viewing 1 replies (of 1 total)
  • Thread Starter markusday

    (@markusday)

    Solved:

    <?php if (!is_singular( 'event' ))
    {
    include (TEMPLATEPATH . '/postinfo.php');
    }

    This should work for those using WP Clear theme in combination with WP Events Manager by Marcus.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude postinfo.php for my event categories’ is closed to new replies.