Fred Konings
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Topic | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Unable to set lenght of Excerp (Count Length By characters)
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 4 |
2 years, 2 months ago
- |
|
|
How to validate number field (10 digits, starting with '06') using preg_match
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 2 |
2 years, 3 months ago
- |
|
|
Error-message: "You cannot upload a file of this size"
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 7 |
2 years, 9 months ago
- |
|
|
Save/Update the featured image title with the post title
Started by: Fred Konings
in: Toolset Professional Support
Problem: How to set the uploaded image title in the form same as the created post title. Solution: Add the custom code below: [php]
function update_featured_image_title_foto( $post_id, $form_data ) {
// Check form being used, else do nothing
if ( $form_data[ 'id' ] == 485 ) {
// get post title
$custom_image_title = esc_html( get_the_title($post_id) );
// get featured image ID
$featured_image_id = get_post_thumbnail_id($post_id);
// update post_title
$updated_image_data = array(
'ID' => $featured_image_id,
'post_title' => $custom_image_title,
);
// Update the field(s)
wp_update_post($updated_image_data);
}
}
add_action( 'cred_save_data', 'update_featured_image_title_foto', 15, 2 );
[/php]
Relevant Documentation: |
|
2 | 7 |
4 years, 9 months ago
- |
|
|
Use EXIF DateTime as Post DateTime
Started by: Fred Konings in: Toolset Professional Support |
|
3 | 9 |
4 years, 9 months ago
- |
|
|
Create a VIEW filter with dropdown box prefilled with current year
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 3 |
4 years, 10 months ago
- |
|
|
„VIEW not found“ error, after migration to production-server
Started by: Fred Konings
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
|
2 | 5 |
4 years, 10 months ago
- |
|
|
After editing the title-field in a form, make sure slug is updated accordingly
Started by: Fred Konings
in: Toolset Professional Support
Problem: The customer wanted to update the post slug when the post title was updated using the Toolset post form. Solution: Shared the code example for the function attached to the "cred_save_data" hook. Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
|
2 | 3 |
4 years, 10 months ago
- |
|
|
create a VIEW which displays only posts created by users with the role "Author"
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 11 |
4 years, 10 months ago
- |
|
|
VIEW – masonry layout only shows one column
Started by: Fred Konings in: Toolset Professional Support |
|
2 | 11 |
4 years, 10 months ago
- |