Tag Info

New answers tagged

0

<script> ... onClick="SpecialClickFunction()"; ... (and later in your code somewhere...) function SpecialClickFunction(){ ga('send', 'event', 'Newsletter', 'SignUp', 'name'); return es_submit_page('<?php echo $url; ?>'); } .. </script> Also, are you using analytics.js(universal analytics) or ga.js(classical analytics)? ...


0

If I understand your question correctly, you should be able to grab the information you're after from $the_user. If you use: $my_post['post_content'] = print_r($the_user,true); you should be able to see all the available user information in the page. Once you know exactly what you want, you can echo it out nicely with something like: ...


0

As mentioned, you're doing several things wrong, namely mismatching field names & undefined variables: function checkbox(){ global $post; if ( ! is_array( $user_ids = get_post_meta( $post->ID, 'user_ids', true ) ) ) $user_ids = array(); $users = get_users(); foreach ( $users as $user ) { ?> <input ...



Top 50 recent answers are included