Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Show gp hooks on posts only

Home Forums Support Show gp hooks on posts only

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #379338
    Deniz Akay

    Hi,

    I want to show GP hooks on posts pages only, i mean on single.php.

    I checked “Execute PHP” box and tried this code but it didn’t work:

    <?php if ( is_single() ) {
    ...
    <?php endif; ?>

    Thanks a lot!

    #379358
    Deniz Akay

    Problem solved:

    <?php if ( is_single ( ) ) : ?>
    ..
    <?php endif; ?>

    🙂

    #379536
    Leo
    Staff
    Customer Support

    Glad you found the solution 🙂

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