Greetings,
Nice to see the update although a first time install will throw a page error after clicking Activate. Use the back button, to go back to Plugin page and then click Activate. Has happened on two different sites.
Anyone else notice this?
]]>Wordfence flagged the plugin for being abandoned as no updates were given since 2020.
When is the next update due?
]]>Hi there,
I get an error when trying to deinstal the plugin. I can’t delete it though. Can I just delete it via ftp or is there something in the database too? Can you give an instrucstion on how to delete it manually? Thanks
Apologize in advance if this is answered somewhere and I missed it.
I’m using the Other Archive Pages exclusion. Just wondering if I could have that apply to jQuery only – i.e., only jQuery loads in header and only on other archive pages.
]]>is this plugin still supported ? I’ve enabled it on my site but Gmetrix is still telling me scripts should be moved.
]]>Hi there,
Hoping you can help.
The Plugin is making my mobile menu open then close on page load.
]]>Hi there,
I have installed the plugin, however, the slider cannot work.
Try the method that deletes the plugin can restore to the default setting
But the condition is still there, could u help me to check?
THanks
]]>We are getting the following error in our website logs from this plugin: “Scripts-to-Footer Plugin Error: Error in taxonomy check”.
How do we fix this? Is it a bug or error that needs resolving? Happy to supply login for our staging environment if necessary.
Thank you!
]]>Hello,
How do I delete the code and revert back to how the site was before? from the URL attached, you can see that the contact form and the testimonial images are messed up on the home page. I deactivated and deleted the plugin but issue is still not resolved.
Kindly assist.
]]>Hi there,
Thanks for the great plugin, when I activated it, it breaks the amp validator giving this error The mandatory tag 'amphtml engine v0.js script' is missing or incorrect
. I am wondering if you could help excluding the Amp script from moving to the footer, I don’t know the script slug.
Anyway here is the script link:
<script type=”text/javascript” src=”https://cdn.ampproject.org/v0.js” async></script>
Thanks
Installed this plugin, and indeed it got rid of all my javascript scripts and dumped them in the footer.
Just like it’s supposed to do.
Slight conflicts with a couple of site widgets, which was easily remedied by excluding those pages from having the plugin work on them, via a checkbox.
So why then does WP Rocket not like this plugin at all and keeps trying to make me deactivate it?
]]>Hi,
I have been testing your plugin on a live site and found that the following other plugin breaks when I use it: https://leapsandbounds.io/the-social-links/
Specifically, the fontawesome characters that are used for the social buttons do not appear in firefox or chrome. I’m not 100% sure what’s causing this, but I can see that the CSS is not correctly setup for some reason, for the buttons.
I attempted to write a filter to make sure that none of the scripts from the ‘social links’ plugin were loaded into the footer by your plugin, but I was not successful. It would be great if you would let me know how to get these two plugins to work together. thanks!
]]>I treid out your plugin, found it broke elementor – so I treid your script for logged in users i.e.:
function stf_turn_off_for_users( $include ) {
if( is_user_logged_in() ) {
$include = false;
}
return $include;
}
add_filter( ‘stf_include’, ‘stf_turn_off_for_users’ );
This didn’t work. Scripts still in footer for logged in users.
Even completely removing the plugin didn’t work. All my scripts are still in the footer (apart from JQuery as per the last set STF settings before deletion!).
Help! I want to revert back to scripts in the header as Elementor is VITAL to my clients.
]]>Hi Joshua, me again!
Now i’m wondering how to exclude move jquery to footer only for one page.
I have unchecked “Keep jQuery in the Header” and I tried to put this function on my
function.php :
add_filter( ‘stf_exclude_scripts’, ‘jdn_jquery_in_header’, 10, 1 );
function jdn_jquery_in_header( $scripts ) {
if( is_page( 114 ) ) { // Replace this number with the page id or page slug
$scripts[] = ‘jquery’;
}
return $scripts;
}
But nothing happened
Can u help me please?
Hi there
I’m using the plugin but i want to exclude some scripts to keep it on the head but it doesn’t work
Maybe I’m using the wrong slug for them.
On the head they appear like this
/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
/wp-includes/js/jquery/jquery.js?ver=1.12.4
Can you help me please?
Thanks!
]]>Thanks for the great plugin!
I am not sure why but when the plugin is switched on the link will look like this – https://www.howtolookpretty.com/wp-content/cache/swift-performance/www.howtolookpretty.com/desktop/unauthenticated/index.html
Your support will be much appreciated! (yes our site is howtolookpretty.com)
FYI
– I use swift performance lite cache
– “Keep query in the header” was clicked and unclicked, the long link will be generated in either option
– My theme is Astra and they confirmed that they utilize wp_enqueue_scripts
I install this plugin and work currently but does not work in custom post types.
What is problem?
Hi,
The option you have set to ‘defer’ js files is causing “jquery is undefined” error for some of my inline scripts.
How to undo it?
When I deactivate your plugin, and the defer (and undefined error) vanishes. So it is due to your plugin.
NOTE:
I have kept jquery in the head.
I have checked, it IS loading before any other script, but since it’s deferred, my inline scripts are giving the “undefined” error.
So can you help please? I otherwise like your plugin, very useful to increase page speed.
]]>I know this is a stupid question but I think it will also help others. I want to remove jquery from the header, which works in all pages besides one page. What should be the code to insert in functions.php to ensure jquery is loaded from the footer besides one page? Lets say the page id is 114 for example.
I am adding to this question if its also possible to load jquery from the footer only for mobile devices and not desktops.
Thanks in advance.
]]>This question might have come up before but I couldnt find a solution to it. The plugin moves JS to footer like it says but what is the solution for CSS?
Thanks in advance.
]]>I need to put a FB Pixel in Header, however this plugin won’t let me use other plugin that does that.
I am scared to delete this plugin as not sure what script I will delete when I do that.
ANy suggestions would be welcomed.
thank you
Andrew
I activated this to try it out, it prevented my easy fancy box from working, so I deactivated scripts to footer. After deactivation, emptying cache although (no catching plugin installed), the fancy box is still not working! I don’t know what happened, but I would only guess that deactivating this plugin does NOT revert the location of the java scripts…
]]>So I have seen a few suggestions on the forums that should be implemented, but are not. First I understand that this request was revoked – but I also believe it should just exist by default, as its a huge burden on SEO.
That being….
Please move wpemojiSettings js scripts to the footer. I realize why it doesn’t work by default – but this is a script that is such a burden you should just scan for it and move it to the bottom of the page (not the same as disabling which is what other plugins you recommended in another post do).
Next – as you mentioned to the person who made the request, you can’t move stylesheets to the footer as it takes very specific per site checking to do that correctly. I absolutely agree and disagree.
What you can do is move all style tags to the footer. It seems most don’t understand why google complains about this. Style tags should NEVER be in the head of a website. ONLY meta information, header information, and link tags which import css files (and perhaps js import files) should be in the header.
So I actually think loose style tags could, should, and would benefit users to move to the footers.
I would very much like to see both of these features implemented. As I believe the SEO benefits would be outstanding. If you are not aware of this, the first 100 ~ 250 characters that are not actual tags – matter a LOT in SEO. So getting loose scripts and styles that are not links, is of utmost importance ??
Please note I am recommending the script tag be moved to the footer NOT the link tag (which is how to call external css files)
Any chance of this happening?
]]>It should be relatively easy but you can add an option in the settings to enable stylesheets to be moved to the footer too. That will make this far more robust.
]]>Use of deprecated PHP code and when try to delete your plugin I get this:
Deletion failed: Warning: fopen(/home/deb9346745/domains/domain.com/public_html/rdp/wp-content/plugins/scripts-to-footerphp/scripts-to-footer.php): failed to open stream: No such file or directory in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4649 Warning: fread() expects parameter 1 to be resource, boolean given in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4652 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/deb9346745/domains/domain.com/public_html/rdp/wp-includes/functions.php on line 4655 {“success”:true,”data”:{“delete”:”plugin”,”slug”:”scripts-to-footerphp”,”plugin”:”scripts-to-footerphp\/scripts-to-footer.php”,”pluginName”:””}}
]]>Hi, I installed the plugin and left me the web in text mode, how I can return to the original state of the scripts?
Please, is urgent.
WHY?? because page builders often need those scripts in the head to work, but once the page is built, the scripts still run in the head gobbling up resources.
Thanks for your consideration.
]]>Installed Scripts To Footer 0.6.1 and it interferes with the Easy FancyBox plugin: instead of the images popping out in a highlighted box, the entire site shifts to the image’s URL page, not quite the effect one hopes for.
So I have had to deactivate your plugin. Hope this issue is addressed in the future.
Best and thanks for your efforts . . .
]]>I have installed your plugin and moves all JS files to footer as documented. But unfortunately, mobile device report still says that Eliminate render-blocking JavaScript and CSS in above-the-fold content and please refer the screenshot https://prntscr.com/a8jqbq
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.wpdiv.ml%2F&tab=mobile
Please advice me what i did wrong.
]]>I can understand why some may not move, such as those hardcoded without the use of enqueue_script
, but I am seeing emoji settings in <head>
, which is a standard WordPress thing.