Support » Theme: VW Bakery » Shorten page excerpt in slider

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author VW THEMES

    (@vowelweb)

    Hello @tipsybakes,

    If you will use slider images of 1500 x 600 dimension your content looks properly, for changing excerpt value we have to edit in code files.

    Thanks.

    OK I will change the slider images to the correct dimensions. Do you know the code for changing the excerpt value in the child theme?

    Thanks
    Leanne

    Theme Author VW THEMES

    (@vowelweb)

    Hello @tipsybakes

    For excerpt value

    Go to Theme Folder >> Page Template >> Custom Home Page >> You will get the below code Change the value 20 as per you want >> Update it.

    <p><?php $excerpt = get_the_excerpt(); echo esc_html( vw_bakery_string_limit_words( $excerpt,20 ) ); ?></p>

    Thanks.

    Hi,

    Instead of changing the size of the excerpt is there any way to change the text in the excerpt, without changing the text on the actual page?

    Thanks
    Leanne

    Theme Author VW THEMES

    (@vowelweb)

    Hello @tipsybakes ,

    Excerpt is a dynamic code in WordPress so you cannot add text in excerpt you have to add the text in perticular page or post.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shorten page excerpt in slider’ is closed to new replies.