Harry
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Botiga] Warning: Invalid argument supplied for foreach()The issue caused because I was using fake SSL certificate (localhost)
Adding this
add_filter( ‘https_ssl_verify’, ‘__return_false’ );
fixed the issue.
Although I need to remove it once I move to production.
Forum: Themes and Templates
In reply to: [Botiga] Warning: Invalid argument supplied for foreach()you’re running the latest version of Botiga theme?
Yes
Does your site meet these requirements?
Yes
Can confirm.. Same issue.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Disable compression but keep WebP creationI am not talking about the “WebP Only” in the “Bulk Optimize”.
I am taking about EWWW should never ever try to optimize my images but create a WebP only.Never mind. I’ve figured it out. Need to use the
as3cf_get_attachment_url
filter.Full code:
add_filter( 'as3cf_get_attachment_url', function( $url ) { // matches http and https both. $url = 'https://cdn.statically.io/img/'. preg_replace( '#^https?://#', '', $url ) .''; return $url; });
- This reply was modified 5 years, 6 months ago by Harry.
Yes it’s possible. But you need purchase premium version.
- This reply was modified 5 years, 6 months ago by Harry.
@wpmudev-support6 The plugin makes Media Library at least 10x slow because of excessive database queries.
Forum: Plugins
In reply to: [Hide SEO Bloat] Remove Yoast SEO columnsBug 3: “Remove HTML Comments” does not work on Yoast SEO Premium.
<!-- / Yoast SEO Premium plugin. -->
still shows up.The proper way to remove it is by using this: https://buddydev.com/remove-this-site-is-optimized-with-the-yoast-seo-plugin-vx-y-z/
Does this plugin has any github repo?
- This reply was modified 5 years, 6 months ago by Harry.
Forum: Plugins
In reply to: [Redirection] Firewall blocking redirect.liJust one?
I thought the service might be using multiple ips. Okay then.Thank you.
That seems to fixed the issue.Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] “stcr-admin-style” showing up in Post EditorUpdate: I found the culprit.
The stcr-admin-style.css was renderning in every page because
subscribe_reloaded_deferred_admin_notices
was not null.But in the front-end i could not see any subscribe_reloaded_deferred_admin_notices.
The plugin probably was not able to delete the notice hence the issue.After deleting delete
subscribe_reloaded_deferred_admin_notices
from wp_option the problem seems to be fixed.Forum: Plugins
In reply to: [Yoast SEO] [Enhancement] Disable Schema output on noindex pages.Actually I made a code to do it. This will disable JSON-LD output to noindex pages.
add_filter( 'wpseo_robots', function( $string ) { if ( strpos( $string, 'noindex' ) !== false ) { add_filter( 'wpseo_json_ld_output', '__return_false' ); } return $string; });
- This reply was modified 5 years, 8 months ago by Harry.
Forum: Plugins
In reply to: [Yoast SEO] Remove Person graph from JSON-LDI have added this codes in function.php
add_filter( 'wpseo_schema_needs_person', '__return_false' );
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Can not change “Default Checkbox Value”Ah. That worked. ?? Thank you, closing it. ?
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Can not change “Default Checkbox Value”This bug still hasn’t fixed. ??