Yogi Welcome doesn't have a summary

Home Forums All Other Themes Yogi Welcome doesn't have a summary

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33697
    DeborahDeborah
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: May 11, 2016

    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

    #33733
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    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

    #33746
    DeborahDeborah
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: May 11, 2016

    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

    #33759
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    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

    #33836
    DeborahDeborah
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: May 11, 2016

    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

    #33844
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    HI Natasha,

    Kindly send us your WordPress admin details via sktthemes.net/contact

    Regards,
    Shri

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.