excerpts and content

Home Forums WordPress Themes – Premium Encounters excerpts and content

This topic contains 14 replies, has 26 voices, and was last updated by  Sharon May 5 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #14350

    Sharon May
    Member

    Hi I really need the Encounters Pro theme to display Archives, Blog and Categories as excerpt. The rest is ok as full content. Please can you tell how to change it as at present everything is showing as full content. I went into content.php and change the

    
    
    < ?php the_content(__('Continue Reading...', 'encounters')); ?>
     to 
    < ?php the_excerpt(__('Continue Reading...', 'encounters')); ?>

    However, it changes everything to excerpt. Where am I going wrong please? THX

    #18618

    Sushil Adhikari
    Moderator

    Try this:

    Here is some documentation as well:

    http://codex.wordpress.org/Function_Reference/the_excerpt

    #18619

    Sharon May
    Member

    Hi, that didn’t work but I did try:

    <

    However, my blog is still showing full content and I’d like an image in there. I have been following your video support and I think its missing ‘how to get the small image onto the blog’. I know how to upload image sizes etc but when you’ve got a big image on a post how does it convert to a small image on the blog? Ok enough for now, hope you can help. :huh:

    #18620

    Sushil Adhikari
    Moderator

    I’m not sure if you noticed but you have a double << at the start of the code; should be one only. Perhaps that is why it wasn't working? For the small blog image, that is controlled from the theme options Basic Settings tab on the customizer.

    #18621

    Sharon May
    Member

    also I don’t have recent_post in my extras?

    #18622

    Sharon May
    Member

    Hi somehow I’ve managed to create the recent post plus with the correct pic and wording – all good here. Archive, blog and categories are showing 2 of the same images and double posts and at least 300 x 300 pics. What could this be please?

    #18624

    Sharon May
    Member

    Hi sorry forget that last Q. There are no pics on the RECENT POST PLUS (neither mini pics on right or article) and the archieves, categories and blog are full size still. HELP PLEASE! :kiss:

    #18625

    Sushil Adhikari
    Moderator

    I think it’s best you show me a link to your site.
    In the meantime, as for double images, my guess is that you are using a “Featured Image” plus an image inserted into the first part of the post? Recent Posts Plus won’t show thumbnails unless a post has a “Featured Image”.

    As a side note, when someone starts to make changes to the theme’s core code, it falls out of theme support, but I will help you on this one. Please note that if I need to go in and fix the code, it becomes billable time, so you may want to be careful with custom code changes 🙂

    But let’s start with sending me a link to your site. Also, did you see my post earlier about the double << you had in your code?

    Also, you are correct, the Recent Posts snippet is not in the extras folder. I will need to add that and do an update to the theme.

    Just to clarify, you are wanting your archives and blog (categories) to use excerpts instead of the_content method?

    #18626

    Sharon May
    Member

    Hi it’s late here so tomorrow I will change the content.php back to original, I only changed one feature so it’s an easy fix.

    I was thinking about the image, that this
    could be the issue so what is a Feature Image?

    Yes, I did look at the >> and that was my error pasting on the forum.

    I would like archives, categories and blog as excerpts, but don’t seem to be getting anywhere. :ohmy:

    #18627

    Sushil Adhikari
    Moderator

    What I will do is try something out on my local test site. Perhaps what I could do is what I did recently for my Luminescence theme; I added a feature where the choice of content or excerpts is left up to the end-user to select from the theme options. So it’s one or the other, then add it as a new feature to an update of Encounters. I’ve had one person a while back request this of Encounters.

    #18628

    Sharon May
    Member

    Ok that sounds a lot better, look forward to it thx

    #18644

    Sushil Adhikari
    Moderator

    Just a quick follow up…I’m working on that new added feature to choose content or excerpt in Encounters. Before I go live with it later today, would you be willing to become the beta tester for it?

    #18645

    Sharon May
    Member

    Does that mean to test it if so that’s ok

    #18646

    Sushil Adhikari
    Moderator

    Exactly…I have to step out for a bit then when I get back will finish up on the changes then I can send it to you with some instructions.

    #14351

    Sushil Adhikari
    Moderator

    Contact me via email by going to the Support page and at the bottom click Email Support. I will send you the new version of Encounters which now has the choice of content or excerpt.

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

You must be logged in to reply to this topic.