Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Looking for a code for post excerpt in WP (https://www.warriorforum.com/programming/1153712-looking-code-post-excerpt-wp.html)

fisholiub 27th January 2016 02:08 PM

Looking for a code for post excerpt in WP
 
I like to know how to display post excerpt instead of full post in Twenty Sixteen
Cheers!

jasonthewebmaster 27th January 2016 03:53 PM

Re: Looking for a code for post excerpt in WP
 
look in your index.php file. replace
<?php the_content(); ?>
with
<?php the_excerpt() ?>

fisholiub 28th January 2016 02:52 AM

Re: Looking for a code for post excerpt in WP
 
Unfortunately that code change has no effect for me.
Cheers!


All times are GMT -6. The time now is 04:12 AM.