how to auto fille conatct form 7 when user is logined

you can do with jquery like: <?php global $current_user; get_currentuserinfo(); echo ‘Username: ‘ . $current_user->user_login . “\n”; echo ‘User email: ‘ . $current_user->user_email . “\n”; echo ‘User level: ‘ . $current_user->user_level . “\n”; echo ‘User first name: ‘ . $current_user->user_firstname . “\n”; echo ‘User last name: ‘ . $current_user->user_lastname . “\n”; echo ‘User display name: … Read more

The dropdown list in autocomplete is not showing

I have tested on my localhost. It’s working fine 🙂 You can check it. Screenshot: http://nimb.ws/Vl1L0F Default, WP has available support Autocomplete jQuery in Core. You can check it here. (find keyword ‘jQuery UI Autocomplete’). You can try to follow my code and then test again 🙂 Add code to functions.php. add_action( ‘wp_enqueue_scripts’, ‘add_scripts’ ); … Read more

how to disable autocomplete search on wpLink?

OP linked it in a comment above, but here’s the code used. Note This doesn’t actually disable autocomplete, it simply removes all of the results before they’re displayed (and I added some CSS to hide the loading icon). They’re still fetched by WP, just overridden with an empty array. add_filter( ‘wp_link_query’, ‘remove_results_from_link_builder_autocomplete’, 10, 2 ); … Read more

WordPress autocomplete search with taxonomies

Ok I got it! That’s the code for my search-results.php <?php include(‘../../../wp-load.php’); $term=$_GET[“term”]; $json=array(); $terms = get_terms( ‘produits’ ); if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ foreach ( $terms as $term ) { $json[]=array( ‘value’=> $term->name ); } } echo json_encode($json); ?> Thanks milo for your help ! I needed … Read more