cybmeta
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Adding custom headers to cached documentsJust to be clear; I talked about .htaccess in wp-content/cache/page_enhanced from W3TC, but I’m using LiteSpeed Cache now.
Forum: Plugins
In reply to: [LiteSpeed Cache] Adding custom headers to cached documentsThanks to you for the consideration.
I’m currently testing LSWS with the free 15 day trial.
Forum: Plugins
In reply to: [LiteSpeed Cache] Adding custom headers to cached documentsI’m not sure what option is more accurate in the validation of the 304 response, but as long as a cached file is valid, it should generates a 304 response, so I think that the option of adding ETag to the files served from cache is better. I’ve been using it with success for a long time through the .htaccess file of the cache storage directory, for example
wp-content/cache/page_enhanced
from W3TC.Forum: Plugins
In reply to: [W3 Total Cache] W3 Total Cache > with PHP7 not working (mysql_connect)I was looking for information about W3TC stop working until I discover this post. Sad W3TC is not ready for PHP 7.
It seems there is bug. The support team has submit a issue in github for it: https://github.com/Automattic/jetpack/issues/4895
Why this topic has been marked as resolved?
By the way, OG keep working well, only Twiiter meta tags are missing.
I don’t use any other plugin to handle OG, just a little piece of custom code to add twiiter:site meta tag; I’ve included that piece of code in the contact form message.
Active modules:
Carrusel
Enhanced Distribution
Monitor
Protect
Publicize
Spelling and GrammarI’ve just sent a contact form. Waitting response.
By the way, I’ve updated another site and the same issue appears.
Forum: Plugins
In reply to: [W3 Total Cache] Disable on AMP pagesHello @pandorino. That solution is already commented in a previous comment. The problem is that it skips HTML cache as well. Note that caching HTML for AMP pages is a desired feature (I mean, caching the document), including JS and CSS are not.
Forum: Plugins
In reply to: [W3 Total Cache] Disable on AMP pagesInteresting Marco. But not sure if this can produce issues in the future, but interesting.
Forum: Fixing WordPress
In reply to: wp-editor: link uploaded media to a specific post IDI think this should work for new posts also:
global $post; if( $my_post_ID > 0 ) { $post = get_post( $my_post_ID ); } else { $post = get_default_post_to_edit( 'my_post_type', true ); }
Forum: Fixing WordPress
In reply to: wp-editor: link uploaded media to a specific post IDOK, I’ve tested and it seems to work setting the global
$post
just before usingwp_editor()
. I still don’t know how to fix the issue for new posts.Forum: Fixing WordPress
In reply to: wp-editor: link uploaded media to a specific post IDHi @stevenworks!!
Can you share where and how to use:
global $post; $post = get_post( $my_post_ID );
How do you get
$my_post_ID
for new posts?Thanks in advance!
Forum: Plugins
In reply to: [W3 Total Cache] Disable on AMP pagesI always use manual minification mode and that doesn’t fix the issue. I’m sorry but I have to say once again that it seems you are talking about a different issue.
Read de AMP docs, loading a CSS file is not allowed. All CSS styles should be in
<style amp-custom>
tag but W3TC adds the minified CSS file to AMP pages in a<link>
tag, which is not allowed in AMP specification. That is the problem we are talking about in this thread.Same applies for JS. W3TC add the mifified JS file to AMP pages but it shouldn’t.
So, we are discussing about how to disable this behaviour of W3TC and avoid those minified CSS and JS files being added to AMP pages. Changing the minification method can not help with this. It seems you talk about another issue.
Forum: Plugins
In reply to: [DW Question & Answer] Remove Notice To Upgrade To Pro In Admin DashboardI think taht these readings can be interesting for you:
– https://wptavern.com/please-stop-abusing-wordpress-admin-notices
– https://wptavern.com/the-quest-for-a-centralized-wordpress-notifications-center