PHP code example of dominik317 / team-members-directory
1. Go to this page and download the library: Download dominik317/team-members-directory library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dominik317 / team-members-directory example snippets
echo do_shortcode('[team_members]');
return [
'route_slug' => 'team', // URL: /team
'shortcode' => 'team_members', // Shortcode name
];
add_filter('team_members_route_slug', function() {
return 'our-team'; // Changes to /our-team
});