• On my free Astra theme site blog page it shows all my posts.

    Example…….

    My Most Popular Railway Photograph

    Leave a Comment / — / By admin

    My Most Popular Railway Photograph If you put one of your latest railway photographs on social media, you will hope that people will like it. I have just recently done this and I was surprised at the results within a week. The photograph below is what I took on the 30th August 2021 and I …

    Read More ?

    How can I do the following things…….

    1. Remove – My Most Popular Railway Photograph title from the paragraph.

    2. Change the last line in the paragraph so it ends with a full stop.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jedicolin,

    You might want to add your own excerpt to the Excerpt field.

    I hope it will help.

    Kind regards,
    Herman ??

    Thread Starter jedicolin

    (@jedicolin)

    Thank you @bsfherman

    I have just used the excerpt but how do I add the link …..’Read More Here’?

    Thank you.

    Hi @jedicolin,

    We are sorry for the delay.

    Unfortunately, when a custom excerpt is added, the Read more link will not appear. Try adding the following snippet and see if it works for you

    function new_excerpt_more($more) {
        return '';
    }
    
    add_filter('excerpt_more', 'new_excerpt_more', 21 );function the_excerpt_more_link( $excerpt ){
        $post = get_post();
        $excerpt .= '<p class="read-more"><a class="ast-button" href="'. get_permalink($post->ID) . '">Read more ?</a></p>';
        return $excerpt;
    }
    
    add_filter( 'the_excerpt', 'the_excerpt_more_link', 21 );

    I hope it will help.

    Kind regards,
    Herman ??

    P.S. We recommend reaching out to us through our Support Portal for faster help and resolution as mentioned here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blog Page Help’ is closed to new replies.