joepske83
Forum Replies Created
-
Forum: Plugins
In reply to: [MSRP (RRP) Pricing for WooCommerce] HPOS compatiblityAny updates on this?
Here is how it works:
Forum: Plugins
In reply to: [Trusted Shops Easy Integration for WooCommerce] HPOS compatiblityCheers to that!
Forum: Plugins
In reply to: [WP-AppKit - Mobile apps and PWA for WordPress] Custom data endpointAbsolutely what i needed, liveQuery works great, missed that snippet, maybe good to point to it in your docs, because it works like a charm.
Thanks for the fast and clear answer.
Joep
Perfect, ill try that, thanks for the fast feedback.
This works perfectly, thanks for the answer.
I think i was distracted by the option label text which says:
Make ALL Redirects this type: 302 (This will also override Quick Redirects)Thanks for the quick reply and the solution, it works perfectly now!
Yes, didnt think of that parameter.
This works like a charm, however the need of 2 queries, this looks like the fastest solution in this situation.
Thanks for the support.
Please add a donate button to your site, i don’t need the premium version but i appreciate the time you spend.Resolved.
Hey Mikko, thanks for your fast reply.
What about this method:
– first perform the normal query where relevanssi kicks in
– use the results of this query (the id’s of the found post) in the custom query stated aboveI think this still is pretty fast, especially when caching is done right.
Is there a fast way to only get the id’s of the posts that are the result of a relevanssi query as a csv or array? Or should i iterate trough the result of the whole query?
Thanks in advance.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Manually optimize a selection of imagesExactly what i was looking for.
Great plugin, even better support.
Forum: Plugins
In reply to: [Broadcast] Prevent translated pages from broadcastingHell yeah, thats it man. Thanks dude, great and fast support!
full code for the people who would ever need this (or maybe its altready an option then π )
First action is not really necessary but just hiding the box when checking the post in french as well.
function broadcast_prepare_meta_box($action) { if(ICL_LANGUAGE_CODE == 'fr') { echo '<style type="text/css">#threewp_broadcast { display: none }</style>'; return; } return $action; } add_action('threewp_broadcast_prepare_meta_box', 'broadcast_prepare_meta_box'); function broadcast_broadcast_post($broadcasting_data) { if(ICL_LANGUAGE_CODE == 'fr') { return false; } return $broadcasting_data; } add_filter('threewp_broadcast_broadcast_post', 'broadcast_broadcast_post',9);Forum: Plugins
In reply to: [Broadcast] Prevent translated pages from broadcastingAssuming you mean something like this code, it is still broadcasting. Tested this output and gave false for sure.
Thanks for the help..only have made it work with core injection until now, hope you can give me a “clean” solution π
function broadcast_broadcast_post($broadcasting_data) { if(ICL_LANGUAGE_CODE == 'fr') { return false; } return $broadcasting_data; } add_filter('threewp_broadcast_broadcast_post', 'broadcast_broadcast_post',11);Forum: Plugins
In reply to: [Broadcast] Prevent translated pages from broadcastingThanks i have found it, but can you give me small heads up on the vars i need to change, but i seems like whatever variable i change, the box keeps popping up.
function broadcast_prepare_meta_box($action) { if(ICL_LANGUAGE_CODE == 'fr') { $action->meta_box_data->items = array(); $action->meta_box_data->form->base->display_broadcast = false; $action->meta_box_data->form->base->display_broadcast_columns = false; $action->meta_box_data->form->base->display_broadcast_menu = false; $action->meta_box_data->form->base->display_broadcast_meta_box = false; } return $action; } add_action('threewp_broadcast_prepare_meta_box', 'broadcast_prepare_meta_box');