maestro2012
Forum Replies Created
-
Forum: Plugins
In reply to: [Animations for Blocks] Offset does not work.Ah, I see. Actually, it works. My mistake. Thx.
I like the plug-in, but this is the information I got from Google ??
Google wants the 2 new types of cookies (ad_personalization, ad_user_data) to be separated so that they can be accepted or rejected separately.
Forum: Plugins
In reply to: [Unyson] Warning: Invalid argument supplied for foreach()Thanks, it works. ??
Forum: Plugins
In reply to: [Unyson] Warning: Invalid argument supplied for foreach()How you fix it? Widz?, ?e twoja website working just fine.
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF – Paragraphs are removed. I use format = trueI use DIVI too ?? And use loop on the page. This plugin solved my problem with too simple Divi post grid which has a lot of restrictions. There is only this problem with paragraphs that spoils the layout of the content.
Forum: Plugins
In reply to: [Custom Content Shortcode] woocommerce price with currency symbolThe above function solves the problem.
This function inserts the price with the currency symbol. Found it today. I put the shortcode in the loop and it works fine.
Currency switching as well.Earlier I used
[format currency = EUR] [field _price] [/ format]
but it does not give the currency symbol and currency switching does not work.- This reply was modified 3 years, 6 months ago by maestro2012.
Forum: Plugins
In reply to: [Custom Content Shortcode] woocommerce price with currency symbolI used the following function to insert a price. Maybe it will be useful to someone.
The currency conversion plugin I use is “Currency Exchange for WooCommerce”. Currency change seems to be working.function my_shortcode_product_price() { $html = ''; global $product; $price = wc_get_price_to_display( $product, array( 'price' => $product->get_price() ) ); $args = array( 'ex_tax_label' => false, 'currency' => 'USD', 'decimal_separator' => '.', 'thousand_separator' => ' ', 'decimals' => 2, 'price_format' => '%2$s %1$s', ); $html = "<span>" . wc_price( $price, $args ) . "</span>"; return $html; } add_shortcode( 'product_price', 'my_shortcode_product_price' );
[product_price]
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF – Paragraphs are removed. I use format = trueI using Wysiwyg Editor (Visual&text). In another place without “Custom Content Shortcode” its display corectly, on “Custom Content Shortcode” no paragraphs.
Forum: Plugins
In reply to: [Custom Content Shortcode] woocommerce price with currency symbolThanks. But how do you add a currency symbol? I use a currency conversion plugin, the symbol must be from WooCommerce to be automatically changed by the currency conversion plugin.
For me, the main currency is the US Dollar, plus Euro and one more currency.
Thank you for answer ??
Forum: Plugins
In reply to: [Contact Form 7] custom shordcode in messageOv3rfly, thank you for link, this is working.
add_filter( 'wpcf7_special_mail_tags', 'foobar_func', 10, 3 ); //[foobar] function foobar_func( $atts ){ return "foo and bar"; } add_shortcode( 'foobar', 'foobar_func' );
insert [foobar] to Message Body.
Forum: Plugins
In reply to: [Contact Form 7] custom shordcode in messageI mean, to shortcode, like this:
// [foobar] foobar_func function ($ atts) { return "foo and bar"; } add_shortcode ('foobar', 'foobar_func');
So that was attached to the message content “foo and bar”.
Forum: Plugins
In reply to: [contact form 7] label above InputsOk i fix the problem.
Forum: Fixing WordPress
In reply to: post thumbnails do not activate in wp multisiteI found the solution.