Home › Forums › Themes Support › Claue › Script Help
- This topic has 8 replies, 2 voices, and was last updated 6 years, 2 months ago by Harry.
-
AuthorPosts
-
-
October 11, 2018 at 5:15 pm #25647
Hi Harry,
I am going to use SendPulse for my website.
After configuration the service, it gives me an script and ask me to put it on head of my site.
What is the safest method for adding this?
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
October 11, 2018 at 5:17 pm #25648This reply has been marked as private.
Rahim Vaziri
CEO & Founder at Look.ir -
October 11, 2018 at 6:27 pm #25651
Hi Rahim,
Please use this plugin https://wordpress.org/plugins/insert-headers-and-footers/
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
October 11, 2018 at 6:36 pm #25652
Hi Harry,
I installed this plugin.
But I found an strange thing.
When I add the script to this plugin correctly and clear the cache of my caching plugin and also resets the browser, the script is not working.
But when I add exactly the code to custom js of the theme, it starts working.
But when I delete the code from the the insert header and footer plugin and just keep the code on the theme panel, it stops working!!!
Rahim Vaziri
CEO & Founder at Look.ir -
October 11, 2018 at 8:00 pm #25653
Hi Rahim,
Please remove code in Theme Option. And try add code to plugin again and remove cache and check again.
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
October 11, 2018 at 9:19 pm #25654
I will check again Harry,
Just as a confirm I want to know can I upload header.php to claue-child and put the script right after this?
?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head>
Is this safe also for applying these kind of scripts without plugin?
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
October 11, 2018 at 9:58 pm #25655
Yes,
Please upload header.php to claue-child and add script after the code you said.
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
October 28, 2018 at 7:14 pm #26141
Hi Harry,
If read again this topic, you will remember that I told you for adding an script, something strange is happening on my site.
When I want to add an script to header, I have to add it on both
insert header and footer
and theme paneljs section
.I checked that again today and it was the same.
I just remember that I have edited my menu and have a file name
layout-4.php
on my child-theme.Can this cause the issue?
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
October 28, 2018 at 11:38 pm #26152
If you add the code to header, please remove code in Theme Option and code in insert header and footer.
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.