muchmuch11
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Brotli on Nginx bugI just tried to disable Brotli PHP extension, once it’s disabled, W3TC stop creating Brotli minified files. So Brotli option for CS/JSS on W3TC dashboard not working.
Forum: Plugins
In reply to: [W3 Total Cache] W3TC security header not working on NGINXCan’t access your link, it said 404
I can open this https://github.com/W3EDGE/w3-total-cache but I can’t find this specific issue there.
Forum: Developing with WordPress
In reply to: How to change wp comment field rows countIt works but I don’t know if I do it corectly. lol
Forum: Developing with WordPress
In reply to: How to change wp comment field rows countI created this function, is this correct?
function modify_comment_field_548 ($arg) { $arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="6" maxlength="65525" required="required"></textarea></p>'; return $arg; } add_filter('comment_form_defaults', 'modify_comment_field_548');
Thanks
- This reply was modified 5 years, 2 months ago by muchmuch11.
Forum: Plugins
In reply to: [Nelio Featured Posts] Plugin’s ShortcodeI found a way to do it. Thanks. Resolved.
As stated on the dev site, this plugin only search for images on your content (article), that’s why your logo isn’t responsive image, tihs including any sidebar images etc.
I tried this code but only remove the consent tick, not defaulting to OK, like pre 4.9.6
function comment_form_hide_cookies_consent( $fields ) { unset( $fields['cookies'] ); return $fields; } add_filter( 'comment_form_default_fields', 'comment_form_hide_cookies_consent' );
Anybody can help me? Thanks a lot!
Forum: Plugins
In reply to: [W3 Total Cache] Will not combine filesTry to combine/minify the files without CDN first, if it’s ok, then it will also work without CDN.
If you’re using CDN to test minify, it will be hassle because CDN will cache your file, HTML, JS or anything else.
Forum: Plugins
In reply to: [W3 Total Cache] BUG on W3TC nginx configTry to lock the file, so the W3TC can’t rewrite it. This’s what I do.
I don’t know where to submit the bug because there’s no official github for this, but you can use this one, github fork https://github.com/szepeviktor/w3-total-cache-fixed
If the bug also there, you can submit it and will be fixed on the fork.
Forum: Developing with WordPress
In reply to: How to add text at the end of post on last page onlyAnswering my own question, using this function:
global $multipage, $numpages, $page; if( $multipage && $page == $numpages ) echo 'last page';
Resolved.
- This reply was modified 7 years, 1 month ago by muchmuch11.
Hmm…
1. Ask WP Edge if you can use fragment cache on 2 locations
2. Disable your header fragment cache, check if your comments fragment cache works.
Forum: Plugins
In reply to: [W3 Total Cache] How to leverage browser caching for .woff filesWhere did you check the site? I checked your site on GTmetric and Google page speed insight, this specific part is fine.
Forum: Plugins
In reply to: [W3 Total Cache] How to leverage browser caching for .woff files(4 hours)
I think the problem is not your woff2 not cached, but the cache expiry seems too short, try to change it to a month.
Forum: Plugins
In reply to: [W3 Total Cache] How to leverage browser caching for .woff filesIt’salready on your nginx.conf.
This part:
gzip_types text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint application/x-shockwave-flash image/tiff application/x-font-ttf audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel;woff is there, it’s gzipped
I think fragment cache now only for paid user? check on extension, you’ll see.