Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    I have the same question. I tried to use different ellipses without success. If someone has a good idea on this, that would be great!

    Thread Starter CreativeFedora

    (@creativefedora)

    As a matter of fact I figured how to add a line break. You’ll have to go into the advanced-excerpt.php file and edit in the line break.

    Find this string of code:

    if ($read_more)
            $ellipsis .= sprintf(' <a href="%s" class="read_more">%s</a>', get_permalink(), $read_more);

    And this is how I altered it to have the read-more text appear on the next line:

    if ($read_more)
            $ellipsis .= sprintf(' <br/> <br/><a href="%s" class="read_more">%s</a>', get_permalink(), $read_more);

    Hope that it helps you out. But keep in mind if the plugin gets updated you’ll have to re-add the line break.

    Hi Creativefedora,

    Thanks for the info. That’s OK for me.
    That would be good to have a css file able to manage this kind of thing (I’m thinking to add some css code in order to design the button for example …)
    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced Excerpt] Line break for ‘Read-more’ Text:’ is closed to new replies.