Forum Replies Created

Viewing 6 replies - 91 through 96 (of 96 total)
  • Plugin Author mathieuhays

    (@mathieuhays)

    Hi !

    I’m not familiar with this wordpress feature but i’m working on it !
    Thanks for the feedback !

    Bye!

    Plugin Author mathieuhays

    (@mathieuhays)

    Thanks.

    Feel free to share your experience using ‘Simple Documentation’ with me.

    Plugin Author mathieuhays

    (@mathieuhays)

    Hi,

    Thanks for the feedback !
    I have identified the issue, you are going to get an update by tomorrow which will fix it!

    Bye!

    Plugin Author mathieuhays

    (@mathieuhays)

    Thank you for the feedback !
    Sorry for the mistakes, I’m french so my english may be wrong !
    Feel free to report me any mistakes or issues.
    I’m going to add the customization you need soon !
    I’ll check the menu icon issue.

    Bye!

    Forum: Hacks
    In reply to: manage wp user query output
    Thread Starter mathieuhays

    (@mathieuhays)

    I found the solution thanks to a friend.

    I get the informations through jQuery thanks to the code below:

    usr[0].data.display_name

    I hope it helps someone anyway !

    Forum: Hacks
    In reply to: manage wp user query output
    Thread Starter mathieuhays

    (@mathieuhays)

    Thank you bcworkz, but it’s not working.
    The object is too complex. I can’t apply that synthax for my case.
    When I write that stuff :
    obj.display_name
    The alert display ‘undefined’.
    I try some synthax which not working too:

    obj.data.display_name
    obj['data'].display_name

    I reproduce a simple version of my coding context :

    <?php
    /* Template Name: Test1 */
    
    get_header();
    
    $user = new WP_user_query('include=1');
    $final_user = $user->results;
    ?>
    <div class="info"><?php echo json_encode($final_user); ?></div>
    
    <script src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
    <script type="text/javascript">
    
    	$(document).ready(function(){
    
    		var usr = jQuery.parseJSON($('.info').html());
    		console.log(usr);
    
    		alert(usr.display_name);
    	});
    
    </script>
    <?php
    get_footer();
    ?>

Viewing 6 replies - 91 through 96 (of 96 total)