avansisI-2
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
| Status | Topic | Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Offline Coupon Creator
Started by: avansisI-2 in: Toolset Professional Support |
|
2 | 11 | 4 years, 11 months ago | |
|
I need to generate in backend title with custom type field
Started by: avansisI-2
in: Toolset Professional Support
Problem: I would like to automatically generate a post title from a custom field value when a User submits a Form to create a new post Solution: Use the following custom code snippet to automate the post title:
add_action('cred_save_data', 'tssupp_build_title', 99, 2);
function tssupp_build_title($post_id, $formdata)
{
if ($formdata['id']==4684) {
if (isset($_POST['wpcf-nombre_del_comercio'])) {
$new_title = $_POST['wpcf-nombre_del_comercio'];
$post_update = array(
'ID' => $post_id,
'post_title' => $new_title
);
wp_update_post($post_update);
}
}
}
Relevant Documentation: |
|
2 | 10 | 4 years, 11 months ago | |
|
Relationship in API REST
Started by: avansisI-2 in: Toolset Professional Support |
|
2 | 12 | 4 years, 11 months ago | |
|
I cant created categories and taxiomas
Started by: avansisI-2
in: Toolset Professional Support
Problem: Solution: As you can see in this screenshot http://prntscr.com/vhy90m Categories are only activated for the custom post type "Fichas de empresas" and it is also available on its sub-menu. |
|
3 | 6 | 4 years, 11 months ago | |
|
User sign up in create form custom typ
Started by: avansisI-2 in: Toolset Professional Support |
|
2 | 4 | 4 years, 11 months ago |