in Twenty Fourteen how can I only show comments and posts on the home page and? (3 posts)

  1. mgcwebdesign
    Posted 2 years ago #

    is there any way to to show comments only on the home page and hide them on other pages? I am using the theme Twenty Fourteen. I have figured out how to hide them on every page.


  2. jmessick9
    Posted 2 years ago #

    Might want to look at ( is_single() OR ( is_page() http://codex.wordpress.org/Function_Reference/

    Might help get you in the right direction.

  3. mgcwebdesign
    Posted 2 years ago #

    Where would I post this code? Can I put php code in the style.css file that would set the .page comments display:none on pages where is_page(home):false?

Topic Closed

This topic has been closed to new replies.

About this Topic