Aharon
Forum Replies Created
-
Thank you for your answer.
For anyone else looking for a solution, here’s what worked for me:
Add this to your
functions.php, and all your translated strings using Polylang will be displayed:add_filter( 'gettext_woo-extra-product-options', function ( $translated, $text ) {
if ( ! function_exists( 'pll__' ) ) {
return $translated;
}
$pll_translated = pll__( $text );
if ( $pll_translated ) {
$translated = $pll_translated;
}
return $translated;
}, 10, 2 );I don’t understand. Do you only add new features to the premium version?
Forum: Plugins
In reply to: [Simple Google reCAPTCHA] Convert class to singlton+1 for this one!
I have the same issue which happened when I upgraded WordPress to 5.7, so the jQuery version is upgraded to 3.x version.
After lots of debugs, I found that the new version of jQuery counts the margin-top of the html element offset (When logged in to WordPress, you have a margin-top of 32px on <html> element to display the admin bar at the top).
That’s why @senff didn’t see any issue. He was not signed in, the admin bar wasn’t there, and he didn’t have a margin-top set to the html element.
We need a fix from WooCommerce in their “selectWoo” file or from jQuery itself.
Forum: Themes and Templates
In reply to: [OceanWP] Woocommerce Checkout IssueSame as here.
Customers cannot pay for orders.
This is an URGENT problem. Please fix it ASAP!Forum: Themes and Templates
In reply to: [OceanWP] Ajax remove from cart in Mini-cart doesn’t workHello,
I tried to disable all the plugins but it still happens…Hey,
The problem was with OceanWP indeed: Your plugin doesn’t work when I turn on “Enable Ajax Add to Cart” which is a feature inside OceanWP (you can enable it inside the Customizr -> WooCommerce -> Single Product).
I need to disable it in order to get it to work.
When it’s enabled and I’m trying to add a product to cart with an add on, there are some PHP errors coming up (undefined index). See a screenshot here: https://prnt.sc/pzjt7n- This reply was modified 6 years, 6 months ago by Aharon.
Ok thank you, I will try to investigate further.
Forum: Plugins
In reply to: [WP Job Manager] “Load previous listings” not workingOn the demo site in “Jobs” page, click on “load more listings” and then refresh the page.
You will see a “load previous listings” text above the listings, but it won’t be clickable.
That’s exactly what happens in my site.
I’m sure the problem is in ‘ajax-filters.js’ when you add this text with jQuery and wrap it with a link, but it doesn’t work apparently.Thank you
- This reply was modified 7 years, 7 months ago by Aharon.
Ok, so the problem was I changed the option in the wrong admin page.
I went to UM -> Settings -> Appearance -> Profile -> Profile Default Template
instead of
UM -> Forms -> Default Profile -> Template (at the sidebar)Forum: Themes and Templates
In reply to: [OceanWP] No post classes inside singular custom post type pageScreenshot: http://prntscr.com/l04nhz
Hello,
Thank you for your response. I managed to solve this issue.
Too bad there is not an option to set manually the ids of custom sidebars…
I got the correct id by inspecting the sidebar in Appearance -> Widgets, it is something generic, like “cs-1”, “cs-2” and so on…
Then in the code I useddynamic_sidebar('cs-1')