• Resolved rdanamcd

    (@rdanamcd)


    Do the Users have to have Posts assigned to them to be included in the autocomplete dropdown?

    All my Subscribers that don’t have any posts assigned don’t show up in the list. My admin with Posts assign show up no problem.

    Anything I need to do to have all users included?

    Thanks
    Dana

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor rayrutjes

    (@rayrutjes)

    @rdanamcd thanks for asking,

    Indeed, by default we only index users if they have at least one post assigned to them.

    You can change this behaviour by using the algolia_should_index_user.

    Here is an example that you can add to your theme’s functions.php file:

    <?php
    
    add_filter( 'algolia_should_index_user', '__return_true' );

    Let me know if that helps 😉

    Thread Starter rdanamcd

    (@rdanamcd)

    Great. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Autocomplete Users’ is closed to new replies.