[resolved] Exclude postinfo.php for my event categories (2 posts)

  1. markusday
    Posted 3 years ago #

    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.

  2. markusday
    Posted 3 years ago #


    <?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.

Topic Closed

This topic has been closed to new replies.

About this Topic