Tim Eckel
Forum Replies Created
-
Forum: Plugins
In reply to: [Popup Modal] Popup not working?Closed due to age.
Forum: Plugins
In reply to: [Read More Excerpt Link] Change font size and colorYes, by changing your CSS. The read more link itself uses the class “read-more-link” if you want to change the link style, color.
Tim
Forum: Plugins
In reply to: [Minify HTML] Added if user logged in to codeWP-CLI support added in v1.98 of Minify HTML.
Tim
Forum: Plugins
In reply to: [Minify HTML] White Space Character Before HTML Tags Are Suppressed by Errorv1.98 is now available fixing this, thanks again!
Tim
Forum: Plugins
In reply to: [Minify HTML] White Space Character Before HTML Tags Are Suppressed by ErrorYou’re right, will update to v1.98 in an hour or so. Thanks for the heads up!
Tim
Forum: Plugins
In reply to: [Minify HTML] White Space Character Before HTML Tags Are Suppressed by ErrorI can confirm that this can be caused by the new “Support multi-byte UTF-8 encoding” option being activated. Set this option to “No” if you experience this (which is the default and suggested setting).
Tim
Forum: Plugins
In reply to: [Minify HTML] White Space Character Before HTML Tags Are Suppressed by ErrorThe only change in functionality would be if you turned on the new “Support multi-byte UTF-8 encoding” option (defaults to off). If that is turned off, it should have the same functionality as previous versions. If you turned that new option on, it sounds like you should turn it off.
Without seeing your site, it’s impossible to diagnose. Let me know what your Minify HTML settings are and make sure the “Support multi-byte UTF-8 encoding” option is turned off. If you still have an issue, it would be best if you should provide a link to your site.
Tim
Forum: Plugins
In reply to: [Minify HTML] Added if user logged in to codeI’ll look into it as well as what the heck WP CLI is.
Thanks!
Tim
Forum: Plugins
In reply to: [Minify HTML] Could use some adviceEmbeded CSS and JavaScript isn’t always a bad thing. It will make the first page load VERY quickly. Next page loads won’t be as fast, but hardly a problem. Tools like Google’s PageSpeed Insights (https://developers.google.com/speed/pagespeed/insights/) will actually give a site coded like this very high marks.
I actually created a website specifically to score a perfect 100% on both desktop and mobile using Google’s PageSpeed Insights. Here’s the results:
If you look at the page source for https://www.dogblocker.com/ it’s all minimized and all the CSS and JavaScript is embeded. But, that can get you a 100% with Google’s PageSpeed Insights.
It’s all a matter of what you’re shooting for. I would suggest looking at Chrome’s developer tools and the Network tab to figure out how to best speed up a website. That will tell you exactly what is slowing the site down. The embeded CSS and JavaScript is not the fault. Making it minimized will help, and make it look better. But, if the site is slow, there’s other reasons which developer tools -> Network will show you. Looking again at https://www.dogblocker.com/ in developer tools -> Network, you will see that there’s one thin green line at the top, not a bunch of cascading waterfall downloads. That’s HTTP2 and content pushing at work. I’m an expert at making a site efficient and fast. But sometimes it requires extensive work and I’ve been doing it for 22 years, so…
Anyway, I wish you the best!
Tim
Forum: Plugins
In reply to: [Popup Modal] Popup not working?Sorry, that link wasn’t working last night when I tried. Those settings should show the popup. You have a different popup that I’m sure would conflict in some way, if the other popup is turned off, the popup modal should work.
What happens when you disable the other popup and you enable the popup modal? Do you see any popup modal html in the source?
Just hard to diagnose without the popup modal being turned on and published.
Tim
Forum: Plugins
In reply to: [Minify HTML] Added if user logged in to codeNever heard of WP-CLI nor how I would test that or the reason why it’s needed. Will probably require you to add the exclusion as it sounds like I’d need to setup a custom site just to develop/test this.
Forum: Plugins
In reply to: [Popup Modal] Popup not working?Looks like you have another popup now. To resolve the problem with Popup Modal, I would need to know the settings you had for the popup and the popup contents (HTML).
Tim
Forum: Plugins
In reply to: [Minify HTML] Could use some adviceThey have inline CSS, lots of it. Minify HTML will not get rid of inline CSS, it can’t. It only makes it as small as it can. You’ll need to move the CSS and JS to an external file. This isn’t something Minify HTML can do or was designed to do.
Forum: Plugins
In reply to: [Minify HTML] Character error in contentVersion 1.97 will be released tonight which will support a switch for multi-byte utf-8 character encoding for foreign character support. This option will fix your odd characters introduced by the preg_replace when minimizing.
Let me know how version 1.97 works!
Tim
Forum: Plugins
In reply to: [Minify HTML] Character error in contentThere was nothing wrong with a couple extra returns in your source (by design), but glad you sorted things out. Turning on the Minify HTML options below will make your HTML much shorter:
Remove XHTML closing tags from HTML5 void elements
Remove relative domain from internal URLs
Remove schemes (HTTP: and HTTPS:) from all URLsv1.95 was the one you wanted as it worked correctly with multi-byte foreign characters. v1.96 backed out the function because it caused errors with English websites. Basically, you should have kept version 1.95. In a future release I’ll need to make it an option so it will work both for non-English and English websites.
If you want to manually fix v1.96 to work with your site, edit the plugin, find the comment “Make this an option in a future release” and uncomment the next two lines (remove the // from each). It will then look like the following:
// Make this an option in a future release if ( mb_detect_encoding($buffer, 'UTF-8', true) ) $mod = '/u';
Tim