gad123
Forum Replies Created
-
Hello Shahin,
Thank you very much for addressing my issue.
I did some more investigating and discovered that the issue was related to the way I created the posts in Elementor. For some reason, no problem was found in Hebrew, but for English in order for the sharing widget to work in the footer, I had to create the post in Elementor in a certain way (the first element had to be a text one, otherwise WP saw it as a post that didn’t contain text thus the widget didn’t show). I don’t have any clue why this is language dependent, but since I managed to find a solution (by creating the posts in a certain way), this issue can be closed. If I discover more details or find a new issue regarding this, I’ll update.
Thanks again!Forum: Plugins
In reply to: [Bit Payment Gateway for WooCommerce] customizing email fileThank you very much!
Works perfectly!Forum: Plugins
In reply to: [WooCommerce] Problems after adding WooCommerce functions to functions.phpHi Stuart!
Thank you very much for your answer.
Here’s my functions.php:<?php /** * Blossom Feminine Child Theme functions and definitions * * @link https://developer.www.ads-software.com/themes/basics/theme-functions/ * * @package Blossom Feminine Child * @since 1.0.0 */ add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
This part is a standard one for enqueuing the parent’s CSS.
function mytheme_add_woocommerce_support() { add_theme_support( 'woocommerce' ); } add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );
This part is for making the change(s) in the functions.php override the relevant WooCommerce functions. I tried to delete this part, but the bugs I had found, could still be reproduced.
if (!function_exists('wc_cart_totals_shipping_method_label')){ function wc_cart_totals_shipping_method_label( $method ) { $label = $method->get_label(); $has_cost = 0 <= $method->cost; $hide_cost = ! $has_cost && in_array( $method->get_method_id(), array( 'free_shipping', 'local_pickup' ), true ); if ( $has_cost && ! $hide_cost ) { if ( WC()->cart->display_prices_including_tax() ) { $label .= ': ' . wc_price( $method->cost + $method->get_shipping_tax() ); if ( $method->get_shipping_tax() > 0 && ! wc_prices_include_tax() ) { $label .= ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>'; } } else { $label .= ': ' . wc_price( $method->cost ); if ( $method->get_shipping_tax() > 0 && wc_prices_include_tax() ) { $label .= ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>'; } } } return apply_filters( 'woocommerce_cart_shipping_method_full_label', $label, $method ); } } ?>
This one the is the function from \plugins\woocommerce\includes\wc-cart-functions.php with a minor change (which I wanted to override the function that exists in WooCommece).
Thanks again!
PERFECT!!!
That solved this issue ??Thanks a lot, Amit!
Forum: Themes and Templates
In reply to: [OceanWP] oceanwp travel demo – no post is shown on home pageThanks a lot for your reply!
In order to produce similar result, I’m thinking of installing Ocean Posts Slider plugin. Will I be able to use the Shortcode Widget of Elementor in order to enter the Ocean Posts Slider’s shortcodes on the home page below each title (“POPULAR POSTS”, “ADVENTURE TRAVEL” and “USEFUL TRAVEL TIPS” )?Thanks again!