Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #147448

    Rob V
    Participant

    Hi, I also have this weird problem. The solution provided works perfect for search results, but archive pages in second language still displays weird:

    For English: http://www.keylane.com/blog/2014/11/ (as it should be)
    For Dutch: http://www.keylane.com/nl/blog/2014/11/ (weird layout)

    Do you have a solution for that?

    Thanks!

    #147773

    Kosher K
    Member

    Hi Rob,

    I’m sorry to hear about your issue,

    First of all, can you please update your X theme to latest version which is 3.0.0 as you’re still using 2.6.0

    Additionally, please provide wordpress and FTP access of your site for us to check on your set-up and do some test.

    Thank you

    #147823

    Rob V
    Participant
    This reply has been marked as private.
    #148140

    Christian
    Moderator

    Hey Rob,

    Sorry for the confusion. We’d love to help you with your concern however, since this involves a third party plugin, this falls outside the scope of our support. We recommend that you seek assistance from a WordPress developer.

    Thank you for understanding.

    #148200

    Rob V
    Participant

    No I don’t understand! Yes it involves a third party plugin, but on your sales-page at Themeforest you mention: With WPML compatibility, X allows you to quickly and easily translate your site to one of several available languages

    Besides, the problem is exactly the same as described in this topic and the solution provided works. So, why not provide a solution for this additional side-effect?

    I’ve tested a lot to rule some things out. My conclusion is that this weird behaviour only exist if you choose a page-layout other than ‘Standard’ for one or more pages.

    ALso I contacted WPML. They replied:

    Thanks for your info.

    In this case, this is a compatibility problem.

    I have forwarded the details to our Themes & Plugins Compatibility Team and they will contact the author.

    Please note that this process may take a while as it depends on how soon the author will reply to our efforts to contact him.

    It would be great if you can also contact the author asking him to reply us and apply to our Go Global program: http://wpml.org/documentation/theme-compatibility/go-global-program/ . This may help expedite the process.

    We are closing the ticket but we will keep it in our records and once the plugin is compatible with WPML we will notify you.

    In the case, you need this quick, we recommend contacting one of our certified partners: https://wpml.org/documentation/support/wpml-contractors/

    So they will contact you and I hope you guys do whatever it takes to find a solution, since WPML is the most common multi-language system I expect it to work (as mentioned on Themeforest) with such a great theme as X.

    I really love X and I’m planning X to be my one and only theme for futere developments, so it’s really important to me.

    Thanks

    #148517

    Zeshan
    Member

    Hi Rob,

    We’re sorry for the issue you’re facing!

    It seems, you’re using W3TC plugin, please try clearing it and disable during the development. See if clearing the W3TC plugin fixes the problem you’re facing.

    Let us know how it goes.

    Thank you.

    #148623

    Rob V
    Participant

    Hi,

    Done cleaning the W3TC cache and disabled: No solution! I’ve already done all standard troubleshooting (like disabling all plugins and so on ;-).

    Thank for taking your time to investigate!

    #148911

    Rad
    Moderator

    Hi Rob,

    Should be the same fix as before, with added is_archive() for categories, tags, and other taxonomy pages.

    add_filter( 'template_include', 'force_template_override', 99 );
    
    function force_template_override( $template ) {
    
      if( is_search() || is_archive() ) {
        $p = pathinfo($template);
        return $p['dirname'].'/index.php';
      }
    
      return $template;
    }

    Let me know, and I’ll report this issue about WPML compatibility.

    One thing that WPML should be aware of, when there is no search, archive, taxonomy template available, then it should only use index.php (no other than that, it’s wordpress standard no matter what), It’s index.php that handles all main loops and not page templates ( except custom templates like portfolio ). This applies to all theme, not just for X.

    Thanks!

    #149007

    Rob V
    Participant

    Yeah Great!!!!! That fixed the problem.
    Thanks again for you support.

    Has WPML already contacted you for this compatibility issue? I got a confirmation that they certainly will do 😉
    I will pass your WPML phrase (One thing…) to them.

    Anyway, for now my client is very happy. And so am I!

    Thanks

    #149189

    Alexander
    Keymaster

    Hi Rob,

    I can confirm we’ve received an email from them today, and are in contact about the issue. Thanks!

    #149431

    Rob V
    Participant

    Great!

    Please keep me posted!

    thanks…

    #149870

    Zeshan
    Member

    You’re welcome Rob! 🙂