Title: plugin causes error with excerpt inclusion
Last modified: November 6, 2022

---

# plugin causes error with excerpt inclusion

 *  Resolved [georgberg](https://wordpress.org/support/users/georgberg/)
 * (@georgberg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/)
 * I had to deactivate the plugin, because excerpt inclusion stoppt working with
   pages. See the thread
    [https://de.wordpress.org/support/topic/seiten-textauszug-auf-seite-einbinden-nicht-mehr-moeglich/#post-136051](https://de.wordpress.org/support/topic/seiten-textauszug-auf-seite-einbinden-nicht-mehr-moeglich/#post-136051)
   which translates to
 *     ```
       I have extended my pages for text excerpts with the following line of code:
       add_post_type_support( 'page', 'excerpt');
   
       Until recently, the post excerpt block played out the content of the text excerpt as a paragraph, as I intended. Now the text excerpt is only played in the description metatag.
   
       However, without any change on my part, for a few weeks now all pages with this block have been playing out the text excerpt of a post (even though they all have their own text excerpt) - namely that of the oldest post that has a text excerpt. I found this out by deleting the text excerpt of the oldest post. The text excerpt of the second oldest post is then played out on all pages.
   
       The first paragraph of my example page and all other pages that use the post excerpt block is pulled from the text excerpt of the following post: https://tellerrandstories.de/food/safran-gold/
   
       Is there anything I can change to get pages to play out their own text excerpts again, or has the feature that used to work been turned off by WordPress?
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-causes-error-with-excerpt-inclusion%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [ymichel](https://wordpress.org/support/users/ymichel/)
 * (@ymichel)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16358252)
 * Hi,
   please appologize my delay in responding. From the description above, I cannot
   quite get the root cause of this. Can you provide anymore details, please.
 * Thx,
   Yann
 *  Thread Starter [georgberg](https://wordpress.org/support/users/georgberg/)
 * (@georgberg)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16358662)
 * Hi Yann,
 * I have extended the excerpt functionality of posts to pages with the code in 
   the functions.php. With this all my country pages display their excerpt followed
   with teasers to posts. These teasers are called by the query loop block. With
   your plugin active, the page doesn’t call its description. Instead it calls the
   description of the post with the oldes date.
 *  Plugin Author [ymichel](https://wordpress.org/support/users/ymichel/)
 * (@ymichel)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16358886)
 * Could you please share your extension (vie mail) so that I can test this in my
   dev env. THX.
 *  Plugin Author [ymichel](https://wordpress.org/support/users/ymichel/)
 * (@ymichel)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16359777)
 * Hi Georg,
   I could derive your extension from the other ticket. Seems like ther
   was a bug that hopefully could be fixed in 0.7.4 that I just pushed.Could you
   please re-check as I would be glad to re-enable you using the plugin.BR,Yann
 *  Thread Starter [georgberg](https://wordpress.org/support/users/georgberg/)
 * (@georgberg)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16360266)
 * There is one more thing: Every time the edit page launches the active mark should
   be set, when it had been set with the last saving action
 * Screenshot of the version right now
 * [https://capture.dropbox.com/ADDJRgp6gVhkh908](https://capture.dropbox.com/ADDJRgp6gVhkh908)
 *  Plugin Author [ymichel](https://wordpress.org/support/users/ymichel/)
 * (@ymichel)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16361164)
 * I am currently testing this behavior but with a fresh install of WP and with 
   the theme 2023 it is working as expected, i.e., the flag is correctly updated
   in the edit form.
 *  Plugin Author [ymichel](https://wordpress.org/support/users/ymichel/)
 * (@ymichel)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16372906)
 * I guess that the issue is solved then. In case there is still something left,
   please let me know.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘plugin causes error with excerpt inclusion’ is closed to new replies.

 * ![](https://ps.w.org/geolocation/assets/icon-256x256.png?rev=2871062)
 * [Geolocation](https://wordpress.org/plugins/geolocation/)
 * [Support Threads](https://wordpress.org/support/plugin/geolocation/)
 * [Active Topics](https://wordpress.org/support/plugin/geolocation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geolocation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geolocation/reviews/)

## Tags

 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)

 * 7 replies
 * 2 participants
 * Last reply from: [ymichel](https://wordpress.org/support/users/ymichel/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-causes-error-with-excerpt-inclusion/#post-16372906)
 * Status: resolved