• Resolved georgberg

    (@georgberg)


    I had to deactivate the plugin, because excerpt inclusion stoppt working with pages. See the thread
    https://de.www.ads-software.com/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 to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Yann

    (@ymichel)

    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

    (@georgberg)

    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 Yann

    (@ymichel)

    Could you please share your extension (vie mail) so that I can test this in my dev env. THX.

    Plugin Author Yann

    (@ymichel)

    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

    (@georgberg)

    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

    Plugin Author Yann

    (@ymichel)

    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 Yann

    (@ymichel)

    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.