diplatis
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] W3TC Cloudflare extension or Cloudflare APO plugin?The problem is that Cloudflare doesn’t let you enable APO on the dashboard if the plugin is not installed and enabled.
- This reply was modified 1 year, 6 months ago by diplatis.
Forum: Plugins
In reply to: [W3 Total Cache] W3TC Cloudflare extension or Cloudflare APO plugin?So, apart from the toggle integration there isn’t any other extra functionality or different behavior using the Cloudflare APO plugin, right?
Can I, somehow, show the parent categories filter everywhere?
Forum: Plugins
In reply to: [W3 Total Cache] High traffic & content site cache settings optimizationI understand, but it is applicable to free users too, it would be useful for all users that there would be some configuration templates issued by the plugin developer/company.
Forum: Developing with WordPress
In reply to: Enable/Disable Widget instance functionI tried it, didn’t work.
Forum: Developing with WordPress
In reply to: Enable/Disable Widget instance functionAs I’m not an coding expert, could you, please, elaborate on this?
Thank you very much in advance.I don’t think it’s useful because it relies on AJAX, I need something like this:
widget_update($widget_instance_id, $array_of_options)I want to edit the options through a custom JSON API endpoint.
Maybe you should implement this in a future release?Forum: Developing with WordPress
In reply to: Enable/Disable Widget instance functionI want to deactivate a widget from the blog sidebar through a custom JSON API endpoint and reactivate it through another, something like that:
add_action( 'rest_api_init', 'register_disable_widget_route' ); function register_disable_widget_route() { register_rest_route( 'wp/v2', 'disablewidget', array( 'methods' => POST, 'callback' => 'thes_disable_widget_func', 'permission_callback' => function($request){ return is_user_logged_in();} ) ); } function thes_disable_widget_func() { wp_unregister_sidebar_widget('text-58'); return('OK'); }
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Jetpack Photon and gallery supportIt works like a charm! Thank you very much!
Forum: Plugins
In reply to: [W3 Total Cache] JSON API stripped headers@vmarko any help, please?
Forum: Plugins
In reply to: [W3 Total Cache] JSON API stripped headersHi @vmarko
I modified the above mentioned file as instructed but no change.Forum: Plugins
In reply to: [W3 Total Cache] How to chech if REST API is cachedI can’t find the section Cache Fill, all I see in Statistics is shown in this screenshot
Forum: Plugins
In reply to: [W3 Total Cache] How to chech if REST API is cachedHi,
I can’t find wp-json in Statistics, can you please provide a screenshot?
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] WP REST API compatibilityI’m building a mobile app and want to get the related posts through WP API posts endpoint like Jetpack related posts do.