• Resolved TMH13

    (@tmh13)


    Hello,

    I started a new blog site with 3 friends, and I’m trying me best to figure out how to have only titles or titles/summary show up on the main page, instead of the posts in their entirety. I’m using the 2014 Theme currently, 4.1. (In addition, are there any existing theme options on there that I could choose that would have this coded as default? That could also be a solution I suppose)

    I’ve seen that I need to remove something from the loop, and I have tried my best to research the coding aspect and find the solution/what to do/where to go, but have failed as I am not experienced in this at all.

    Any easy insight? Any way to quickly/easily make it so it’s just the title showing on the main page instead of the entire post? Thanks! (talkingaboutpractice.net is our site, just started it up) I appreciate any input or help anyone can provide.

    -TMH

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    First thing you want to do is create a child theme if you haven’t already. This will help from things going too wonky if the theme updates and you won’t lose any customizations as well!

    Once you’ve done that you will want to create a content.php file by copying twentyfourteen’s content.php file and saving it to your child theme’s folder. The line you will want to change begins with


    <?php if ( is_search() ) : ?>

    You will want to add one minor thing. The new line will look like:


    <?php if ( is_search() || is_front_page() ) : ?>

    Everything else stays the same.

    Thread Starter TMH13

    (@tmh13)

    Thank you so much for your help! This worked perfectly.

    I used Orbisius Child Theme creator, created the content.php file like you said, and edited exactly as you did. That was awesome, I appreciate your help very much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changes in the Loop for content/title only’ is closed to new replies.