Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Dmitry

    (@damdamdam)

    The programming solution was not found unfortunately.

    Adding
    “woocommerce_shop_page”: {},
    or
    “woocommerce_archive_description”: {},
    into woocommerce.json did not help.

    Adding
    add_filter( ‘woocommerce_shop_page’, ‘wpm_translate_value’);
    add_filter( ‘woocommerce_archive_description’, ‘wpm_translate_value’);
    into
    class-wpm-woocommerce.php
    also did not help

    So I had to made a work around.
    Added new shortcode in functions.php

    function shop_main_page_descr( ) {
    $descr = __(‘shopdescr’, ‘construction-field’);
    return $descr ;
    };
    add_shortcode(‘shopdescr’, ‘shop_main_page_descr’);

    and added appropriate html to ‘shopdescr’ into theme’s locale via Loco tranlsate.

    But nonetheless, the main shop page still displayed
    [:ru]html of ‘shopdescr'[:].
    So I had to disable WP Multilang plugin, manually delete [:ru] and [:] on shop page, than enable it again.

    What a waste of time!
    Hope this issue will be resolved for WP Multilang with Woocommerce integration.

    Sorry to hear that – it worked with my trouble of not-displaying posts. Hopefully, you’ll find another solution.

    Encountered similar problem.

    While submiting several checkboxed tags, I recevived page not found error.

    In address bar plus + was added instead of comma between the tags.

    /Absolute+Beginner/

    I tried default theme, but it didn’t do the trick. I use buddypress – might be the reason for query change – dunno.

    SOLUTION to this might be kind of simple. This worked for me:

    search-filter.php
    line 371

    $operators[$i] =  "and"; //use default

    changed to

    $operators[$i] =  "or"; //use default

    After that the query in address bar changed to
    /Absolute,Beginner/

Viewing 3 replies - 1 through 3 (of 3 total)