[Resolved] PHP filter in GP Hooks for posts with a certain tag

Home Forums Support [Resolved] PHP filter in GP Hooks for posts with a certain tag

Home Forums Support PHP filter in GP Hooks for posts with a certain tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #373782
    dale

    Hi, in GP Hooks, I’m using PHP filters to add text after the content on posts of specific categories. For example,

    <?php
    if ( in_category( 'calls-for-submissions' ) && is_single() )
    { ?>

    What do I do if I want to add content on posts with specific tags? Would it be in_tag instead of in_category?

    #373808
    Leo
    Staff
    Customer Support
    #373823
    dale

    Thank you!

    #373907
    Leo
    Staff
    Customer Support

    No problem!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.