Home › Forums › All Other Themes › Yogi Welcome doesn't have a summary
- This topic has 5 replies, 3 voices, and was last updated 7 years ago by
Sonnal S Sinha.
-
AuthorPosts
-
May 16, 2016 at 4:35 am #33697
Hi,
I’ve been trying to set up the welcome section on Yogi Pro, but no matter what I do, the front page won’t create a summary of the text where you can click the link to ‘read more’. Instead it posts the entire page so there is nothing left to ‘read more’. I’ve tried changing the length of text on the page, even tripling it, but it still posts the entire text and not just a summary. Can you please help?
Our site is heartbeatoffootball.com.au, and my email is [email protected]
thanks
NatashaMay 16, 2016 at 6:55 am #33733Hi Natasha,
Kindly go to Appearance>>Editor>>page-box.php
Find this code
<?php the_content(); ?>
and replace it with this code
<?php echo content('30'); ?>
You can change the excerpt length by increasing the value.
Regards,
BradMay 16, 2016 at 9:16 am #33746Thank you,
I tried this but it is still not working correctly. A summary now exists, but all formatting in the text has disappeared, and I can’t get the summary to increase more than 56 words… I even put 2500 in for the value to see…
Natasha
May 16, 2016 at 11:51 am #33759Hi Natasha,
Kindly go to function.php and add this code in the bottom of the page.
function custom_excerpt_length( $length ) { return 100; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Regards,
BradMay 17, 2016 at 6:20 am #33836Hi Brad,
I’ve done as you asked, however all the formatting is still missing. Are you please able to help? We are launching the site on Friday and it looks really bad if we can’t even get our ‘welcome message’ to look right.
Thanks kindly
NatashaMay 17, 2016 at 7:27 am #33844HI Natasha,
Kindly send us your WordPress admin details via sktthemes.net/contact
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.