• Resolved topcat9999

    (@topcat9999)


    Te standard method of adding data after each item in the Top posts list no longer works correctly with Jetpack 10.8. The dates are now listed together above the list of posts. Te standard method as described on https://developer.jetpack.com/hooks/jetpack_widget_top_posts_after_post/ worked until this version.

    As the new version of the widget now stores everything into $layout and then outputs it, the printf in the code linked above writes the date out before the rest of the information.

    Please advise on how to modify the linked code to have the date appear after each entry in the list.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @topcat9999

    Could you please post your site URL here so that we can have a look?

    If you want it to remain private, you can also contact us via this contact form. If you choose to reach out directly, please include a link to this thread.

    If you prefer, you can open an issue on our GitHub here:

    * GitHub

    Thanks!

    Plugin Contributor Sami Falah

    (@samiff)

    Hello @topcat9999 Thanks for the report!

    There was a change in Jetpack 10.8 that changed the behavior of this widget’s output. While I don’t have an immediate solution to showing custom content like the date as you had previously, I’ve opened an issue in the Jetpack code repository for developers to work on which you can follow along with:

    https://github.com/Automattic/jetpack/issues/23832

    I have exactly the same problem on my site. Is there already a solution for it?

    Plugin Contributor Sami Falah

    (@samiff)

    The previous behavior of the action hooks should be restored in Jetpack version 10.9 which releases on May 3rd 2022.

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

The topic ‘jetpack_widget_top_posts_after_post’ is closed to new replies.