Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #291263

    I have never been able to get the Read More Tag working for my blog posts. I tested by removing all my custom css thinking some of my modifications may have disabled the shortcode, but no luck. Any ideas?

    Thx

    #291378

    Hi simchippy!

    Thank you for using the theme!

    Please edit the page then edit the Blog Posts element. On Blog Content length setting, choose Excerpt with Read More Link.

    Cheers!
    Ismael

    #291662

    I think I tried all combination of settings and Im still struggling to get the Blog post element to use the read more short code manually added to the post instead of showing the entire post or a uniform 4 lines of text.

    When applying the Excerpt with read more link option: it displays 4 lines of the post with […] and has a read more —> link but does not use the read more short code applied to the post. All excerpts are uniform.

    When applying the Excerpt option: it display 4 lines of the post with […] but does not use the read more short code applied to the post. All excerpts are uniform.

    Any ideas or code to allow read more short code to work?

    Thx

    #291677

    Hey!

    It seems like you’re using the “Blog” element to display the blog. You’ve two options:

    1) Do not use the read more tag but the “excerpt” option field on the post editor page to create the excerpt.

    2) Add this code to the functions.php file:

    
    add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1);
    function avia_category_content_filter($current_post)
    {
    if(!is_single())
    {
    	global $more;
    	$more = 0;
    	$current_post['content'] =  get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>');
    }
    return $current_post;
    }
    

    Regards,
    Peter

    #291703

    Code worked perfect! Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Read More Tag’ is closed to new replies.