WordPress.org

Ready to get started?Download WordPress

Forums

Simple Catch - removing excerpt text (not post title) on Featured Slider (27 posts)

  1. suns
    Member
    Posted 1 year ago #

    Hi Everyone,

    I'm having great fun with the Simple Catch Template (and altering the design to suit). One thing I can't sort out though is having an image on the home page featured slider, with the title of the post it comes from... but without the excerpt text.

    So for example, I have a menu category called 'Books'.
    I have a post entitled 'Children's Books'. It has an except text of 'We have a large selection of books for pre-school to young adult ages' followed by my 'read more' arrow which I want to keep when the user clicks on the 'Books' menu bar - so the except summary text will appear as a summary.

    However, I do NOT want the except text to appear underneath the image on the featured slider/home page... but i still want the title 'Children's Books' and the readmore arrow to appear.

    Checking using firebug, I can see that there doesn't seem to be a css code attributed directly to the except text - it appears in between the css for
    .featured-text span and .featured-text a.readmore

    I'm assuming that I will need to root through the files in the editor section of the admin panel... but this is a little outwith my experience and I can't seem to find it.

    Thanks,

    Suns

  2. Rabin(Catch Themes)
    Member
    Posted 1 year ago #

    Hi Suns,
    Thanks for using simplecatch theme.If you want to achieve similar to what you are trying to say then i think you have to change the core template file of simple catch which I don't recommend as the changes will be erased on next update. But if you indeed want so then Go to your simplecatch_function.php file inside functions folder of simplecatch theme.If you are using version 1.3.5.3 then you will find the code below around line 381.

    if( $excerpt !='') {$simplecatch_sliders .= the_title( '<span>','</span>', false ).': '.$excerpt;}

    just replace above code with this code

    $simplecatch_sliders .= the_title( '<span>','</span>', false ).': <a class="readmore" href="'. get_permalink($post->ID) . '">'.esc_attr( $options[ 'more_tag_text' ] ).'</a>';

    then go to Appearance->featured slider->Add slider option and click save to refresh the cache.
    Hope this solves the issue
    Regards
    Rabin(Catch Themes)

  3. suns
    Member
    Posted 1 year ago #

    Rabin, thank you so much. I understand that any updates would override the content, but I will make a note and keep exchanging the code (for as long as it works).

    Another question for you - is it possible to have multiple featured sliders - eg. one for each category? I'm guessing not, but would it be possible for the featured image to appear not where it currently does (in a box at the side of the excerpt text) but instead in a placeholder where the homepage featured slider resides?

    Many thanks again Rabin,

    Suns

  4. Rabin(Catch Themes)
    Member
    Posted 1 year ago #

    Hi Suns,
    Currently Simple Catch theme doesn't support such features. You have to make a lot of customization if you wish to do so. But In our future update we will be thinking over that.

    Regards,
    Rabin(Catch Themes)

  5. babyslime
    Member
    Posted 1 year ago #

    I'm having the same issue. I actually fixed it about a week and a half earlier when I set up my blog, which was using a previous update of this theme, but once the theme updated to its newest version earlier it reset that change.

    Your above fix broke my entire website, until I realized I took your instructions too literally. I've fixed it now, refreshed the cache, but nothing changed. I'm still showing the excerpts on every post. Is there a new way to fix this now that the theme has updated?

  6. suns
    Member
    Posted 1 year ago #

    Hi babyslime,

    I'm using the most up-to-date version of SC and followed Rabin's instructions verbatim and didn't have any issues. As with any and every change to code it's always good to make a full copy of the file you're changing. Give it another go perhaps?

  7. babyslime
    Member
    Posted 1 year ago #

    Its still changed exactly as specified above. Still not seeing any difference in the presentation whatsoever.

  8. Sanjiv
    Member
    Posted 1 year ago #

    Hi babyslime.

    Change the code and click on save changes in the theme option then you will see the changes.

    Regards
    Sanjiv

  9. suns
    Member
    Posted 1 year ago #

    I'll second that. There's just been another update to the theme - I did the update and redid the change and it worked again.

    As an aside to the simple catch team - what would be really good would be if you showed release notes with each update so we knew what changes had been made and whether it was worth updating.

    Thanks though - really like the theme!

    Suns

  10. Rabin(Catch Themes)
    Member
    Posted 1 year ago #

    Hi Suns,
    There is change log of each version update in readme.txt of simple catch theme. You can see the changes that has been made in each update.

    Regards
    Rabin

  11. suns
    Member
    Posted 1 year ago #

    Ah yes, but can you see the change log before you choose to update? I may be just not looking in the right place.

    I'm doing this site for myself, so quite happy to update each time a new release is out, but if I use the same theme (and change the design) for a client then I'd be more cautious about updating each time, especially if I'm changing content I'd need to alter each time.

  12. babyslime
    Member
    Posted 1 year ago #

    As I said: I made the change to the file (and saved it... why would I not press the save button?) and there has been zero change. None. Zip. Zilch. Still presenting as it was.

  13. suns
    Member
    Posted 1 year ago #

    You need to save the file as you are doing... but at this stage nothing will happen, all will look the same (just did a test on my version to see if this was correct).

    You then need to complete Rabin's instructions by doing this

    'Appearance->featured slider->Add slider option and click save to refresh the cache.' - even though you are not making any changes here, pressing save makes the difference.

    Other than that the only thing I can see that could be an issue is that you need to select all of Rabin's code above. On my screen the code scrolls beyond the grey box.

    Hope that helps!

  14. babyslime
    Member
    Posted 1 year ago #

    Yes. I know. That was already said. I already followed those instructions to the letter. Nothing. Changed. At. All.

  15. Rabin(Catch Themes)
    Member
    Posted 1 year ago #

    Hi babyslime,
    if you wanted the exact same changes that suns wanted then replacing the above code as I instructed should do the work. I would recommend to download fresh copy of simplecatch and make the changes as prescribed above.It would be easier for us to look into if you could share your site url.
    Regards,
    Rabin

  16. babyslime
    Member
    Posted 1 year ago #

    My site is my personal blog here: babyslime-blog.com
    I've changed the source file exactly as you've instructed and gone through the add slider/save thing to refresh the cache. I've done this about 15 separate times now, both inside the dashboard and in the file on my computer, deleted the file and uploaded the changed one, tried simply replacing the changed one, updated the database, tried a clean install... everything. Nothing makes it change from those annoying excerpts. I like this theme: it's clean and simple, but I'm at my wits end with this. It worked totally fine until the last theme update, and then it changed everything back to defaults and I feel that this is a HUGE oversight to not have a clear, obvious option to toggle this excerpt thing on or off.

    To summarize -
    Yes: I have selected the entire box of text.
    Yes: I have remembered to go through the slider/save thing to refresh the cache.
    Yes: I have changed the text exactly as shown.
    Yes: I have tried a clean install.
    Yes: I have downloaded all the updates.
    No: it is still not working.

  17. suns
    Member
    Posted 1 year ago #

    Righto,

    Had a look at your site and there aren't any featured sliders - am assuming that you've taken them off temporarily?

    Bear in mind that I have nothing to do with the creators of the template but I'm happy to help you and the solution I have is giving you the entire code I have for the simplecatch_function.php file (I may as well just put it up in dropbox for you to pick up), but before I do that put at least one or two images up as featured sliders so I can see what's what. Oh, and of course do a total backup before you use this file just in case!

    As for the support. I know it's frustrating babyslime, but I have to say that looking at this post and many many others that the creators of this particular template seem to be be second to none in term of support considering it's free! They even have a very very good youtube hour long tutorial that's worth looking at. We're both using a template for a cms - wordpress isn't a bespoke system so you do have to accept that there are 'limitations' that you need to accept -for me it's the fact that the featured slider only works on the front page - would really like one for each category, but hey, it's free and they've already mentioned they're working on it.

    I'm just about ready to make my site live and will post up a message when I do just to prove that the fix mentioned above does indeed work!

    All the best - keep cool, it will be sorted,

    Suns

  18. suns
    Member
    Posted 1 year ago #

    PS - wonderful photos!

  19. babyslime
    Member
    Posted 1 year ago #

    Thanks.
    I never had the featured image slider turned on, and it worked fine without it previously. If it is absolutely required to have this turned on in order for the posts to display properly, that has not been said, it has only been said to press the save button within that option to refresh the cache.

    I realize their support is free and they don't have to be doing this, what's frustrating for me is that this particular feature worked fine prior to an update, and now with the update - even with all the same steps taken - it seems to have 'broken' and can't be fixed and everyone acts like I'm just not listening when I repeatedly (repeatedly) explain that it isn't working in spite of following the instructions above. I mean, even if someone came in right away with, "Hmm, don't know then! It's a mystery!" that would be more helpful than, "Did you follow the instructions? Well, did you follow the instructions? Try following the instructions!". That's the part that's getting on my nerves and why I'm apparently not "keeping cool".

    To be totally honest with you I had no idea it was a thing to automatically hide all blog posts by default, as it seems to negate the point of blogging to me (rather than just using a more tag on long or image heavy posts when necessary). I didn't think this would be so complicated.

  20. babyslime
    Member
    Posted 1 year ago #

    PS - I turned on the featured slider, and there was no change. The slider showed no images (just a dotted background), but linked to the entries in the "continue reading" spot just fine. Due to the fact that it's not displaying correctly and I don't really want it there anyway, I have now disabled it again.

  21. suns
    Member
    Posted 1 year ago #

    It's not complicated. At all. The problem here is the question I asked the Simple Catch team isn't the same problem you are having... at all!

    Please read my first entry - I use the featured slider and I want the image on the featured slider to have the title of the entry it relates to, but not the description - this appears immediately underneath the featured slider box within the grey area of the page. That was the whole question - the code the Simple Catch people have given is specifically for this (and nothing else). If you don't use the featured slider it does not relate to your problem - so every time you've been changing this code it probably has been working, but seeing as you don't use featured slider images, it doesn't relate to what you're doing and won't appear.

    So, if you would like my help, explain to me what is wrong - is it the excerpt text for each blog entry that you want to remove so you just have:

    Social shut down
    By Babyslime26 August, 201217 Comments
    Continue Reading →

    instead of:

    Social shut down
    By Babyslime26 August, 201217 Comments
    Tempest’s birthday party was last Sunday and literally one kid came. Almost all of my adult friends who were invited came and hung out, at least, but when it comes …
    Continue Reading →

    or is it something else?

  22. babyslime
    Member
    Posted 1 year ago #

    Ah see now that makes more sense. Misreading the initial post brings it into focus. :-P Thank you, and I apologize for my confusion. I got the original answer from a post that I must have mis-bookmarked as this one.

    I don't want the posts compressed at all. I want them fully displayed automatically unless I use the 'more' tag to manually cut it somewhere down the line. This was working fine prior to the latest update, then broke upon updating and I can't get it back.

  23. suns
    Member
    Posted 1 year ago #

    go to Appearance - Theme Settings - Excerpt/More Tag Settings - change the excerpt length to something very big (20000 words). Click save

    Job (probably) done.

    Also I strongly advise you to view their youtube video http://www.youtube.com/watch?v=Oiov0L4blIw

    ... for no reason other than it clearly explains how you use the featured slider (it's not broken, you just need to specify which images should appear, and as a photographer I can see it working really well for you - I'm a designer who works with illustrators and photographers on a daily basis by the way) and gives you a wealth of info on the various bits and pieces of the theme that you may not know about but could be very useful.

    If this doesn't work let me know as there's a default setting in wordpress and this may be overriding it, in which case you may need to alter some code.

  24. babyslime
    Member
    Posted 1 year ago #

    There is no Excerpt/more tag settings in my theme settings area. :-/

    Under appearance I have theme options, and under theme options I have theme settings. Under that I only have one area: homepage/front page category settings.

    Thanks for the tips on the featured slider, I'll watch the video later today. It does seem kind of interesting.

    BTW, thank you Suns for all your help.

  25. suns
    Member
    Posted 1 year ago #

    Hi again.

    To be honest I've just updated the theme today (simple catch version 1.4). To be honest, I can't quite remember where this option would be if you're still on an earlier version... it IS there somewhere though as I've changed it myself on several occasions... just don't remember where exactly.

    Have a bit of a hunt around and see if you can find it. It's getting late here now and I have my own kids to sort out (7pm in Scotland!). I'll check in later to see if you've sussed it.

    In the mean time, watch that tutorial video, it helps (ignore all the gumpf about hosting at the beginning), and do a search on the forums for 'simple+catch+excerpt'

    Suns

  26. babyslime
    Member
    Posted 1 year ago #

    Haven't found it. Did you find it?

  27. babyslime
    Member
    Posted 1 year ago #

    Okay, I found it... but the result was horrible. It takes away all the entry formatting, so that the entire thing is just one smushed, unreadable paragraph. :( I think I'm just going to uninstall this theme and go with another.

Topic Closed

This topic has been closed to new replies.

About this Topic