nomadandinlove
Forum Replies Created
-
I came up with this but it’s not working. Any tips?
function custom_cache_enabler_clear_on_update($post_id, $post) {
// Get the post type
$post_type = get_post_type($post_id);
// Specify post types that should not trigger a cache clear
$excluded_post_types = ['post', 'category', 'tag'];
// If the post type is in the excluded list, return false to prevent cache clearing
if (in_array($post_type, $excluded_post_types)) {
return false;
}
// Default action (clear cache) for other post types
return true;
}
add_filter('ce_clear_on_update', 'custom_cache_enabler_clear_on_update', 10, 2);Greetings. Any news on the update?
I tested version 3.5 however the issue persists.
That’s great.
Do you perhaps have custom code to fix the current version?
Alternatively, when can I expect the next version to be released?
Forum: Plugins
In reply to: [Asset CleanUp: Page Speed Booster] Disable Auto Cache ClearingHi Gabe,
Thanks for the solution.
I’m actually still troubleshooting the issue so it may not even be Asset CleanUp that’s causing the cache clearing. I mostly use Asset CleanUp to unload JS and CSS sitewide and by page. And I never click on clear cache.
Can you confirm if Asset Cleanup auto clears cache or if cache clearing is only triggered when you click on “Clear Cache”?
Forum: Plugins
In reply to: [Web Stories] Remove Web Stories FeedNoted.
I’ve deactivated the plugin for now. I’ll reactivate it when the new release addresses the web stories feed issue.
Forum: Plugins
In reply to: [Web Stories] Remove Web Stories Feed@swissspidy If I use “remove_theme_support( ‘automatic-feed-links’ );” to remove all feeds, how do I go about re-adding only the feeds I need?
- This reply was modified 1 year, 12 months ago by nomadandinlove.
Forum: Plugins
In reply to: [Web Stories] Remove Web Stories FeedThanks. I don’t want to disable all feeds. Just comments and web-stories.
I’ve manged to remove comments using: add_filter( ‘feed_links_show_comments_feed’, ‘__return_false’ );
I was just unsure of how to go about removing web-stories.
I’ll look out for the next update.
- This reply was modified 2 years ago by nomadandinlove.
Forum: Plugins
In reply to: [Web Stories] Removing Stories Feed rss link from headerThis solution isn’t working.
Any idea which feed_links_extra I can use to target the web-stories feed?
PS – The feed link appears twice on the default Stories Archive page…
Forum: Plugins
In reply to: [Web Stories] Invalid URL in Field logo.url on Google Rich Results TestThank you so much @luckynasan for squashing the bug! Really appreciate it.
Forum: Plugins
In reply to: [Cache Enabler] How to Exclude Cache with Page PathsThank you so much. Will definitely checkout the resource.
Forum: Plugins
In reply to: [Cache Enabler] How to Exclude Cache with Page PathsThank you. How do I change the expression so it does not exclude the first level page?
In other words, I want to exclude the following:
mywebsite.com/exclude-directory/page1/
mywebsite.com/exclude-directory/page2/
mywebsite.com/exclude-directory/page3/But not exclude “mywebsite.com/exclude-directory/” from being cached.
Also, is there a guide that I can read to learn more about creating these expressions?
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] Unable to Load CustomizerLooks like we’re having the same issue.
It seems that there is some conflict with the completed-order email on line 28. I took a look and I cannot see what might be the issue. This is line 28:
<p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ); ?></p>
Perhaps there’s an issue with the syntax here but I can’t figure it out. It might also be that the billing information is restricted. Really not sure what might be causing this.
- This reply was modified 3 years, 8 months ago by nomadandinlove.
@kenil802 have you heard back from your developer?
Forum: Plugins
In reply to: [WebP Express] Cloudflare and Cache Everything@samtyurenkov Do you have any resources I can follow to implement this?
Forum: Plugins
In reply to: [WebP Express] Cloudflare and Cache Everything@ashucg So if I upgrade my Cloudflare account, I may as well use Cloudflare to serve WebP.