Tagged: x
-
AuthorPosts
-
November 9, 2016 at 2:39 am #1249720
MiquelAdellParticipantThis reply has been marked as private.November 9, 2016 at 4:28 pm #1250705
RadModeratorHi there,
It should be okay now, it’s a bug between WPML and X integration. I went ahead and added a temporary fix.
Please check http://staging.jipi.cat/en/past/?test=1
add_filter( 'template_include', 'x_force_template_override', 99 ); function x_force_template_override( $template ) { if ( x_is_shop() || x_is_product_category() || x_is_product_tag() ) return $template; //if( is_search() || is_archive() ) { //$p = pathinfo($template); //return $p['dirname'].'/index.php'; //} return $template; }Through /wp-content/themes/x/framework/functions/global/plugins/wpml.php
Thanks!
November 10, 2016 at 2:33 am #1251355
MiquelAdellParticipantGreat, it works.
I did download the file and seen the changes to it.
Should I replicate that file on my child theme so I don’t loose the changes when updating the theme or should I assume that the following update will have some sort of permanent solution?
Thanks!
November 10, 2016 at 3:34 am #1251407
Paul RModeratorHi,
Sorry, this can’t be overwridden in your child theme.
You just have to take note of this until our developers can incorporate a permanent fix through theme updates.
Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1243625 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
