...

How to show Post excerpt home page twenty fourteen theme? I was wondering how I can show only excerpt onto the home page? This is a simple process please see the step by step tutorial below.

Before doing that please create a child theme for the main theme twenty fourteen. How to create a child theme and why you use a child theme?

  • When you create a child theme and installed it to your domain and activate then upload content.php to the child theme folder.
  • Now search for the bellow code in content.php

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

  • And replace that code with the bellow code

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

Now save and close the content.php and refresh the site. That’s all enjoy.

Now you may like to use the Continue Reading, Read More option instead of […] at the end of the excerpt.

Related Posts

How to create clickable phone and sms link?

How to create clickable phone and sms link?

How to create clickable phone and sms link? Nowadays no one can pass a single day without a smartphone. Laptop/Computer Tabs are much more essential for web browsing in modern day. So a web designer or web developer should care about creating clickable phone links and...

read more
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.