WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mgcwebdesign
    Member
    Posted 8 months 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.

    Thanks!

  2. jmessick9
    Member
    Posted 8 months 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
    Member
    Posted 8 months 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?

Reply

You must log in to post.

About this Topic