Dejun Jing
Financial Quantitative Analyst
Support threads created in the last 30 days: 0
Favorite Forum Topics
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Page of CRED post form not displayed on mobile device
Started by: Dejun Jing in: Toolset Professional Support |
2 | 3 | 7 years, 11 months ago | ||
Performance concern with parametric search
Started by: Dejun Jing in: Toolset Professional Support |
2 | 12 | 7 years, 11 months ago | ||
Parametric search with search box and results separately displayed (2)
Started by: Dejun Jing in: Toolset Professional Support |
2 | 2 | 8 years, 2 months ago | ||
Chhose theme for product
Started by: Dejun Jing in: Toolset Professional Support |
2 | 2 | 8 years, 3 months ago | ||
Get post id within wpv-loop
Started by: Dejun Jing in: Toolset Professional Support |
1 | 2 | 8 years, 3 months ago | ||
Integrate kuaidi100.com API with views output
Started by: Dejun Jing in: Toolset Professional Support |
2 | 5 | 8 years, 3 months ago | ||
Add javascript to layout cell
Started by: Dejun Jing in: Toolset Professional Support |
2 | 4 | 8 years, 3 months ago | ||
Reject parametric search query if one field is empty
Started by: Dejun Jing in: Toolset Professional Support |
2 | 2 | 8 years, 3 months ago | ||
CSS control of parametric search box
Started by: Dejun Jing in: Toolset Professional Support |
2 | 3 | 8 years, 3 months ago | ||
Parametric search with search box and results separately displayed
Started by: Dejun Jing
in: Toolset Professional Support
Problem: |
2 | 7 | 8 years, 3 months ago | ||
Parcel tracking
Started by: Dejun Jing in: Toolset Professional Support |
2 | 8 | 8 years, 3 months ago | ||
Delete existing duplicated post (w/ same title) when calling save_post action
Started by: Dejun Jing
in: Toolset Professional Support
Problem: function my_save_post_func ( $post_id ){ $slug = 'shipping-status'; if ( ! wp_is_post_revision( $post_id ) && get_post_type($post_id) == $slug ){ $order_number = get_post_meta( $post_id, 'wpcf-huida-tracking-number', true); $update_date = get_post_meta( $post_id, 'wpcf-update-date', true); $post_title = '运单 ' . $order_number . ' 更新于 ' . $update_date; $my_args = array( 'ID' => $post_id, 'post_title' => $post_title, ); wp_update_post( $my_args ); $args = array( 'post_type' => $slug, 'meta_query' => array( array( 'key' => 'wpcf-huida-tracking-number', 'value' => $order_number, ), array( 'key' => 'wpcf-update-date', 'value' => $update_date, ), ), 'fields' => 'ids', 'post__not_in' => array($post_id), ); $old_posts = get_posts($args); foreach($old_posts as $postid){ wp_delete_post( $postid, false ); } } } add_action('my_save_post', 'my_save_post_func'); Relevant Documentation: |
2 | 3 | 8 years, 3 months ago | ||
Include editing / deleting buttons for posts displayed in views loop
Started by: Dejun Jing in: Toolset Professional Support |
2 | 4 | 8 years, 3 months ago | ||
Update post title when saving post
Started by: Dejun Jing in: Toolset Professional Support |
2 | 14 | 8 years, 3 months ago | ||
Required and optional fields for parametric search
Started by: Dejun Jing in: Toolset Professional Support |
2 | 2 | 8 years, 4 months ago |