Before you ask please READ THIS

Formatting excerpt

I'd like to add a "…" at the end of my excerpts. Maybe even make the read more part of the same paragraph "blah blah blah … read more"

I don't see any way to do it with the CSS what function do I need to edit?

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    Well it is not CSS that should do that work, but it is possible:-)
    However this is not how we will do it.
    Firstly please show me link to place where you want to add this new "Ending" as there various place where this can happen.
    You can also add screen shot where you mark exact place.

    With kind regards.
  • I'm considering doing it two different ways:
    1. Ellipses at end of excerpt as shown.
    2. Move "read more" to make it part of the excerpt paragraph.

    Not sure if ultimately I'll want to do #2, but at the very least, I need some characters at the end of the excerpt.

    Thanks.
    Screen_Shot_2016-10-19_at_2_49_02_PM.png
    822 x 277 - 64K
  • AirAir
    Posts: 10,970
    Like I asked before - please send link so I can know is it standard blog list or post grid.

    With kind regards.
  • This site is not publicly accessible, but I'm referring specifically to the post grid.
  • Posts: 1,758
    jpetrisko said: but I'm referring specifically to the post grid.
    great! which Grid element template are you using? (can be found in post grid shortcode settings, 'Item Design' tab)

    Remember to rate our theme if you like it ;)
    All the Best.
  • "Fatmoon Post"
  • AirAir
    Posts: 10,970
    OK, thanks for all info. Add such code to functions.php file in theme:
    
        function apollo13framework_new_excerpt_more() {
            global $post;
            return ' <a class="more-link" href="'. esc_url(get_permalink($post->ID)) . '">'.esc_html__( 'Read more...', 'apollo13-framework' ).'</a>';
        }
    
    Should do the work :-)

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!