• Resolved geopap

    (@geopap)


    Hi,

    My site is https://papadopoulos.dyfio.com. I normally use customizr with Shortcodes Ultimate plugin. Everything was working right until an update of customizr and/or wordpress.

    The problem is that Shortcodes Ultimate plugin does not work at all in category view https://papadopoulos.dyfio.com/en/category/publications/, where the posts are shown with the image hover effect of customizr. In all other cases-pages, where only one effect is shown (either the customizr hover effect on images or the Shortcodes Ultimate effect), everything is working perfect.

    The strange is that this problem arise after an update, unfortunately I am not sure which one, but I am sure that it is not from Shortcodes Ultimate.

    Thanks for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello can you just try to use a standard post format for one of those posts where you use the shortcode and see if it still occurs?

    Thanks.

    Thread Starter geopap

    (@geopap)

    Thanks, you can see the result, I changed the second post https://papadopoulos.dyfio.com/en/category/publications/. This is not what I was looking for, though, if I find anything else I will keep it.

    Thanks!

    Ah yeah,
    it was just a test but clearly not a good test, my fault.
    Will look into that and let you know ??

    Would you try adding this in your child-theme functions.php?

    add_filter('tc_post_list_content', 'render_shortcodes_special_post_format', 20);
    function render_shortcodes_special_post_format( $html ){
      if ( in_array( get_post_format(), array( 'quote', 'status', 'link', 'aside' ) ) ){
        $html = str_replace( ']]>', ']]>', apply_filters( 'the_content', $html ) );
      }
      return $html;
    }

    Thread Starter geopap

    (@geopap)

    Thanks again d4z_c0nf!! Your code works like a charm!

    Thanks for testing it.
    This should be fixed soon, I’ll keep you updated, then you’ll have to remove that code ??

    Have a great day.

    Hello geopap,
    this has been fixed in dev, then will work in the next theme release.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘In category view shortcodes not working’ is closed to new replies.