Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 27th Jan 2016, 02:08 PM   #1
Warrior Member
 
Join Date: 2010
Posts: 25
Thanks: 32
Thanked 1 Time in 1 Post
Default
Looking for a code for post excerpt in WP
Share on: 
fb share twitter share gplus share more share

I like to know how to display post excerpt instead of full post in Twenty Sixteen
Cheers!
fisholiub is offline  
Unread 27th Jan 2016, 03:53 PM   #2
Banned
War Room Member
 
Join Date: 2010
Location: ǝɹnʇnɟ ǝɥʇ
Posts: 1,639
Thanks: 1,641
Thanked 706 Times in 364 Posts
Default
Re: Looking for a code for post excerpt in WP
Share on: 
fb share twitter share gplus share more share

look in your index.php file. replace
<?php the_content(); ?>
with
<?php the_excerpt() ?>
jasonthewebmaster is offline  
Unread 28th Jan 2016, 02:52 AM   #3
Warrior Member
 
Join Date: 2010
Posts: 25
Thanks: 32
Thanked 1 Time in 1 Post
Default
Re: Looking for a code for post excerpt in WP
Share on: 
fb share twitter share gplus share more share

Unfortunately that code change has no effect for me.
Cheers!
fisholiub is offline  
Closed Thread


Bookmarks

Tags
code, excerpt, post, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 03:50 AM.