Site logo

Archived topic

Total Number of Posts : shortcodes not working anymore

3 replies · Started by Jean-Pierre on July 3, 2021

Viewing posts 1–4 of 4

Hello !
The total number of Posts (total on blog / since 24h / since 7 days) used to work very well for 2 years. But since I made several updates (wordpress / plugins), it suddenly stopped to work.
In the customizer, I still can see the figures. But they do not appear on the public website.

- The shortcodes are in a text widget, in the header of the website
- One of the shortcodes comes from the plugin "simple blog stats" [sbs_posts]
- The 2 other shortcodes come from a php code in the "Code Snippets" pluginPublic website vs Customizer
- Generatepress premium

https://docs.google.com/document/d/16XoNQcv_atasYtTz2kCsni8JNZ_KF8Ny8kRwUr_WL4s/edit?usp=sharing

Do you have any idea of what I can do to fix this ?

Thank you very much for your help.

Hi there,

are you using any Cache Plugins ? And does your server have Page Caching ?

If so - can you try clearing those caches.

Yes I did clear "WP Rocket" cache. And my server does not use cache (I have not enabled it).

But in reading your answer, I understook my problem had nothing to do with Generatepress.
So that I kept looking and I found the solution. The Widget "Text" does not recognize the shortcodes anymore. I had to use the HTML widget instead. And now the shortcodes are working again.

Thanks a lot David !

Glad to hear you found the solution!

This archived topic is closed to new replies.