chosendaone
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Mixed contentThanks for your answer, so different approach is there any way to do smth like force translating from english to english on the main page?
Forum: Plugins
In reply to: [360 Javascript Viewer] ACF issue with ElementorSir,
i didnt realize there is special 360 widget and i was using shortcode block, which was working on regular page btw.
but with your widget it works perfectly fine on cpt template
Thank you very much for that value and fast support answer, great dev.
- This reply was modified 3 months ago by chosendaone.
Forum: Plugins
In reply to: [360 Javascript Viewer] ACF issue with Elementorwell site is underconstruction
what i just realized its not shortcode related. Plugin just wont work on custom post type template made with elementor. It doesnt matter if i put short code directly or via dynamic content – it shows just text on cpt post template.
Same widget copy / paste on the regular page works fine.
So the question now is if it works with single cpt templates?- This reply was modified 3 months ago by chosendaone.
Forum: Plugins
In reply to: [WooCommerce] Update via rest APIThank you very much, it works that way. I’ve another problem with API maybe u can help without creating new topic.
I think its Woocoomerce.I want to sort attributes in my own way, but it dosent work. In attribute option setting is set to “own sorting” but somehow it dosent work.
So here is how it looks on my json:buton the product page – 1:12x 1.2 TV SAS 2.5″ is displayed before “4x 1.92TB SAS 2.5” can i change something in json? As i said on the web sorting is set to “own”
Forum: Plugins
In reply to: [WooCommerce] Update via rest APIWell in case of WPGridbuilder the changes are visible on product page. I mean if change color from black to red, it is visible in product tab as red, but in filters there is still black value until manual update of product.
I cant say about ACF because without plugin there are no fields to show.
I wonder if is it possible to simulate /force manual update after any API action?
I was trying to add this code but without results:add_action('woocommerce_rest_insert_product', 'handle_product_update', 10, 3); function handle_product_update($product, $request, $creating) { $product_id = $product->get_id(); $post_data = array( 'ID' => $product_id, 'post_status' => 'publish', 'post_type' => 'product', ); wp_update_post($post_data); $product = wc_get_product($product_id); $product->save(); clean_post_cache($product_id); wp_cache_flush(); if (function_exists('acf_save_post')) { acf_save_post($product_id); } do_action('woocommerce_update_product', $product_id); $attributes = $product->get_attributes(); if (!empty($attributes)) { foreach ($attributes as $attribute) { if (is_object($attribute) && method_exists($attribute, 'get_id')) { wp_update_term($attribute->get_id(), $attribute->get_taxonomy()); } } } flush_rewrite_rules(); } function update_product_meta($product_id, $meta_key, $meta_value) { update_post_meta($product_id, $meta_key, $meta_value); do_action('updated_post_meta', $meta_key, $meta_value, $product_id); }
- This reply was modified 5 months, 3 weeks ago by chosendaone.
Forum: Plugins
In reply to: [Custom Post Type UI] Change slug of existing CPTfunction change_post_type_slug() { $args = array( 'rewrite' => array( 'slug' => 'new-slug' ), // other post type arguments ); register_post_type( 'your_post_type', $args ); } add_action( 'init', 'change_post_type_slug' );
will it work? i dont want o break my site or lose cpt TT
by stats i mean analitycs ofc, there are orders but invisible in revenue etc.
Forum: Themes and Templates
In reply to: [OceanWP] Font issue after migrationnvm i found the soultions; site was allready on https but in settings there was still http and that was the reason.
Forum: Themes and Templates
In reply to: [OceanWP] Font issue after migrationdemo: https://testuj.hiip.atthost24.pl/
migrated: https://marba.net/any sugestions?
also if i change theme to other styles works then, but without header and footer ofc. So i need your theme working.
- This reply was modified 2 years ago by chosendaone.
- This reply was modified 2 years ago by chosendaone.
Forum: Themes and Templates
In reply to: [OceanWP] Font issue after migrationsome ohter styling on frontend also is missing, when ok on backend.
regenerating css files in elementor tools doesn;t help.
Forum: Themes and Templates
In reply to: [OceanWP] Custom post type widthAlso i think post excpert on post grid doesn’t work when query is set to custom post type.
Forum: Themes and Templates
In reply to: [OceanWP] Remove hover effect for single menu item.https://farmar.hiip.pl/ and the last position in the menu. I cant find inspect hover effects just found its .style_one or smth like that but don’t know how to disbale it for single item.
Forum: Reviews
In reply to: [Zeus For Elementor] Not even close !I also received as a OceanWP subscriber this fake mail he is talking about. And right now im installing zeus and olympus on the 2nd page since 3 days :). Great work imo im not judging situation. Product is great. Hope you wont abbandon this projects.
Forum: Themes and Templates
In reply to: [OceanWP] Ocean popup loigni would also like to change the message in email which is sent to user with reset link.
Forum: Themes and Templates
In reply to: [OceanWP] Search shortcodei found soltuion if someone is looking for it just paste the code below in functions.php
function ScanWPostFilter($query) {
if ($query->is_search) {
$query->set(‘post_type’, ‘post’);
}
return $query;
}
add_filter(‘pre_get_posts’,’ScanWPostFilter’);