paulB-10
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Integrating Layouts with the 'Shoestrap' Bootstrap 3 theme
Iniciado por: jeffM en: Toolset Professional Support |
2 | 5 | hace 9 años, 5 meses |
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
What is the recommended way to control access to views
Iniciado por: paulB-10 en: Toolset Professional Support |
2 | 6 | hace 4 años, 8 meses | ||
Reuse Custom Field
Iniciado por: paulB-10
en: Toolset Professional Support
Problem: Setup relationship between users and custom post types. Solution: For example, you can create a custom post type "Member": https://toolset.com/forums/topic/reuse-custom-field/#post-1281463 Relevant Documentation: |
2 | 3 | hace 4 años, 8 meses | ||
Sport Association Membership Site
Iniciado por: paulB-10 en: Toolset Professional Support |
2 | 4 | hace 4 años, 8 meses | ||
Replace the the post link label
Iniciado por: paulB-10
en: Toolset Professional Support
Problem: I would like to change the text generated by the post link shortcode. Solution: There's no option to filter the text of the wpv-post-link shortcode, but you can use the wpv-post-url shortcode to create a custom link. <a href="[wpv-post-url]">Edit Tournament</a> Relevant Documentation: |
2 | 7 | hace 4 años, 9 meses | ||
Set the Default Form Title
Iniciado por: paulB-10
en: Toolset Professional Support
Problem: The issue here is that the user wanted to dynamically generate their post title based on the custom field inputs. Solution: This can be done by using the hook below. function ttd_save_data_action($post_id, $form_data){ // Change your CRED Form "ID" accordingly below if ($form_data['id']==ID){ //Declare the content of your variables, change "your_custom_field_slug" accordingly $custom_value = get_post_meta( $post_id, 'wpcf-your_custom_field_slug', true );//get posts' Date field value (timestamp) $custom_title = gmdate("m-d-Y", $custom_value);//convert timestamp to m-d-y for output //collect data and define new title $my_post = array( 'ID' => $post_id, 'post_title' => $custom_title, 'post_name' => $custom_title, ); // Update the post into the database wp_update_post( $my_post ); } } add_action('cred_save_data', 'ttd_save_data_action',10,2); Ofcourse this will need to be adopted to fit your case but this is generally how it is done |
2 | 7 | hace 4 años, 9 meses | ||
Relationships with multi-field key
1
2
Iniciado por: paulB-10 en: Toolset Professional Support |
2 | 17 | hace 4 años, 9 meses | ||
Training Course Custom Types – from Novice to Expert Chapter 4.1
Iniciado por: paulB-10 en: Toolset Professional Support |
2 | 4 | hace 4 años, 9 meses | ||
Controlling access to the archive page
Iniciado por: paulB-10 en: Toolset Professional Support |
2 | 3 | hace 6 años, 5 meses | ||
Post Form for post displayed wrong editor?
Iniciado por: paulB-10 en: Types Community Support |
2 | 2 | hace 7 años, 10 meses | ||
use cred to display admin panel screens
Iniciado por: paulB-10 en: Types Community Support |
2 | 3 | hace 8 años, 2 meses | ||
layout integration twentyeleven theme
Iniciado por: paulB-10 en: Types Community Support |
3 | 11 | hace 8 años, 7 meses | ||
Events Manager Compatibility Issue
Iniciado por: paulB-10 en: Types Community Support |
2 | 6 | hace 8 años, 7 meses |