- This topic has 9 replies, 2 voices, and was last updated 2 years, 12 months ago by Leo.
February 1, 2020 at 8:50 am #1151418Linda
A minor issue, but hope you can tell me how to fix it.
The excerpt text for one blog isn’t capitalizing subheadings as in the actual blog: https://mygoforthegreen.com/blog/, first entry (Rock Your Sales …).
Questions 1 and 2 in the excerpt are mixed upper and lower caps text although each word is capitalized in the blog itself.
I tried switching to a manual excerpt, but “Read more” doesn’t appear when I do that.
Is this something I can fix with the theme or is it a WordPress issue not covered by the theme?
Realize this isn’t critical, but my Virgo self would like the capitalization to look right … if possible.
Thanks for any suggestions. No rush on this one!
LindaFebruary 1, 2020 at 10:24 am #1151511LeoStaffCustomer Support
WordPress strips all HTML in the excerpts by default.
Using the manual excerpt with the snippet below should be the way to go:
https://docs.generatepress.com/article/activating-read-custom-excerpt/#read-more-textFebruary 1, 2020 at 1:39 pm #1151632Linda
Could you please clarify for me just where I put the text snippet.
Does it go in Additional CSS in Customizer? Do I need any Class in the GP CSS box?
Appreciate your input … don’t want to mess up!
LindaFebruary 1, 2020 at 2:05 pm #1151651LeoStaffCustomer Support
That’s PHP so one of these methods:
We always include the method to add the code at the bottom of the article under related articles:
Let me know 🙂February 4, 2020 at 2:38 pm #1154672Linda
Hi again, Leo,
I see where Related Articles go. Thanks for the screencast.
If what you gave me is PHP, that’s a bigger issue for me. I’m beginning to think it’s time to create a child theme if I’m going to be adding PHP. There is also some PHP I need to add in WooCommerce.
Do you agree on the need for a child theme? If so, I’ll hold off on this until I can get that done.
Thanks for your advice,
PS Sorry to be slow getting back to you! No email for a while.February 4, 2020 at 3:49 pm #1154709LeoStaffCustomer SupportFebruary 6, 2020 at 9:34 am #1156872Linda
Great news, Leo. 🙂
Hadn’t realized Code Snippets did PHP additions. I have the plugin installed since I used it a while ago, on a WooCommerce Memberships rep’s recommendation.
Using it will be a lot easier than setting up a child theme at this point
Thank you so much for the information and shortcut.
LindaFebruary 6, 2020 at 9:47 am #1156878LeoStaffCustomer SupportFebruary 6, 2020 at 11:25 am #1156986Linda
Leo, just tried it (on staging site first) and it worked perfectly on both stage and live! And it was totally easy to do. Thanks so much for the excellent suggestion and for reminding me I had a plugin that could handle the bits of PHP I want to edit. 🙂
LindaFebruary 6, 2020 at 3:08 pm #1157145
- You must be logged in to reply to this topic.