vimalS
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 |
---|---|---|---|---|---|
Customization with wp types beta plugin Relationship feature
Started by: vimalS in: Toolset Professional Support |
2 | 5 | 6 years, 7 months ago | ||
Jquery error in wp types beta version
Started by: vimalS
in: Toolset Professional Support
Problem: Use https://jqueryui.com/sortable/ in wp-admin in edit post With wp types beta version plugin, there are some jquery error and because of that my ui sortable is not working. Here is the custom codes: Solution: the problem is in the "foreach" loop, please modify these codes from: foreach($lessonids as $lessonid){ echo '<ul id="sortable">'; echo '<li class="ui-state-default">'.get_the_title($lessonid->child_id)."</li>"; echo '</ul>'; } To: echo '<ul id="sortable">'; foreach($lessonids as $lessonid){ echo '<li class="ui-state-default">'.get_the_title($lessonid->child_id)."</li>"; } echo '</ul>'; And test again. Relevant Documentation: |
2 | 5 | 6 years, 7 months ago | ||
Types usermta not working in wp types beta version
Started by: vimalS
in: Toolset Professional Support
Problem: The issue was that the customer was using our [types usermeta='wpcf_last_visited_class' user_current='true' output='raw'][/types] To try and retrieve a custom user meta that he had created manually and unfortunately it does not work. Solution: If you manually inserted the custom field into the database without the use of Types then you will need a custom shortcode to retrieve the custom value. I was able to write a shortcode to help retrieve this. [get_user_field user='[wpv-current-user format="meta" info="id"]' field='wpcf_last_visited_class'] Add the following to your functions.php file // Add Shortcode function get_user_field( $atts ) { // Attributes $atts = shortcode_atts( array( 'field' => '', 'user' => '', ), $atts ); $user_last = get_user_meta( $atts['user'], $atts['field'], $single ); var_dump($user_last); return $user_last[0]; } add_shortcode( 'get_user_field', 'get_user_field' ); |
2 | 11 | 6 years, 7 months ago | ||
Error while submitting Edit User form with CRED Version 2.0-b1 plugin
Started by: vimalS in: Toolset Professional Support |
2 | 7 | 6 years, 8 months ago |