WordPress.org

Support

Support » Themes and Templates » [Resolved] Show no display social icons on Home

[Resolved] Show no display social icons on Home

  • M3
    Member

    @musadiqmarhaban

    Hello,

    I’m planning to using Easy Social Icons for my site. They have this php tag <?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?> to display the social icons.

    So I add the code on loop-single.php, just above the php content. When I try the code it works nicely and display as it should, but since I use static page for my home page, the social icons also appear on all the other pages including the front page.

    I only want the social icons appear on the single post and not on the pages.

    Will it be possible to make this exception using the code above?

    Thanks you very much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Show no display social icons on Home’ is closed to new replies.