massimoS527
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
radio input, different css for each selection
1
2
Started by: massimoS527
in: Toolset Professional Support
Problem: The issue here that the customer wanted to dynamically allocate classes to a div based on the checkbox that the user selected when creating his/her post from CRED. Solution: To do this you will need to create a selectable type of Custom Field such as Checkboxes, Radio Buttons or Select Field. From here you will need to set the value of each of the field to a class name that you would like. Then when the user selects the option they want then you will need to assign that class to the div by doing this. <div class="[wpv-post-field name='wpcf-layout-ricordo']"> The customer also provided a guide here @https://toolset.com/forums/topic/radio-input-different-css-for-each-selection/page/2/#post-612157 |
2 | 17 | 6 years, 9 months ago | ||
limit the number of posts that users can write
1
2
Started by: massimoS527 in: Types Community Support |
2 | 19 | 6 years, 10 months ago | ||
Login form no responsive
Started by: massimoS527 in: Types Community Support |
2 | 8 | 6 years, 10 months ago | ||
Layout: found a Bug!
Started by: massimoS527
in: Toolset Professional Support
Problem: I created a layout and assigned it to 4 pages, I added another page "delete user" to this layout. I then CHANGED a small thing on the "delete user" page, but Layout removes it from the list and I need to insert it again Solution: please check these: 2) deactivate other plugins and switch to wordpress default theme, and test again If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks Relevant Documentation: |
2 | 6 | 6 years, 10 months ago | ||
what to use to build the home page?
Started by: massimoS527 in: Toolset Professional Support |
2 | 4 | 6 years, 10 months ago | ||
number of user posts always 0
Started by: massimoS527 in: Toolset Professional Support |
2 | 4 | 6 years, 10 months ago | ||
Add a front-end link for user’s to delete their account
Started by: massimoS527
in: Toolset Professional Support
Problem: Solution: [creduserform class='cred-user-form cred-keep-original'] [cred_field field='form_submit' value='Delete User' urlparam='' class='btn btn-primary btn-lg' output='bootstrap'] [/creduserform] 3. Add the following code to your theme's functions.php file or using a plugin such as Code Snippets, being sure to edit the id of the form created in the previous step: /** * Hook into CRED Edit User form submission * to delete current user */ function tssupp_delete_user( $post_id, $form_data ){ if ( 203 == $form_data['id'] ) { require_once( ABSPATH.'wp-admin/includes/user.php' ); $current_user = get_current_user_id(); wp_delete_user( $current_user ); } } add_action( 'cred_submit_complete', 'tssupp_delete_user', 10, 2 ); |
3 | 12 | 6 years, 10 months ago | ||
post type automatically assigned to a category
Started by: massimoS527 in: Types Community Support |
2 | 2 | 6 years, 10 months ago | ||
CSS – how to align the label text in a "Radio" field in the middle?
Started by: massimoS527 in: Types Community Support |
2 | 2 | 6 years, 10 months ago | ||
rotate the Radio field horizontally
Started by: massimoS527 in: Toolset Professional Support |
2 | 15 | 6 years, 10 months ago | ||
Parent layout does not appear on the pages
Started by: massimoS527
in: Toolset Professional Support
Problem: The issue here is that the customer wanted to know why his Parent layout wasn't showing up on his assign a layout option on his page. Solution: The only layouts that you are able to select are the child ones. Usually a child layout has a parent layout already attached to it. |
2 | 7 | 6 years, 10 months ago | ||
Custom field to select background image
Started by: massimoS527
in: Toolset Professional Support
Problem: I would like to display a div on the front-end of my site with a variable background image. I would like to be able to use a custom field on the post to choose from one of several predefined images to be used as the background. I would like to be able to see the images in the custom field on the backend so I know what I select. Solution: <div id="blocco-creatura" style="background-image:url('[wpv-post-field name='wpcf-layout-ricordo']');" /> The other styles for this div can remain in your stylesheet. Relevant Documentation: |
2 | 14 | 6 years, 10 months ago | ||
open "Edit" link in page
Started by: massimoS527 in: Toolset Professional Support |
2 | 16 | 6 years, 10 months ago | ||
doubts about how to structure my site
Started by: massimoS527
in: Toolset Professional Support
Problem: He also wanted to know how to do paid posts or premium posts. Solution: With CRED and custom post types along with Woocommerce you can easily implement a premium gallery option because CRED allows you to charge users when submitting articles. For the Premium option with CRED you can take a look at this link below. |
2 | 7 | 6 years, 10 months ago | ||
redirected to a specific page
Started by: massimoS527
in: Toolset Professional Support
Problem: Solution: function redirect_users_fun() { $id = get_queried_object_id(); if( !is_user_logged_in() && ($id == '5857') ) { wp_redirect( 'http://example.com' ); } } add_shortcode( 'redirect_users', 'redirect_users_fun' ); And following code in top of the header.php file: <?php echo do_shortcode('[redirect_users]'); ?> ==> Please replace '5857' with your page/post ID |
2 | 14 | 6 years, 10 months ago |