开发者 | jcummings1974 |
---|---|
更新时间 | 2014年9月13日 22:12 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
plugin-name.php
to the /wp-content/plugins/
directoryYes. The plugin adds a submenu to the settings panel that allows you to choose a display type, as well as how you would like the directory sorted. The menu is located beneath the main settings menu as a sub-menu.
Yes. When you're creating an entry, use the "Order" input to insert a numerical sort value to be associated with the page, then visit the settings panel and choose to sort by "Sort Value".
There are four primary display options (most are self explanatory) that include a 1, 2 and 3 columnar display, and a simple list option that outputs the directory entries as list items in a UL.
Yes - the “Simple List” display option is provided to be the easiest way for you to apply your own styling to the directory information. It includes as little styling as possible to make it easier for people to make changes/overrides. If you want to change the other display styles, a faculty-staff-style-override.css stylesheet is included and called by the plugin. Any changes you make to styles in this stylesheet will take precedence over the default styles. Each entry is included in a div with the class ‘fsentry’. All entries are wrapped in a parent section block with a class of ‘facstaff’.
Yes, this is a setting in the settings menu and it applies to any of the three columnar styles. The simple list style doesn’t include the images because it’s just that, a simple list.
Because this plugin registers and makes use of built-in Wordpress custom post type functionality, all faculty-staff profile entires will be available for XML export using the standard Wordpress post export functionality. A link is included directly to the export section of the admin on the directory settings menu for simplicity, but all of the export functionality is core Wordpress.
Yes. Right now, if you choose the “Simple List” display option, you’ll find that the list that is produced includes valid hCard markup for each directory entry. I am looking at expanding this in the future to include the ability to export an individual entry to vCard.
Yes. In the FSDirectory settings menu, change the “Apply CSS skin to thumbnails” setting to “No’. This is set to yes by default.
The widget allows you to feature a profile in a widget area by allowing you to supply the title for the widget, and the post ID of the profile that you want to feature. To find your post ID, go to “Faculty and Staff Profiles” in the Wordpress admin, and highlight the title of the profile you want to feature. You will see the post ID in the URL. Enter that in the post ID field of the widget, and that profile will be featured in the sidebar. The widget uses the name, title, thumbnail photo and whatever is included in the ‘Excerpt’ field for that user profile. The excerpt field allows you to specify curated text for the featured bio widget. This will generally be a better option that attempting to display the full profile due to limited space in widget areas.
Categories were introduced in version 1.5 to accommodate users who want to use the plugin for listing people who need to be grouped in to specific subgroups (like sales representatives that cover a state of set of states). To display users by category, first make sure that you’ve created profile entries with categories assigned using the category meta box to the right of the main entry window to add the category you want the profile you’re adding to be associated with. Once you’ve done that, make sure to choose ‘By Category’ as the display style in the FSDirectory settings menu. This will output a list of all profiles separated by the categories you’ve created with a link back the original profile post.
Feature requests, support, and questions can all be addressed to the public Faculty and Staff Directory Trello board at https://trello.com/b/6Dni5S3n