- This topic has 5 replies, 3 voices, and was last updated 8 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Yogi Welcome doesn't have a summary
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
Natasha
Hi 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,
Brad
Thank 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
Hi 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,
Brad
Hi 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
Natasha
HI Natasha,
Kindly send us your WordPress admin details via sktthemes.net/contact
Regards,
Shri
The Horse Ranch WordPress Themes by SKT Themes are designed to highlight the beauty and professionalism of equestrian businesses. With stunning layouts for service descriptions, […]
Tarot WordPress Themes by SKT Themes offer visually stunning and intuitive designs tailored for spiritual services. With features like appointment booking systems, service sections, testimonial […]
Adventure Sports WordPress Themes by SKT Themes are designed to meet these needs with dynamic layouts, high-quality image galleries, and dedicated sections for services, tours, […]