webrider99
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add code Linkedin to a buttonYes I have control on the HTML but not sure where to put the code, it gives me an error:
<div class="wp-block-button has-custom-width wp-block-button__width-75 has-custom-font-size has-medium-font-size"><input type="button" value="Click me" javascript="window.lintrk('track', { conversion_id: 9330609 });"><a class="wp-block-button__link has-background" href="https://interview.moderntalenthub.co.uk" style="border-radius:5px;background-color:#0176db;padding-top:8px;padding-right:20px;padding-bottom:8px;padding-left:20px" target="_blank" rel="noreferrer noopener">START NOW</a></div>
Don’t be sorry when you try to help somebody ??
Philippe- This reply was modified 2 years, 5 months ago by webrider99.
Forum: Fixing WordPress
In reply to: Add code Linkedin to a buttonSorry for late answer… it is a bit “chinese” for me!
I have followed the link and tried to add the following code to function.php but I get an error message:
” The snippet has been deactivated due to an error on line 2: Cannot redeclare function wp_add_inline_script.”
`function wp_add_inline_script( $handle, $data, $position = ‘after’ ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );if ( false !== stripos( $data, ‘</script>’ ) ) {
_doing_it_wrong(
__FUNCTION__,
sprintf(
/* translators: 1: <script>, 2: wp_add_inline_script() */
__( ‘Do not pass %1$s tags to %2$s.’ ),
‘<code>window.lintrk(‘track’, { conversion_id: 9330609 });</code>’,
‘<code>wp_add_inline_script()</code>’
),
‘4.5.0’
);
$data = trim( preg_replace( ‘#<script[^>]*>(.*)</script>#is’, ‘$1’, $data ) );
}return wp_scripts()->add_inline_script( $handle, $data, $position );
}`Forum: Fixing WordPress
In reply to: Insert Google tag with WP Blocks Twenty Twenty TwoWell, I did it through a plugin…
Forum: Fixing WordPress
In reply to: Insert Google tag with WP Blocks Twenty Twenty TwoWell, I did it through a plugin…
Forum: Fixing WordPress
In reply to: Conditional display of form resultThank you Vijay, well actually I’m not using a specific plugin but looking for one which can do that.
Ok, so if I buy the pro version, my custom fields will be added to the pdf invoice, correct?
or, with your pro version I will have to buy also the pro version of WooCommerce PDF Invoices & Packing Slips?(they say that i need their pro version to be able to add a custom field.
Forum: Plugins
In reply to: [WooCommerce] Checkout – labels not displayingSorry for my error Lorro, and many thanks, all good sorted…
PhilippeForum: Plugins
In reply to: [WooCommerce] Checkout – labels not displayingOk understood (I did try first your excat code). Just tried it and labels still not displayed.
Forum: Plugins
In reply to: [WooCommerce] Checkout – labels not displayingHi Lorro,
I’m pending for the credentials to update the theme. By that time I have modified again the css with your code.
I have modified it as follow because the id is different in the checkout manager (city is billing-city): actually I have tried both, city and billing_city.wooccm-field-<strong>billing_city</strong> label.screen-reader-text, .wooccm-field-<strong>billing_email</strong> label.screen-reader-text { position: static !important; clip: auto !important; clip-path: none; width: 300px; height: 24px; }
Forum: Plugins
In reply to: [WooCommerce] Checkout – labels not displayingHi Lorro and maykato, thank you for your help.
I’ve tried the custom css ; it does not solve it.
I have identified the plugin conflict. Actually, the conflict comes from the “Checkout Fields Manager for WooCommerce” itself!
My problem there if descativated is that I need extra field for the legal stuff (company registration number on the invoices) and to insert it in the pdf invoice.
Can this be solved with css?
Philippe- This reply was modified 2 years, 9 months ago by webrider99.
Forum: Fixing WordPress
In reply to: Site display CSS after install pop up pluginHi Steve,
I have identified the problem. It comes from the plugin Optiontree included in my WP template EventChamp. The plugin is not supported any more so I have to find an alternative.
Thank you again!
PhilippeForum: Fixing WordPress
In reply to: Site display CSS after install pop up pluginThanks a lot Steve
No, no cache/optimization plugin and few plugins actually ; main plugins and I’m scared there are Woocommerce and WPML (mulitlingual).
I have desactivated “iThemes Security” but nothing there. I will use “Health Check” in the morning and post the results. I want to do some back up 1st + this site is dedicated to Latin america so better during the night there.
Philippe