If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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

    I edited the loop-index.php file by placing (includes > loop-index.php) in my child theme folder and editing the code according to this post.


    This is indeed render the listing with an excerpt. But when I click the “read more” link I see in the URL its the single post but only the excerpt is displaying not the full post.



    In its place try using this , though i think a better way would be to pull that login into the loop

    $blog_content = (how_many_posts() > 1 ) ? "excerpt_read_more" : "content";

    It works. Lets us know how it behaves. My laptop overheated so I can’t tell .




    Hi Nick,

    I tried your recommendation, however it displays no listings.

    Also not sure what your recommendation of “though i think a better way would be to pull that login into the loop” means.

    Maybe I am doing the blog/news section incorrectly? Although I do notice that your demo site included the entire post (not what we desire) in the archive listing.



    Yeah, I can see your problem. I really want to tell you that using <!–more–> tag will solve all your problem. It will display the excerpt for both blog and archive page. You don’t need to modify the theme files.




    True, but that also defeats the purpose of having an excerpt if we want to have a summary of our post and not the actual beginning of the post itself. Also if we have 100’s or 1000’s of posts to have to go into each one and insert a “more” tag is not very feasible.



    I am using v. 1.71 of the theme and everything works just fine.

    Here is a 2min video of 4 blogs types on the same page working with excerpts, more links, images, correct individual pages, etc.





    Hey Nick,

    Thanks for the quick video link. To start off, I just changed that preference in the theme options to no blog page. That started to make things to look better off the bat.

    I was also creating the latest news page as an archive. That is what I was used to from a previous theme and had it set to that page for the theme option.

    So now I created a new page with the blog post content element and its looking better and shows the title and the excerpt.

    However when I click on an category for the blog item in the minor meta under title it takes me to a page that lists the full items again instead of a excerpt. Can that be fixed?

    Thanks for your help so far. Trying to figure out this new framework is stretching my abilities a bit.



    Do what Nick says then edit archive.php, find this code

    $more = 0;
    get_template_part( 'includes/loop', 'index' );

    Replace it with:

    $more = 0;
    get_template_part( 'includes/loop', 'archive' );

    Go to includes folder, edit loop-archive.php then remove everything. Replace the content of the file with this code: http://pastebin.com/HtCj8bys



Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Still having issues with excerpt’ is closed to new replies.