• Resolved eddyferns

    (@eddyferns)


    I have used the code provided in the link below to have Excerpt option under ‘Screen Options’ for WordPress pages.

    https://codex.www.ads-software.com/Function_Reference/add_post_type_support

    The code that is used is below:

    <?php
    /**
     * Enables the Excerpt meta box in Page edit screen.
     */
    function wpcodex_add_excerpt_support_for_pages() {
    	add_post_type_support( 'page', 'excerpt' );
    }
    add_action( 'init', 'wpcodex_add_excerpt_support_for_pages' );
    ?>

    Now after updating WordPress the Excerpt option under Screen Options is no longer showing. So all Excerpt text for my pages are no longer visible.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Where did you add that code?

    Thread Starter eddyferns

    (@eddyferns)

    Thank you for your reply.

    The code is added to functions.php file.

    Managed to resolve the issue. Just saw that post updates the child theme got deactivated.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Managed to resolve the issue. Just saw that post updates the child theme got deactivated.

    That’s awesome to see it was resolved though strange the child theme was deactivated.

    Thread Starter eddyferns

    (@eddyferns)

    Got a response from the theme developers that this is not a known issue to them.

    So need to keep a watch on every update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Excerpt option for Pages’ is closed to new replies.