picandocodigo / List-Category-Posts

WordPress plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode.
http://wordpress.org/extend/plugins/list-category-posts/
GNU General Public License v2.0
241 stars 112 forks source link

Incompatibility with HERALD theme #458

Closed i3mega closed 3 years ago

i3mega commented 3 years ago

Expected behavior

Hi, i used the plugin for a while with no issue. I've just change the theme for HERALD and when i put the shortcode, the page is broken with no content.

Actual behavior

I deactivated all the plugins to be sure and the issue is still here. I've tried to reactivate the older theme and then it works.

Shortcode used and steps to reproduce the behavior

[catlist id=62]

WP version, LCP plugin version (versions of other software if relevant, e.g. PHP)

WP : Version actuelle : 5.7.1 LCP : 0.84.1 PHP: 7.3

I can provide a staging site to test if you want.

Best regards

klemens-st commented 3 years ago

I can provide a staging site to test if you want.

It's a premium plugin so yes, please do, otherwise we cannot test.

I've just change the theme for HERALD and when i put the shortcode

How exactly are you using the plugin? Where did you put the shortcode? Was it regular post content, a widget or something else?

i3mega commented 3 years ago

How exactly are you using the plugin? Where did you put the shortcode? Was it regular post content, a widget or something else?

Yes, a simple wordpress page. Where can i put the credentials for the staging site?

klemens-st commented 3 years ago

You can send in an email. Make sure WP Debug is enabled on the staging site.

i3mega commented 3 years ago

Done ;) Let me know if you need something more

klemens-st commented 3 years ago

I run some test, I can confirm that the LCP plugin's code runs without issues and returns a proper post list. This is never displayed, however, because there is something on the theme's side that prevents it. I suggest contacting the theme's support, they should be aware of the many filter and action hooks their theme uses and should be able to point at what in the theme causes this bug.

i3mega commented 3 years ago

Ok thank you. I will let you know what they say for other people

i3mega commented 3 years ago

To display the catégory on HERALD theme, you have to use the MODULE FORMAT PAGE in the editor et put the shortcode as attachment. It works fine ! Capture d’écran 2021-04-26 093851

klemens-st commented 3 years ago

Thanks for sharing!