-
Notifications
You must be signed in to change notification settings - Fork 0
Plugin Extensions and Overrides
The Online Child Theme provides built-in compatibility for the plugins listed below. The extensions or overrides provided by this theme are also noted.
Note that this is not a comprehensive list of all plugin overrides on the UCF Online site; additional plugin overrides are included in the Online Utilities plugin, and are documented here.
- Navigation
- Advanced Custom Fields PRO
- UCF Degree Custom Post Type
- UCF Degree Search Plugin
- UCF News
- UCF Post List Shortcode
- UCF Social Plugin
- UCF Tuition and Fees Plugin
-
Adds a custom ACF WYSIWYG toolbar called "Inline Text" that only includes simple inline text formatting tools and link insertion/deletion. This toolbar is used on the single degree "Quote" WYSIWYG field.
- Adds a filter for the
ucf_degree_list_sort_grouped_degrees
hook, which modifies the sort order of grouped degree lists returned by the[degree-list]
shortcode
-
UCF Degree Picker Layout: The
inline
layout is available for use within this theme. To use, specify theinline
layout in thelayout
attribute:[ucf-degree-picker layout="inline"]
. -
Typeahead modifications:
-
Markup for typeahead search suggestions has been modified to include degree thumbnails next to each degree's title, when available.
-
Typeahead footer markup has been modified to include a list of all top-level programs pages.
-
Typeahead scripts are disabled in favor of enqueuing Handlebars and typeahead scripts at the theme level, shared between this plugin and the UCF Post List Shortcode plugin
-
Typeahead auto initialization is disabled to allow the theme to apply custom initialization options
-
-
Added a custom layout for this theme,
simple
, which displays a basic list of article titles and publication dates.Usage:
[ucf-news-feed layout="simple"]
-
Modified the
default
layout included by the plugin to display stories in a grid layout with thumbnails and excerpts. Thumbnail images are wrapped in a media background container to ensure all images are of an equal height.This layout pulls thumbnail images using the new
post-list-default-img
image size. -
Added a new
thumbnail
layout that displays posts in a grid-like layout, with post titles and thumbnails. Thumbnail images are wrapped in a media background container to ensure all images are of an equal height. All list items are of equal height, regardless of the amount of vertical space the post title consumes.This layout pulls thumbnail images using the new
post-list-thumbnail-img
image size. -
Added a new
select
layout that inputs post items into a select element in a form. Upon the selection of a post item, the form's action URL is dynamically updated with the post's permalink. When submitting the form, the user is taken to the post selected. There are four custom shortcode attributes that are enabled for this layout:-
select_layout__label_text
: The text inside of the<label>
element. Defaults to "Select an Option" -
select_layout__label_classes
: The classes applied to the<label>
element. No classes are applied by default. -
select_layout__option_text
: The text inside of the default<option>
element. Defaults to "Select an Option" -
select_layout__button_text
: The text inside of the form's<button>
element. Defaults to "Go"
-
-
Added a new
link
layout that displays items as<a>
elements in rows/columns. There is one custom shortcode attribute enabled for this layout:-
link_layout__link_classes
: The classes applied to the<a>
element. Defaults to "mb-3 mb-lg-4"
-
-
Typeahead scripts are disabled in favor of enqueuing Handlebars and typeahead scripts at the theme level, shared between this plugin and the UCF Degree Search Plugin
-
Searchable values for each person in a search-enabled
people
post list search have been modified (via theucf_post_list_search_localdata
hook).
-
The
grey
color scheme for social icons provided by the UCF Social Plugin have been modified for usage in the site footer.
- The "Degree Plan Code meta name" option for this plugin has been overridden at the theme level to support the existing
degree_code
field name for degree plan codes.