[Resolved] Excerpt not capitalizing correctly

Home Forums Support [Resolved] Excerpt not capitalizing correctly

Home Forums Support Excerpt not capitalizing correctly

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1151418
    Linda

    Hi Support,

    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!

    Linda

    #1151511
    Leo
    Staff
    Customer Support

    Hi there,

    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-text

    #1151632
    Linda

    Thanks, Leo.

    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!

    Linda

    #1151651
    Leo
    Staff
    Customer Support

    That’s PHP so one of these methods:
    https://docs.generatepress.com/article/adding-php/

    We always include the method to add the code at the bottom of the article under related articles:
    https://www.screencast.com/t/norlotNpP

    Let me know πŸ™‚

    #1154672
    Linda

    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,

    Linda

    PS Sorry to be slow getting back to you! No email for a while.

    #1154709
    Leo
    Staff
    Customer Support

    Are you planning on adding lots of PHP?

    If so child theme would not be a bad idea.

    If it’s just a few then Code Snippets should be fine.

    #1156872
    Linda

    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.

    Linda

    #1156878
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1156986
    Linda

    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. πŸ™‚

    Linda

    #1157145
    Leo
    Staff
    Customer Support

    Sounds good πŸ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.