[Resolved] Alternative for a header in a (WPML) bilingual woocommerce site.

Home Forums Support [Resolved] Alternative for a header in a (WPML) bilingual woocommerce site.

Home Forums Support Alternative for a header in a (WPML) bilingual woocommerce site.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #321583
    rtomc

    Hy

    I’m trying using a contained table with two rows (one for logo, one for a slider) in all a bilingual woocommerce site.

    I can’t use a Gp-Hooks (my first and ideal option) because it does not work correctly in the second WPML language.

    “Blog Header Content” is not a good option because only works in “Blog Page”…

    Do anybody know any alternative option?

    Thanks

    RMR

    #321750
    Tom
    Lead Developer
    Lead Developer

    What about is isn’t working correctly in WPML? I believe they have functions you can add where it makes your custom text translatable?

    #322286
    rtomc

    Hy,

    It is not a translate issue.

    I have a shortcode slider in a GP Hook.
    In the main language it works normally.
    In the secondary language, the slider does not work.

    I do’nt undernstad why, and I’m lloking for altenatives.

    You can see it at fukurosan.com
    Spanish is OK, english is KO

    Thanks for any suggestion.

    Regards.

    RMR

    #322670
    Tom
    Lead Developer
    Lead Developer

    Hmm, that might be something you need to bring up with WPML/the slider plugin developers. Looks like an incompatibility between those two.

    #322844
    rtomc

    Thanks,

    Any alternative?

    Do anybody knows how to publish an slider in the header of a bilingual wmpl site without using a GP Hook?

    Let me know ๐Ÿ™‚

    Thanks !

    RMR

    #322920
    Tom
    Lead Developer
    Lead Developer

    I doubt GP Hooks is the issue, as all it does is output your content into the template.

    You could try doing a manual hook:

    add_action( 'generate_before_header_content','tu_before_header_content' );
    function tu_before_header_content() {
    ?>
        Slider in here
    <?php
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    #324890
    rtomc

    Hy,

    It was a metaslider question.

    I delete it and then re-installed, and it worked again.

    Resolved.

    Thanks.

    RMR

    #324933
    Tom
    Lead Developer
    Lead Developer

    Great to hear ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.