Em
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Click Tracking QuestionOk great, thank you for details.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] IP Tracking and Cookies (GDPR) QuestionThank you Mikko.
Thank you – I have purchased WCFM frontend manager ultimate and added a support ticket about this with you.
Thank you, how can I associate vendor user id as post_author?
Forum: Plugins
In reply to: [WooCommerce] How to set term relationship with possible WP/WC limitation@3sonsdevelopment Thanks & Cheers
@hibitco Okay Thank you will do
Okay thanks, I got the filter where I want it but it’s not filtering products in the loop for me.
Do you guys have email I can send your credentials to so i don’t have to send over forum? [email protected]?
@hibitco Okay I see, so it works out of the box for you with just your custom loop. I am trying to set up the horizontal filter so I can test out if this works for me too. Will be in touch if not. Thanks ~
@champsupertramp Thanks for your reply
Forum: Plugins
In reply to: [WooCommerce] How to get actual product image in loop?For anyone curious, this works well for me:
// Setup your custom query $args = array( 'post_type' => 'product', ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?> <?php the_post_thumbnail(); ?> <?php endwhile; wp_reset_query(); // Remember to reset ?>- This reply was modified 5 years, 9 months ago by Em.
For anyone curious – this worked for me:
<?php if (um_is_on_edit_profile()) { ?> <p> hello </p><?php } ?>Forum: Plugins
In reply to: [Frontend Admin by DynamiApps] ACF Default Not WorkingThanks @shabti,
I removed global $post; and now it partly works on the backend. It creates a new category but doesn’t actually add the product to the category. So I’m wondering if transition_post_status is the right action to hook to?function add_this_to_new_products( $new_status, $old_status, $post ) { if ( $post->post_type !== 'product' ) return; if ( 'publish' !== $new_status or 'publish' === $old_status ) return; $user = wp_get_current_user(); $categoryid = get_field('category_id', 'user_'.$user->ID ); if($categoryid){ //add the category here wp_set_object_terms( $post->ID, $categoryid, 'product_cat', true ); } } add_action( 'transition_post_status', 'add_this_to_new_products', 10, 3 );Thank you for your reply, I can’t see how to add a photo to this dialogue. I can send to you other way? If not, if the O below is the profile image, the divider looks like this:
O
___________It separates the main profile pic from the rest of the profile.