Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #196506

    I’m curious why there’s no “Excerpt With Read More Link” option under General Settings > Blog Style. It seems like the only way to get the “Excerpt With Read More Link” listings on my Blog index is to set Theme Options > And where do you want to display the Blog? to “Select Page”, create the Blog index as a “normal page”, insert a Blog Posts Content Element, and then select “Excerpt With Read More Link”. Is that true or am I missing something?

    Thanks!

    #196604

    Hey sky19er!

    Yes, that is correct. You can also use the <!–more–> tag or enable the Excerpt option on posts.

    Best regards,
    Ismael

    #196736

    OK, thanks. So, when I use the method I noted to get my “Excerpt With Read More Link” Blog index, I notice, the single.php page title switches from “Blog” to “Blog – Latest News”, and those titles link to the home page? Seems like the title should stay the same — “Blog” — and link to the Blog index page. Can you tell me how to fix that? Should I start a new thread for this?

    Thanks again!

    #196737

    Here’s a link to my dev site blog index: http://cbdmh.info/news2/ and an example single post http://cbdmh.info/dsm-5-recap-the-eight-dimensions-of-psychosis/

    #196883

    Hi!

    Please deselect the page on Enfold > Theme Options > Where do you want to display the blog? option. Create a page then insert the Blog Posts element.

    Regards,
    Ismael

    #196894

    Yeah, that’s how I have it, but that’s what causes the little problem I described above with the title switching to “Blog – Latest News” and linking to the home page instead of the blog index.

    ][;;;;;;”\]

    #197265

    Hey!

    You can replace the blog headline by editing single.php or by using a filter. I recommend to use the filter code below because you can insert it into your child theme functions.php and by going this way your code is upgrade safe and you can upgrade the parent theme without loosing the customized code. Open up the functions.php file and at the very bottom insert

    
    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if($args['title'] == 'Blog - Latest News')
    {
    $id = 120;
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id),
    }
    
    return $args;
    }
    

    Instead of 120 insert the id of your blog page. If you don’t know how to find the id please read this article: http://www.ostraining.com/blog/wordpress/how-to-find-the-page-id-in-wordpress/

    Best regards,
    Peter

    #197496

    Hey thanks so much for the detail instructions. Do you guys already have it in the feature requests to provide an “Excerpt With Read More Link” option under General Settings > Blog Style? In my experience, that’s the most standard Blog index page style.

    • This reply was modified 11 years ago by sky19er.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Excerpt With Read More Link Blog Style’ is closed to new replies.