Only show first line of text in slider

  • Anonymous

    #5791

    Hello,

    I really love the Graphene theme and the slider !

    The slider now displays about 4 lines of my post.

    Would it be possible to only display the title of my post and the first line?

    This is how it is now: http://imageshack.us/a/img694/9773/screenshot001fh.png

    This is how I want it: http://imageshack.us/a/img692/6863/screenshot001jv.jpg

    Thanks in advance!

    Thibault

    Anonymous

    #32666

    See this – http://www.prasannasp.net/graphene-custom-slider-excerpt-length/

    You would need to change the length to around 10 words.

    Moved to Support. Please post in the correct section next time.

    Anonymous

    #32667

    Thanks!

    Do I have to put this in ‘Custom CSS’?

    Anonymous

    #32668

    No, in the child theme’s functions.php file. Don’t forget to put the code between <?php and ?>

    Anonymous

    #32669

    Every thime when I do this, and then click ‘Save’, I get an ‘500 Error’ and can’t login anymore in my ‘wp-admin’.

    Lucky me, I have backups 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.