twistedpixel8
Forum Replies Created
-
Of course! Honestly I didn’t do much, I just moved all the code from inside the scroll event handler to an anonymous function (assigned to a variable) and call that function within the event handler. This way, I could then add a setTimeout() (a promise would probably be better) just after the event handler setup which also calls this function. Works perfectly as a really quick temporary fix. I didn’t really see the need to complicate it since the functionality was already there, it just needed triggered once as the page loads.
Here’s a gist.
https://gist.github.com/twistedpixel/66c6d226a3c18d9d61ead68daf9025ce
Brilliant thanks 🙂
I assume this will be the next release? Like there won’t be an interim release before this is fixed?
I only ask because I’ve currently modified your code on our installations to provide a fix and I’m hoping the next patch will just replace my fix.
Thanks again!
That’s what I would have thought but that’s not what’s happening here. I’ve tested it on a fresh install of WP and Elementor and set it up the same way: Created an Archive template and a Sidebar template, added the widget to the Sidebar template and included the Sidebar template inside the Archive template.
The update() function of your plugin is being called by /wp-content/plugins/elementor/includes/widgets/wordpress.php at line 210, inside function get_init_settings()
Forum: Hacks
In reply to: Retrieve available updates and initiate them remotely via APIThanks for the info James, hadn’t even thought about the CLI. That would likely work for some but a few are off-site so would be a bit tricky to manage without some tricky on-the-fly SSH piping.
Yeah I did check out Jetpack, I was just curious to see if WordPress made this functionality available through an HTTP API in any way but as you confirm, it doesn’t seem it does (or even will with the upcoming API).
Does look like Jetpack is the best solution currently. I’ll give it a shot and see what I think.
Anyone else want to weigh in on how they do it?
Forum: Reviews
In reply to: [Fast Secure Contact Form] Never got it to work.You can’t give a plugin 1 star because you didn’t know how to properly configure your server for mail. What a twonk.
Forum: Reviews
In reply to: [Fast Secure Contact Form] DarnYour emails are not going to spam because of this plugin, it’s because your server isn’t configured properly. You will probably find you don’t have reverse DNS or an SPF record. Ask your hosting company about those two. Also make sure the form is sending from an email address that actually exists on your domain.
Forum: Plugins
In reply to: [Rename wp-login.php] Error in Logout (Details)I have experienced this on every single “rename login page” plugin. It seems stupid that this is just a “live with it” scenario.
The problem seems to be that while renaming the “log in” entry point, the “log out” point is messed up. WordPress now ignores the GET parameter “action=logout” and simply presents you with the login page again.
I tested this with about 8 different rename plugins and all do exactly the same thing. Either it’s simply impossible to implement proper logout functionality when the page is changed or something on my/your server is causing this problem.