How to set the number of employees per page

The shortcode below displays IT department employees with a paged navigation, limiting the displayed employees to 2 per page.

[employee_circle_grid filter="tax::departments::is::it;misc::posts_per_page::is::2;"]

You can use the Visual Shortcode Builder to create this code.

How to display employees of a department without paged navigation

The shortcode below displays all IT department employees without a paged navigation:

[employee_circle_grid filter="tax::departments::is::it;misc::posts_per_page::is::-1;"]
view raw gistfile1.txt hosted with ❤ by GitHub

If you need to display all employees without paged navigation, you need to remove the filter for departments. You do not need to create any shortcode manually, simply use the Visual Shortcode Builder to create any shortcode.

[employee_circle_grid filter="misc::posts_per_page::is::-1;"]

How to display image in square instead of circles

The shortcode below displays all IT department employees without a paged navigation and in squares instead of circles.

// Add the code below your theme's style.css if you need to change all employee images
div.emd-container .person-img {
border-radius: 0;
}
//If you want to change it for shortcode bases, wrap your shortcode in .square class
<div class="square">[employee_circle_grid filter="tax::departments::is::it;misc::posts_per_page::is::-1;"]</div>
// And add the following code to your theme's style.css file
.square div.emd-container .person-img {
border-radius: 0;
}

How to show employees in alphabetical order

You can display your employees in alphabetical order by modifying the shortcode of the view you’d like to use. You do not need to create the shortcode manually. Employee Directory Pro comes with Visual Shortcode Builder component which can be used to create simple or complex shortcodes.

For example, the following shortcode displays employees in alphabetical order using employee circle grid view:

// The following shortcode displays employees in alphabetical order using list grid view in Employee Directory WordPress plugin
[employee_circle_grid filter="misc::orderby::is::title;misc::order::is::ASC;"]
view raw gistfile1.txt hosted with ❤ by GitHub