Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    http://www.kriesi.at/support/topic/using-excerpts#post-119165

    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.

    #125855

    Hi,

    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 .

    Thanks,

    Nick

    #125856

    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.

    #125857

    Hi,

    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.

    Regards,

    Ismael

    #125858

    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.

    #125859

    Hi,

    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.

    https://docs.google.com/file/d/0B8hqGBMSfHtKdG9TekJjSktxZFU/edit

    Thanks,

    Nick

    #125860

    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.

    #125861

    Hi,

    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

    Regards,

    Ismael

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

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