Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1043282

    We are using a custom taxonomy template in a child theme (named taxonomy-saleitem_category.php – after taxonomy-$taxonomy.php. We have noticed, that after last update listings for this template stopped working completely, and wordpress started including index.php (eee?). After some tracing we found, that there is a last minute template override via apply_filters that happens in framework/functions/global/plugins/wpml.php (yes, we use wpml also). x_force_template_override() is the culprit. We changed the function, so that our custom taxonomy template is NOT OVERRIDEN. Is this is really how it should be?
    Here is our little addition in the if:

    if( ( is_search() || is_archive()) && !is_tax() ) {
        $p = pathinfo($template);
        return $p['dirname'].'/index.php';
      }

    Forside


    Wordpress 4.5.2
    X theme 4.5.2
    Cornerstone 1.2.4
    WPML 3.4.0

    #1043557
    Rupok
    Member

    Hey there,

    Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-1043282 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>