PiotrO586
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Accordion broken after latest update
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 3 | hace 6 años, 1 mes | ||
Custom post missing in yoast
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Custom post type with slug "profile" does not work in Yoast Search Appearance > Content Types. Solution: You can change post type slug to something else, for example "profile-slug". Relevant Documentation: |
2 | 8 | hace 6 años, 2 meses | ||
User registration and editing forms issue on submitting
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 3 | hace 6 años, 2 meses | ||
Display Search form for archive on different page
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: I can see how to split the custom search form for a View apart from the results, and display them on separate pages. I would like to do the same but with an archive instead of a View. Solution: There isn't a built-in way to split the search and results for an archive. You could do something similar with a View, or you could use custom code to build your own search form that submits to the archive page with URL parameters as needed. |
3 | 5 | hace 6 años, 2 meses | ||
Clicking on Accordion tabs and scrolling a page
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 4 | hace 6 años, 2 meses | ||
Search for post ID
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 2 | hace 6 años, 3 meses | ||
force_type="field"
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 2 | hace 6 años, 3 meses | ||
«wpcf_» added to the image filename, resized image not deleted from library
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: I was using a Types field to display a resized custom field image. I can see the file name includes "wpcf_" by inspecting the uploads directory. When I attempt to delete the image from the Media Library using the "Delete Permanently" link, the resized image remains in the uploads directory. Solution: Update to Types 3.0.7 to get the fix for this issue. |
2 | 4 | hace 6 años, 5 meses | ||
JS Editor: added "\" characters everytime I save the form
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 4 | hace 6 años, 6 meses | ||
Notifications issue with Edit forms
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 6 | hace 6 años, 6 meses | ||
Layouts not visible
Iniciado por: PiotrO586 en: Toolset Professional Support |
1 | 2 | hace 6 años, 6 meses | ||
Checking status of the parent post
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 4 | hace 6 años, 6 meses | ||
Moving child posts to trash upon parent is sent to trash
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: 1. what hook can be used to trigger a function to send child posts to trash? Apparently wp_trash_post doesn't work here? 2. Upon upgrading Types to the latest release the following fragment wouldn't work (_wpcf_belongs is not part of the meta_key anymore?): Solution: Q1) Toolset form plugin is also using function wp_trash_post() to trash the post, so the wordpress action hook "wp_trash_post" should work too, more help: https://developer.wordpress.org/reference/hooks/wp_trash_post/ Fires before a post is sent to the trash. Q2) Yes, for the new post type relationship, please try the new Typers API function toolset_get_related_posts(): Query related posts by a set of conditions. Relevant Documentation: |
2 | 4 | hace 6 años, 6 meses | ||
Hide Toolset buttons from the post content rich text editor for non-admins
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: /** * Remove Toolset buttons on front-end editors * which appear for role author+ when insert * media option set on CRED forms * * The filters work globally, so you need * to specify the pages where the * CRED form is added */ function remove_toolset_buttons(){ // $post not available with init hook $postID = url_to_postid( $_SERVER['REQUEST_URI'] , '_wpg_def_keyword', true ); $target_pages = array( 10, 25, 66 ); // Edit for pages with CRED forms if ( in_array( $postID, $target_pages ) ) { // remove the Fields and Views button add_filter( 'toolset_editor_add_form_buttons', '__return_false' ); // remove the CRED button add_filter( 'toolset_cred_button_before_print', '__return_false' ); // remove the Access button for certain roles add_filter( 'toolset_editor_add_access_button', function(){ $roles = array( 'author', 'subscriber' ); return $roles; } ); } } add_action( 'init', 'remove_toolset_buttons' ); |
2 | 5 | hace 6 años, 6 meses | ||
"There was an error uploading your file" when uploading image
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 3 | hace 6 años, 7 meses |