Home Forums Pro Themes Education Hub Pro Limit Number of Words on Featured Content Page

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #117087
    Dan
    Participant

    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

    #117126
    wensolutions
    Keymaster

    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:

    https://prnt.sc/r7rn2u

    And after the post displays, the front page looks like the screenshot below. You can add the text you want to display.

    https://prnt.sc/r7rno9

    Hope this helps.

    If you have further queries, let us know.

    Thank you.

    #117181
    Dan
    Participant

    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

    #117206
    wensolutions
    Keymaster

    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.

    #121080
    khoiphatland
    Participant

    How many words should I write is reasonable

    #121087
    wensolutions
    Keymaster

    Hello @KHOIPHATLAND,

    Please explain in detail your query so that we can clear and help you with the fix.

    Regards.

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