katoen
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Product Customer List for WooCommerce] Feature request threadHi, are custom order statuses supported? I have one on my site and it’s not showing up in the list on the settings page.
Thanks
Forum: Plugins
In reply to: [Developer's Custom Fields] [Plugin: Developer's Custom Fields] WP3.3 betaThank you for your reply. Got a bit too excited about .7.2 ?? Is indeed 0.7.1.
I can handle things for now, so I’ll wait for 0.7.2This is the js error:
Uncaught ReferenceError: TB_WIDTH is not defined
Forum: Plugins
In reply to: [Developer's Custom Fields] [Plugin: Developer's Custom Fields] WP3.3 betaThe update causes a conflict with the gravity forms plugin. I can’t edit any forms now that your plugin is fixed ??
WP 3.3. beta3
Developer custom fields .7.2
Gravity Forms 1.6.1If you’ld like to check it out, I can give you access to a site with the problem.
Forum: Plugins
In reply to: [Developer's Custom Fields] [Plugin: Developer's Custom Fields] WP3.3 betaPerfect, thanks for the fix!
Ok, got this working, but maybe not best way to do it…
function custom_post_type_title ( $post_id ) { global $wpdb; if ( get_post_type( $post_id ) == 'games' ) { $connected = p2p_get_connected ($post_id, 'to'); foreach ($connected as $key => $value) { if ( get_post_type( $value ) == 'team' ) { $title = get_the_title($value); break; } } $where = array( 'ID' => $post_id ); $wpdb->update( $wpdb->posts, array( 'post_title' => $title ), $where ); } } add_action( 'save_post', 'custom_post_type_title',100,2);
I tried replacing the p2p_get_connected with
$connected1 = get_posts( array( 'post_type' => 'team', 'connected' => $post_id, 'posts_per_page' => 1, 'suppress_filters' => false ) );
but this didn’t work (empty array)
Viewing 5 replies - 1 through 5 (of 5 total)