- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Education Hub › Featured Content Excerpt
Tagged: featured-content
I have featured content showing up on my homepage. The title and featured image are showing correctly. The excerpt below the image shows all of the text of the page specified (out to a certain number of characters). How can I limit what is shown in the excerpt? I have a couple of sentences that I want shown, but no more. How can this be accomplished?
Hello @cjackson111,
To the excerpt in the Featured Content section you have to go through the child theme approach .
Child theme reference :
https://codex.wordpress.org/Child_Themes
Or you can simply create the child theme using the plugin. Below is the link to one of them.
https://wordpress.org/plugins/wp-child-theme-generator/
Now after creating and activating the child theme paste below given code in you child themes functions.php file :
https://gist.github.com/anonymous/a79e1223d5e6dd1f89161097a3e5a2b8
If you have any issue further please let us know .
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |