I’m using a multi-site install.
That’s definitely gotten me further. Putting in the new Widget and choosing Name and e-mail now gives me results, but with errors. The output is as follows:
<div class="employee-list-item">
<p class="employee-name"><strong> Bart iddlename%2$s
</strong></p>
<p class="employee-mail"><a href="mailto:[email protected]">[email protected]</a></p>
</div><div class="employee-list-item">
<p class="employee-name"><strong> Tom iddlename%2$s
</strong></p>
<p class="employee-mail"><a href="mailto:[email protected]">[email protected]</a></p>
</div>
If I put the shortcode on a page and have it just show:
<li>%cn%</li>
Then a refresh of the page shows the list of names, however, the search does not work and throws the following PHP warning:
PHP Warning: implode(): Invalid arguments passed in /var/www/html/wp-content/plugins/active-directory-employee-list/classes/class-active-directory-employee-list-output.php on line 407