• Resolved cfibanez

    (@cfibanez)


    In certain categories, I would like to skip the post title. I found out that it is possible not title a post, but after a few dozens of posts are entered as untitled, it is very hard to keep track of what is what. Is ther any way of ommitting the title of posts when displayed under certain categories? Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Create your own category specific templates and simply omit the post title.

    Thread Starter cfibanez

    (@cfibanez)

    Thanks. In order too skip the heading on posts displayed under category #18, I changed this in the Loop:

    <?php bfa_post_headline(‘<div class=”post-headline”>’,'</div>’); ?>

    into this:

    <?php if (!is_category(‘Category 18’)) { ?>
    bfa_post_headline(‘<div class=”post-headline”>’,'</div>’); <?php } ?>

    But it does not work. It does not show heading in any post regardless of category. Wrong syntax? Please help.

    • is_category('18')
    • in_category('18')
    Thread Starter cfibanez

    (@cfibanez)

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I avoid showing the post title under certain categories?’ is closed to new replies.