jonte98
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] SecurityI do not ignore that! I do agree to a certain point, but hiding the version makes it more complicated for a hacker.
Forum: Plugins
In reply to: [Performance Lab] Remove attributesProof of concept – this code alters exactly as above, and it works just as before except its less code in the DOM. The inline CSS ended up optimized a bit further.
function img_attr_cleanup(){ add_filter("wp_get_attachment_image_attributes",function($attributes){ if (isset($attributes["data-dominant-color"])){ unset($attributes["data-dominant-color"]); } if (isset($attributes["data-has-transparency"])){ unset($attributes["data-has-transparency"]); } return $attributes; }); } add_action("template_redirect", "img_attr_cleanup"); add_action("wp_enqueue_scripts",function(){ wp_dequeue_style("dominant-color-styles"); wp_register_style('dcs',false); wp_enqueue_style('dcs'); wp_add_inline_style('dcs','img:not(.has-transparency){background:var(--dominant-color)}'); },20);
Forum: Plugins
In reply to: [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] High memory usageIf you spin up a site and install Rank Math and Query Monitor, you’ll be able to check everything in detail. Check memory usage before and after activating Rank Math.
Forum: Plugins
In reply to: [Contact Form 7] Missing attributeIt would be great if the option was there. Styling the form errors will be so much easier.
Forum: Plugins
In reply to: [Contact Form 7] Delaying script issueIn the Chrome Developer tools. If you look in the inspect code, then you’ll see that they are loaded, and you can also see it in the network tab.
Here’s how you check that:
Forum: Plugins
In reply to: [Contact Form 7] Delaying script issueThey are loaded, but on user interaction. Before then, they are not loaded.
Here’s how this works:
https://docs.flyingpress.com/en/article/delay-javascript-y9gvfg/
Forum: Plugins
In reply to: [Contact Form 7] Delaying script issuehttps://cf7-test.instawp.xyz/sample-page
Its a test site on InstaWP, just the standard form that comes with it + a checkbox. And FlyingPress delay scripts is on. As you can see, the validation and the form breaks entirely.
Forum: Plugins
In reply to: [Secure Custom Fields] High memory usage@polevaultweb It’s site-wide. I can’t however see what it looks like when I’m logged out. I’m using Query Monitor to measure.
I’d like to let you know that saving everything regarding ACF in a custom db table would help performance. And conditionally load the plugin code to only when it’s used.
It seems like it’s loading the entire plugin site-wide right now.
On the front-end, it’s only required for the code that picks up the values from the DB to run for example. And all the back-end stuff is mainly required only on new posts and the ACF related setting pages.
Forum: Plugins
In reply to: [Salt Shaker] Memory usage increases 5xSounds really great! I’ll reach out in an hour.
I am a junior developer and its worth checking if the Freemius integration can be conditionally loaded to when it’s needed.
It’s the license system, right?
I can think of two instances it’s needed. When you enter the license key (action: on settings save). And on plugin update.
Yea, I know but it is way better if you can’t login as an admin through the form.
I will check, and get back to you if it doesnt work
Thank you Patrick, problem is, when using the CSS you wrote above, the next and back is removed on all pages in the multipage form.
It should be removed on selected pages only, ideally if I can choose that by specifying a specific CSS class.
Here comes the next problem, the next and back button are outside of each page in the form, its not located inside each page. Therefore I don’t know how to target the CSS selectors for that.
I tried to set the button to 50% but it refuses to align at the right side of the field
Thanks, but I have no idea how to put that togheter Patrick, can you please put it togheter to make it work for mobile and radio and dropdowns and in those cases also remove the next button? ??
- This reply was modified 2 years, 7 months ago by jonte98.