carfis
Forum Replies Created
-
Hi Steve,
I will try with DDEV, that is a little more complicate that local. That use only command line.
I didn’t try more options with local.Carlos
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler not working with Eu Cookie Law pluginHi Guys,
Thank you for the plugin, I use it for all my websites :). I have the same problem with the cookies. I work with the plugin cookie-notice (Cookie Notice for GDPR), but I think it works in a similar way as the “EU Cookie Law”.
I checked the WP-Rocket plugin as well and it works fine with those plugin.
Carlos
Ok Thank you
Forum: Plugins
In reply to: [WP REST API (WP API)] How to write custom(my own) api in WP REST API Plugin?@giorgos Sarigiannidis,
I get the answer, why the unset for _links isn’t possible.Links aren’t handled the same way as the rest of the data, and it’s not really possible to remove them.
Forum: Plugins
In reply to: [WP REST API (WP API)] How to write custom(my own) api in WP REST API Plugin?Hi @cristophergv
Thank you for your explanation. Do you know if is possible to remove the _link from the json?I use this code:
function cflex_remove_json_fields( $data, $post, $context ) { unset($data->data['date']); unset($data->data['date_gmt']); unset($data->data['guid']); unset($data->data['modified']); unset($data->data['modified_gmt']); unset($data->data['type']); unset($data->data['_links']); return $data; } add_filter( 'rest_prepare_product', 'cflex_remove_json_fields', 12, 3 );but I can’t remove the data[‘_links’]
Best regards
CarlosI have the same error
Forum: Plugins
In reply to: [Manual Image Crop] WP 4.1 – Crop Featured Image – ErrorHi,
I have the same problem. WP_ERROR: File is not a picture
Sorry now it works π
I think the problem was that the Level #1 had this setup
File Downloads (Level #1 Or Higher):
999999999 every 365 days
File Downloads (Level #2 Or Higher):
4 every 30 daysI changed it to:
File Downloads (Level #1 Or Higher):
0 every 0 days
File Downloads (Level #2 Or Higher):
4 every 30 daysand it works π
I used this code:
add_action('wp_head', 'disable_s2_js_confirmations'); function disable_s2_js_confirmations() { if (current_user_is("s2member_level3")){ echo '<script type="text/javascript">'; echo 'var ws_plugin__s2member_skip_all_file_confirmations = true;'; echo '</script>'; } }Hi,
I tested to change the download file limit (Download Options > Basic Restrictions) and it works only when the limit is UNLIMITED downloads.e.g.
File Downloads (Level #2 Or Higher):
999999999 every 365 daysfor this setup doesn’t work:
File Downloads (Level #2 Or Higher):
4 every 30 daysIs that a problem of S2member?
Hi Cristian, I connected Stripe with my S2member and it works great.
thank you very much for your tipHi CristiΓ‘n,
That is a good news ;). I hope that this payment gateway will be included soonHi CristiΓ‘n,
I’m talking about Paypal Express Checkout. I received this response from Paypal Germany last week.
… Thank you for your interest in subscription services that you want to achieve through PayPal. A corresponding function, we can not provide for the German market currently.
Maybe They have legal problems with this option.
Hello omtr,
I also asked Paypal Germany, but unfortunately do not give any concrete response. I use currently the Pro-Form Buy Now. But of course you cannot automate very well the proces. I think the EOT notifications is a good temporary solution.Best Regards
carfis