Home › Forums › Pro Themes › Education Hub Pro › Limit Number of Words on Featured Content Page
Tagged: words
- This topic has 5 replies, 3 voices, and was last updated 5 years, 6 months ago by wensolutions. 
- 
		AuthorPosts
- 
		
			
				
February 25, 2020 at 3:31 pm #117087Dan ParticipantThere 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 February 26, 2020 at 1:49 am #117126wensolutions KeymasterHello, 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. February 26, 2020 at 4:48 pm #117181Dan ParticipantI 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 February 26, 2020 at 11:51 pm #117206wensolutions KeymasterHello, 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. April 17, 2020 at 12:06 am #121080khoiphatland ParticipantHow many words should I write is reasonable April 17, 2020 at 1:33 am #121087wensolutions KeymasterHello @KHOIPHATLAND, Please explain in detail your query so that we can clear and help you with the fix. Regards. 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
 
	    




