- This topic has 5 replies, 3 voices, and was last updated 4 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Limit Number of Words on Featured Content Page
Tagged: words
There does not appear to be a setting to restrict the number of words on the front page when I use featured pages. You can restrict the number of words from a post if you add it to the featured content area on the front page (In the News and Events section).
How can I restrict the number of words in the front page featured content (for featured pages)?
Regards,
Dan
Hello,
To restrict the number of words on a page is not an available feature.
But, to restrict the number of words in a post is possible if you edit an individual post(edited) then you can find an ‘Excerpt’in the right side which appears like the screenshot below:
And after the post displays, the front page looks like the screenshot below. You can add the text you want to display.
Hope this helps.
If you have further queries, let us know.
Thank you.
I don’t have an option in my Post editor to restrict the word count. There is no Excerpt option in my WordPress. Is this available via a plugin?
Unfortunately, I was interested in limiting the number of words on a Page featured content on the front page. The theme already comes with a front page word limiter for posts.
Thanks,
Dan
Hello,
The feature to limit word through the Excerpt option is a feature given by WordPress itself. No plugin is required for the excerpt option to appear in the post editor.
However, to limit word on the page, you can add the given code in the child theme. Firstly, you have to create a child theme referring to the documentation below:
https://wptravel.io/how-to-create-a-child-theme/
Then you can add the code given below in the function.php folder of the child theme
add_action( 'init', 'add_excerpts_to_pages' );
function add_excerpts_to_pages() {
add_post_type_support( 'page', 'excerpt' );
}
Hope this helps.
If you have further queries, let us know.
Thank you.
How many words should I write is reasonable
Hello @KHOIPHATLAND,
Please explain in detail your query so that we can clear and help you with the fix.
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. |