[Resolved] Show gp hooks on posts only

Home Forums Support [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.