amjo31
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Add Custom CSS] Suggestion: Minify OptionI do not recommend this in any parallel dimension that may exist, but somehow i was forced to do the following:
I first created a minimiseCSS() function under functions.php
function minimiseCSS($css){ $css = preg_replace('/\/\*((?!\*\/).)*\*\//','',$css); // negative look ahead $css = preg_replace('/\s{2,}/',' ',$css); $css = preg_replace('/\s*([:;{}])\s*/','$1',$css); $css = preg_replace('/;}/','}',$css); return $css; }
Then, the part where I don’t feel comfortable with and don’t advise, is going to /wp-content/plugins/wp-add-custom-css/css/custom-css.php and modify line 6:
// change the below echo $custom_css; // to the following: echo minimiseCss($custom_css);
I hope this helps other SEO overachievers out there ??
- This reply was modified 4 years, 9 months ago by amjo31.
Forum: Plugins
In reply to: [Max Mega Menu] CSS minificationPlease disregard this. it has nothing to do with Mega Menu. If i can delete this question, i would.
the css file was placed on an exceptions’ list to not minify from W3tc… sorry guys. ill show myself out
Forum: Plugins
In reply to: [W3 Total Cache] Disable HTTP2PUSH on AMP pagesThank you Marko. This is great to hear.
regards,
/avzForum: Plugins
In reply to: [AMP] A value for the url field is required even after see the valueWow, im having the same issue, here. I’ll wait for the outcome.
although mine may be a bit different, because i get the “a value for the url field is required” error, and in my case it actually IS set: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.asapsystems.com%2Fasset-tracking-it-v005%2Famp%2F
Nevermind, for those having the same issue, follow this link:
https://support.rankmath.com/ticket/rank-math-rich-snippet-wrapper/
it would’ve been nice to have some sort of an extra flag in the RM settings when enabling rich snippets. I love that you’re enforcing Google Webmaster guidelines, but an extra flexibility would be much better control for webadmins.
cheers
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Wrong Password entriesI have the exact same issue, though i don’t have captcha on it. it’s crazy, i get wrong password recordings every minute.
- Author column is empty
- i get a new IP address each time
- Type User
- Label Empty
- Action Wrong Password
- Description is showing one of the usernames. But im guessing this is random? because if someone is actually guessing a bruteforce password, the “Author” column show display the full name of that username
Sincerely,
paranoid web admin ??Forum: Plugins
In reply to: [Max Mega Menu] Menu shows on page loadWOW!… like a glove!… this worked like a charm and solved my issue!
thank you so much,
and congrats on an awesome plugin!Forum: Plugins
In reply to: [Max Mega Menu] Menu shows on page loadsorry for the late reply. i’ll try this now and will update here again ??
Forum: Plugins
In reply to: [Max Mega Menu] Menu shows on page loadHello Megamenu,
yes i am using W3TC caching plugin for minification, i also have CDN services as well.
with regards to links, is there a way i can share it with you in private? – Sorry, company protocols.
Mind you, i just re-read my original post, the snapshot is taken during page load (mouse not hovering a menu item).
Of course after page load the menu is hidden works as intended on hover of link.cheers,
amjo- This reply was modified 4 years, 11 months ago by amjo31. Reason: extra info, clarity