Support » Fixing WordPress » Excerpt option unavailable in Screen Options even after adding php function

  • Excerpt option is unavailable in Screen Options even after adding php function to the functions.php file.

    “add_post_type_support( ‘page’, ‘excerpt’ );”

    I added the code successfully, but the excerpt option is still not showing up.

    I have the following plugins installed. Not sure if they would cause this problem.

    Advanced Custom Fields
    Customise WordPress with powerful, professional and intuitive fields.

    Version 5.7.7 | By Elliot Condon | View details
    Select Akismet Anti-Spam
    Akismet Anti-Spam
    Activate | Delete
    Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.

    Version 4.0.8 | By Automattic | View details
    Select Bulk Page Creator
    Bulk Page Creator
    Allows you to create multiple pages in a batch/bulk manner saving time when initially setting up your WordPress site.

    Version 1.1.0 | By Dagan Lev | View details
    Select Catch IDs
    Catch IDs
    Settings | Deactivate
    Catch IDs is a simple and light weight plugin to show the Post ID, Page ID, Media ID, Links ID, Category ID, Tag ID and User ID in the Admin Section Table. This plugin was initially develop to support our themes features slider. Then we thought that this will be helpful to all the WordPress Admin Users. Just activate and catch IDs in your page, post, category, tag and media pages.

    Version 1.5 | By Catch Plugins | View details
    Select Classic Editor
    Classic Editor
    Settings | Deactivate
    Enables the WordPress classic editor and the old-style Edit Post screen layout (TinyMCE, meta boxes, etc.). Supports the older plugins that extend this screen.

    Version 0.4 | By WordPress Contributors | View details
    Select Column Shortcodes
    Column Shortcodes
    Adds shortcodes to easily create columns in your posts or pages

    Version 1.0 | By Codepress | View details
    Select Custom Content Shortcode
    Custom Content Shortcode
    Reference | Deactivate
    Display posts, pages, custom post types, custom fields, files, images, comments, attachments, menus, or widget areas

    Version 3.8.0 | By Eliot Akira | View details
    Select Google Fonts for WordPress
    Google Fonts for WordPress
    Deactivate | Settings
    The easiest to use Google Fonts plugin. No coding required. 870+ font choices.

    Version 1.2.5 | By Danny Cooper | View details
    Select Head, Footer and Post Injections
    Head, Footer and Post Injections
    Header and Footer lets to add html/javascript code to the head and footer and posts of your blog. Some examples are provided on the official page.

    Version 3.1.2 | By Stefano Lissa | View details
    Select Hello Dolly
    Hello Dolly
    Activate | Delete
    This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page.

    Version 1.7 | By Matt Mullenweg | View details
    Select List category posts
    List category posts
    List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].

    Version 0.79 | By Fernando Briano | View details | How to use | Donate | Fork on Github
    Select Pods – Custom Content Types and Fields
    Pods – Custom Content Types and Fields
    Pods is a framework for creating, managing, and deploying customized content types and fields

    Version 2.7.9 | By Pods Framework Team | View details
    Select Really Simple SSL
    Really Simple SSL
    Premium Support | Docs | Settings | Deactivate (revert to http)
    Lightweight plugin without any setup to make your site SSL proof

    Version 3.1.1 | By Rogier Lankhorst, Mark Wolters | View details
    Select Remove “Powered by WordPress”
    Remove “Powered by WordPress”
    Settings | Deactivate
    Removes the WordPress credit on the default WordPress theme for those wanting to customise the theme

    Version 1.2.5 | By | View details
    Select Retina @2x
    Retina @2x
    Activate | Delete
    A simple and lightweight plugin that will automatically look for retina images that end with “@2x”.

    Version 1.6 | By Wouter Postma | View details
    Select Shortcodes Ultimate
    Shortcodes Ultimate
    A comprehensive collection of visual components for WordPress

    Version 5.0.8 | By Vladimir Anokhin | View details
    Select W3 Total Cache
    W3 Total Cache
    Premium Support | Settings | Deactivate
    The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.

    Version 0.9.7 | By Frederick Townes | View details
    Select WordPress Mobile only & Desktop Only Content
    Wordpress Mobile only & Desktop Only Content
    A small plugin which lets you add Mobile Only & Desktop only content on your wordpress website/blog. Use [mobileonly] your content[/mobileonly] shortcode and [desktoponly] your content[/desktoponly] shortcode for content for relevant device.

    Version 1.2 | By Raja Usman Latif | View details
    Select WP Notification Bars
    WP Notification Bars
    Activate | Delete
    WP Notification Bars is a custom notification and alert bar plugin for WordPress which is perfect for marketing promotions, alerts, increasing click throughs to other pages and so much more.

    Version 1.0.4 | By MyThemeShop | View details
    Select WP Retina 2x
    WP Retina 2x

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • How and where did you add the code for add_post_type_support()? What hook did you use?

    I added it in:
    Twenty Fifteen: Theme Functions (functions.php)

    Right after the comments section before the first function.

    * Set the content width based on the theme’s design and stylesheet.
    * @since Twenty Fifteen 1.0

    add_post_type_support( ‘page’, ‘excerpt’ );

    if ( ! isset( $content_width ) ) {
    $content_width = 660;

    Moderator Steve Stern


    Support Team Volunteer

    Check the settings for your field groups in ACF. Make sure you didn’t disable excerpts on pages.

    Thanks Steven, I checked and the answer is no I didn’t disable excerpts from showing on my edit pages.

    Thanks though

    Moderator Steve Stern


    Support Team Volunteer

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    Try adding it in an init hook:

     * Page excerpt support
     * @return void
    function theme_add_post_type_support() {
        add_post_type_support( 'page', 'excerpt' );
    add_action( 'init', 'theme_add_post_type_support' );

    This is pretty much what The Codex example has.

    I’d also like to point out that the Twenty Fifteen theme is kind of an older theme, are you certain that’s the active theme under Appearance -> Themes?

    It might be a plugin issue. The theme default. I was hoping I wouldn’t have to disable plugins. Bummer. Why would a plugin disable my excerpts? I’d rather just use a customer content plugin to create custom excerpts than disable plugins.

    Moderator Steve Stern


    Support Team Volunteer

    The theme defaults to excerpts, so something is disabling it. Use Health Check to figure out which thing (from the Troubleshooting tab and admin bar). Then you can start on the “why would they do that?”.

    By the way @howdy_mcgee and @sterndata

    The excerpts are still working. I can call an excerpt and display it anywhere on the site. But the excerpt field doesn’t exist on the editing page. 🙁

    Moderator Steve Stern


    Support Team Volunteer

    With all plugins disabled and using twentyseventeen as the theme?

    @adamsaverian it’s definitely possible the front-end theme doesn’t display excerpt.

    Additionally, the add_post_type_support() has been adding excerpts to pages from the code so far – It’s important to note there’s a distinct difference between Posts and Pages – usually you don’t use excerpts post Pages but they are often used on Posts ( blog, news ).

    If you don’t see them on Posts then something is either hiding them ( they could be minimized because of the metabox accordion or hidden in Screen Options found in the top right ) or removing them as already mentioned above via plugin.

    You could try the code I added above and just replace ‘page’ with ‘post’ if you’re trying to add them to Posts but again, it really should be built in.

    @howdy_mcgee The except option shows up on posts. Also, I can call the excerpt for pages and display it on a loop just fine. So, the theme, and WordPress itself, is creating an excerpt for my pages. it’s juts not giving me the Excerpt field option in the screen options on the edit page for pages.


    Steven, I did not disable all plugins yet. I’m going to give that a shot now.


    I disabled all plugins, and used the 2017 theme. Still the “excerpt” option is not showing up in the screen options on editing pages for page. It shows up on the editing pages for posts just fine, but not for pages. Even after disabling all plugins, using the default 2017 theme, and having added “add_post_type_support( ‘page’, ‘excerpt’ );” to the functions.php file.

    @sterndata @howdy_mcgee

    Thanks for your help guys. Nothing is working. Even with no plugins installed, and using any of the default wordpress themes, and adding “add_post_type_support( ‘page’, ‘excerpt’ );” to the functions.php file it’s still not showing “excerpts” in the screen options of any of the page editing pages. Shows up fine on post editing pages. Yet, I can call the excerpts and display them – so the experts of pages are being made by wordpress. So, the functionality is working.

    Here’s a screen vid of my admin area if you don’t belive me:

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Excerpt option unavailable in Screen Options even after adding php function’ is closed to new replies.