-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The UCF Degree Search Plugin includes several options for listing degrees in searchable typeahead and angular interfaces, as well as basic degree lists from external sources.
The typeahead provides a quick search interface that can be integrated into a larger page, while the angular solution is intended for a full search page, where filters and results are provided as you type. The two can also be used in conjunction, with the typeahead providing a quick link capability, but where clicking the search button takes you to a page with the angular app and some parameters to perform a search.
The typeahead, angular interface, and generic degree lists are all added to WordPress pages or posts using shortcodes.
To add the typeahead input to a page, use the [ucf-degree-search] shortcode. The shortcode can be added without any attributes and will use default settings that are set in the settings page.
The angular application is added using a varierty of shortcodes, depending on the features desired. At a minimum, the [ds-angular] must be added to the page with the [ds-angular-search] and [ds-angular-results] shortcodes nested within it. Like the typeahead shortcode, the shortcode can be added to the page without any additional attributes and defaults set in the settings page will be used.
A list of external degrees can be added to a page using the [ucf-external-degree-list] shortcode. Degrees are sourced from the feed provided in the "Angular Degree Search Rest API" plugin option. By default, this shortcode only lists a basic unordered list of degrees.