rexJ-2
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
wp_update_post inside cred_save_data not updating field guid
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | Il y a 6 années et 1 mois | ||
user relation to CPT
Commencé par : rexJ-2 in: Toolset Professional Support |
2 | 3 | Il y a 6 années et 1 mois | ||
how to add counter to views
Commencé par : rexJ-2 in: Toolset Professional Support |
1 | 2 | Il y a 6 années et 2 mois | ||
Use a javascript variable together with conditional output
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: The issue here is that the user wanted to add JS code to our conditional statements Solution: Unfortunately it is not possible to add javascript code to our conditional statements |
2 | 11 | Il y a 6 années et 2 mois | ||
datetime field not working in query
Commencé par : rexJ-2 in: Toolset Professional Support |
2 | 4 | Il y a 6 années et 3 mois | ||
Relationship use title in the dropdown i want to use a custom post type
Commencé par : rexJ-2 in: Toolset Professional Support |
3 | 4 | Il y a 6 années et 4 mois | ||
View search and result how to get result to a file
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: I want to get all fields from the view and put them into a textfile.txt Solution: It needs custom codes, I suggest you use Views function get_view_query_results() to get all the view's result, then put the data into your file. Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-api/#get_view_query_results |
2 | 8 | Il y a 6 années et 4 mois | ||
Split: View search and result how to get result to a file
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: get_view_query_results(), seems that it only get an array of post records. How do i get Post_meta? Is it in foreach loop? Solution: This is a custom PHP codes problem, check the detail answer here: Relevant Documentation: https://developer.wordpress.org/reference/functions/get_post_custom/ |
2 | 3 | Il y a 6 années et 4 mois | ||
Modal Edit button on View loop editor
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: I would like to include an edit post Form in a View of posts, and I would like to show the Form in a modal. Solution: I suggest to add the Modals button to the View loop: <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> Launch demo modal </button> Note that you NEED to modify that HTML, so the unique referrers are --- unique. So the above code becomes: <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#[wpv-post-id]-modal"> Launch demo modal </button> We changed data-target= from "#myModal" (not unique in a loop, as repeated) to "#[wpv-post-id]-modal", which will generate a new unique ID for each post in the loop. Then, add the modal code as well to the loop: <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div class="modal-body"> ... </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> Again, you NEED to change the particular unique values, so the code becomes: <div class="modal fade" id="[wpv-post-id]-modal" tabindex="-1" role="dialog" aria-labelledby="[wpv-post-id]-modalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="[wpv-post-id]-modalLabel">Modal title</h4> </div> <div class="modal-body"> //Here place the Toolset Form to edit the CURRENT displayed post </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> That, will load for each post in the loop a new button, which if clicked, loads a Modal, which will have the proper form in it. However, be careful with this. |
3 | 5 | Il y a 6 années et 4 mois | ||
cannot apply styling to
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: I would like to add a border radius to my featured image, but I cannot see how to add styles to the wpv-post-featured-image shortcode. Solution: Use the "class" attribute on the wpv-post-featured-image shortcode to insert a custom CSS class, then write your custom CSS for that class in a custom theme file, in the theme customizer's Additional CSS block, or in a View's CSS editor, Content Template's CSS editor, or Layouts CSS. [wpv-post-featured-image class="my-custom-rounded-class"] .my-custom-rounded-class { border-radius: 15px; } Relevant Documentation: |
2 | 5 | Il y a 6 années et 5 mois | ||
Compatibility Between Toolset Plugins and Elementor Pro
Commencé par : rexJ-2
in: Toolset Professional Support
Problem: Solution: |
4 | 6 | Il y a 6 années et 7 mois |