Hi @wslizgiem,
Thank you for contacting me about this.
Can you add a link or send me a link to a post you are having trouble with, and include what you filled in at ‘Stick the bar to this element’, so I can take a look? It is not a problem I have heard before, so it’s probably something specific. Maybe an element that is present on pages but not on posts, depending on whether you’re admin etc. However, it should default to displaying at the top so that is definitely weird. I would be more than happy to take a look at it.
Kind regards,
Joeri
Hey! Thanks for the reply!
Okay, so I reinstalled test site on address: https://annpaw.com
And here is what I found out about the problem – so, after clean install of WP and WP Reading progress the bar was not visible anywhere – no matter if its default or 3rd party theme. But, after installing elementor and editing front page with it and saving – the bar is visible. The same with post page.
Front page is edited with elementor, the bar is visible: https://annpaw.com/
This page is published via default WP editor, there is no bar: https://annpaw.com/test-no-elementor/
This post was edited using Elementor, the bar is visible: https://annpaw.com/2020/11/12/ttt2/
This post was published via standard, WP editor, there is no bar visible: https://annpaw.com/2020/11/12/test-no-elementor/
The settings are default, apart from “show reading progress on pages & posts” is enabled.
Thanks!
Hi @wslizgiem, thank you for setting up the test site, I have found the problem. For some reason the jQuery library is not available on the pages where there is no reading progress bar. Of course the plugin states clearly it depends on this library as is required by WordPress, so it can be (pre)loaded, but I have seen problems with that earlier.
Please let me think of a quick fix or maybe a more thorough fix today, I will get back to you this weekend. Thank you for contacting me, probably more people have had this issue, thank you for giving me the chance to fix it now.
Kind regards,
Joeri
Hello again,
I removed jQuery dependency entirely from the frontend, I had this planned already since it played only a very small part and only slowed down initialization.
You should find version 1.3.4 now in the WordPress plugin repository. You can safely upgrade your plugin to 1.3.4 or download that version.
Please let me know if this update indeed fixes your issue.
Kind regards,
Joeri
Hi, thanks for your reaction. I can confirm the issue is fixed!
Regards.