Hi, thanks for this handy button.
The plugin is currently unavailable for download… Is there a security fix coming or should I be looking for an alternative?
]]>Hi
We’re working on a website that also uses the Google Translate plugin to offer the website in different languages. It uses a sub-directory URL structure for the translated pages. eg domain.com/page becomes domain.com/fr/page for French.
We are using a custom float to top image and we’re finding that the /fr/ is being inserted into the src URL of the image when a page is translated. Of course domain.com/fr/image.jpg doesn’t exist as it’s only available at domain.com/image.jpg and so the Float to Top button doesn’t display.
I have found it does the same when we use one of the default images.
I don’t know how/why it is changing the custom image URL nor how to stop it.
Any advice?
Thanks
]]>nice plugin and settings are pretty straightforward,
but it doesn’t load on my educatetravel.com website
do you have any idea from previous user experience, what might be the cause?
i run WordPress 5.8
]]>Seeing the following notice with debugging enabled:
Notice: Undefined index: disable_desktop in …/wp-content/plugins/float-to-top-button/float-to-top-button.php on line 51
]]>Installed and tuned up. But no button on the pages. Chrome console shows an error:
Uncaught TypeError: jQuery.scrollUp is not a function… in /wp-content/plugins/float-to-top-button/js/float-to-top-button.min.js
Wordpress version is the latest.
My the me has enabled jQuery:
/wp-includes/js/jquery/jquery.js,
/wp-includes/js/jquery/jquery-migrate.min.js
All another plugins works fine.
Please help!
Is it work in RTL theme ?
]]>Hi there, I have this Landing page plugin that doesn’t allow me to use the custom fields. I do have custom CSS however, is it possible for a CSS code to hide the float to top button?
You can see it double bottom left hand corner when you scroll down the page.
]]>Hi Rolf.
This plugin (float-to-top-button) is really cool!
Can you create a similar one that I can customize further?
I need a button I can customize (size and image) that I can position anywhere on the page (fixed, absolute, et cetera) and point to an external URL instead of [scroll to top].
My customer wants a button between the menu and the header. I’ve searched and can’t find any good plugins to make this happen. I’ll bet you could fork this one and create a new plugin in half an hour.
If you can do this I promise to hit your donation page and leave you a stellar review! Please let me know.
Thanks for reading.
]]>Could you please show me custom CSS that would allow me to hide or remove the button from certain pages? I’ve tried:
.page-id-xxxx #scrollUp
{
display: none;
}
But it doesn’t work. What am I doing wrong? I’m pretty new to CSS and any help you could give me would be greatly appreciated.
Thanks..!
]]>I tried changing the “distance from top before showing element” setting but it’s not having any effect.
]]>I would need a floating top button, sending not to the top, but to the footer of the website, where I have the ask for quotations form. How I could hange your plugin to work for this new idea too?
]]>Thanks for a great plugin, it works incredibly well on compliant browsers but…
On my site (prescriber.org.uk) the button appears at the bottom right in all browsers I’ve tested (FF, Chrome, IE8, IE9). But in IE9 and only IE9 the button disappears from view when you hover over it. It reappears again at the greater opacity if clicked.
Bizarrely it works fine in IE9 in IE7 or IE8 compatibility mode so this is clearly some browser weirdness going on. I’ve tried to figure this out but the diagnostic tools in IE are next new to me and not very helpful as yet.
Any ideas what it might be?
]]>No scroll button on IE
]]>I have a theme called citilights by nootheme.com with a “Go To Top Button” built in and/or plugin that came with the theme but I am not happy about the behavior.
If I were to install your plugin, will it override the current “Go To Top Button” or I would have to manually deactivate the plugin or remove the code it came with manually before I can use yours?
THANKS in advance for your kind attention!
]]>In float-to-top-button.js
line 24 (fttb_img.src = fttb.imgurl+fttb.arrow_img;
) causes the local image to load even when arrow_img_url
is set. This line should either be removed or replaced with: fttb_img.src = fttb.arrow_img_url == '' ? fttb.imgurl+fttb.arrow_img : fttb.arrow_img_url;
An option should be added to set a custom image URL.
Also, wp_localize_script should be used to set the options instead of outputting JavaScript directly.
Is this plugin on github?
]]>By default the button has an insanely high z-index value of 2147483647. This interferes with overlay elements. It should either be lowered or an option added to set a custom value. I set mine to a much more reasonable 99.
]]>I am using a theme that has a built in “scroll to top” feature and I disable it, in favor of yours.
The ONLY thing I prefer in the theme version is that I can set the default and the hover colors.
Will you consider adding this feature?
]]>Love the plugin, but need to put a difference in spacing on my Spacing From Edge controls.
Would love if you’d split these, same values, just separate toggles.
I use right+bottom, but this should work easy as left/right top/bottom so we know which were controlling, based on how we have the Position of the Button set.
Thanks.
]]>Rolf, your FTTB looks excellent. And it gave me an idea.
When I’m logged in and editing the site, I display the site with the Admin Bar turned off. I don’t need all that extra stuff slowing me down. But I do want a quick way to jump back to the Admin page.
What if you made a new plugin, based on FTTB, that would provide a floating Admin button? It could even provide a small hover-menu that lists the most common Admin pages (Dashboard, Posts, Pages, Appearance).
Thanks for reading this. Continued good luck with your FTTB plugin.
]]>Hi,
I have installed Float to Top Button and Smart Slider 2.
They were absolutely awesome and working fine until i upgraded the version2.0 of Float to Top button today. My Slider just refuse to load. The only work around is to deactivate the Float to Top button plugin and it is so right now.
Please help to solve the issue faced before i could turn back on this awesome plugin.
Very troubled.
Best regards
]]>@cageehv / Rolf
Thanks for making the changes to allow this plugin to be disabled on mobile devices.
I’ve got some further suggestions for your consideration:
– Convert the existing options into a single array option to reduce database calls.
– Only load javascript files on the plugin settings page in the backend, rather than on all pages.
– Move plugin to PHP class structure to reduce chance of function and variable names clashes.
– Move settings page code into a separate file to reduce file size load on frontend.
I’ve actually almost complete all of this – I just need to check that the plugin remains functional. Would you like me to share the code with you somehow?
]]>Thank you for a great plugin, this plugin is compatible with many more browsers than the alternatives.
One thing I would wish for though would be a way to disable the button when my site is viewed on mobile devices. Is this already possible or would you consider it?
]]>I’ve got an error that jquery was not defined when i used a plugin that combines js and css files and puts them in the header for better page speed.
Turned out that the remedy was fairly simple to do. In float-to-top-button.php change the lines that enqueue the scripts (around line 33) to not have ‘false’ for dependency but to array(‘jquery’).
After this my site worked both with and without combining js/css files.
Hope it helps someone!
]]>I was just about to post this when you updated to do half of my fix. So, to stop script from loading on login page also ….
Add this function to top of php:
function is_login_page() {
return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'));
}
and change the two style and script loading lines:
if (is_login_page() !== FALSE ) add_action( 'init', 'fttb_scripts' );
if (is_login_page() !== FALSE ) add_action( 'wp_enqueue_scripts', 'fttb_styles' );
]]>
Hi
I loaded up my site front end to see another js error.
ReferenceError: jQuery is not defined
…./wp-content/plugins/float-to-top-button/js/float-to-top-button.js
Line 19
Sorry to be such a pest.
]]>Hi
Great script. I get a js error in the admin area (amy page):
ReferenceError: fttb_topdistance is not defined
…./wp-content/plugins/float-to-top-button/js/float-to-top-button.js?ver=1.0
Line 22
Also, does this script restrict itself to the front end, as I can’t see a need for it in the back end?
]]>