chrisH-10
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
CRED: Create new related post while on parent editing page
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 14 | vor 6 Jahre, 5 Monate | ||
Create a link to a page that embeds a content edit form
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 5 | vor 6 Jahre, 7 Monate | ||
Set publish date of post
Gestartet von: chrisH-10
in: Toolset Professional Support
Problem: I would like to set the publish date and time of a post within the CRED Form used to create that post. Solution: There's no post publish date field built into CRED, so this will require some custom code and a generic field. Add a generic date field to your CRED form, then add this code to functions.php: add_action('cred_save_data', 'set_post_date_to', 100, 3); function set_post_date_to($post_id, $form_data) { if( $form_data['id'] == 12345 ) { $newDate = $_POST['set-new-date']['datetime'] . ' 00:00:00'; $my_post = array( 'ID' => $post_id, 'post_date' => $newDate, 'post_date_gmt' => $newDate, 'post_status' => 'future' ); // Update the post into the database wp_update_post( $my_post ); } } - Change the form id 12345 to match your form. Relevant Documentation: |
2 | 5 | vor 6 Jahre, 7 Monate | ||
Need to remove unwanted markup from wpv-view
Gestartet von: chrisH-10
in: Toolset Professional Support
Problem: Solution: You can use the code below to remove the extra div wrappers around your view. add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { if ( $id == '375' ) { $start = strpos( $out, '<!-- wpv-loop-start -->' ); if ( $start !== false && strrpos( $out, '<!-- wpv-loop-end -->', $start ) !== false ) { $start = $start + strlen( '<!-- wpv-loop-start -->' ); $out = substr( $out , $start ); $end = strrpos( $out, '<!-- wpv-loop-end -->' ); $out = substr( $out, 0, $end ); } } return $out; } Replace the id 375 with the ID of your view. |
2 | 4 | vor 7 Jahre | ||
URL to image that is part of slider
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 5 | vor 7 Jahre, 7 Monate | ||
Categories for first two results are not rendered
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 5 | vor 7 Jahre, 7 Monate | ||
Order by Random not random!
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 3 | vor 7 Jahre, 7 Monate | ||
Layouts adds extra row and col-sm-12 messing up layout
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 4 | vor 7 Jahre, 7 Monate | ||
Layouts can't be used with any user role other than Administrator
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 7 | vor 7 Jahre, 7 Monate | ||
Get error "You do not have sufficient permissions to access this page."
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 4 | vor 7 Jahre, 8 Monate | ||
Move taxonomy entry box from sidebar into Post Field Group
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 4 | vor 7 Jahre, 9 Monate | ||
Plugins have too many files to use with Google App Engine (GAE)
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 3 | vor 7 Jahre, 9 Monate | ||
Can I create a relationship between a Post and a User?
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 2 | vor 7 Jahre, 11 Monate | ||
Doesn't display published Layouts. There is a java script error on the page.
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 8 | vor 7 Jahre, 11 Monate | ||
Layouts 1.5 does not show edit row icon – not production ready
Gestartet von: chrisH-10 in: Toolset Professional Support |
2 | 3 | vor 8 Jahre, 2 Monate |