This plugin provides custom functionality to the UC Santa Cruz Giving website by creating a custom post type for the Giving funds and linking each fund to its Giving Designation Form offsite.
Each fund can be designated a "Priority" fund or a "Standard" fund. Priority funds are described in their own Single Post template and link to their fund designation form from the post. Standard funds link straight to their fund designation form from their archive page or query loop display.
- WordPress 6.5 or greater
- Advanced Custom Fields Pro
This plugin implements the following:
- Creates a Custom Post Type for Giving Funds
- Creates Custom Taxonomies associated with with the new post type
- Areas (of Impact)
- (Fund) Themes
- Keywords
- Creates templates for the new post type and taxonomies:
- Single Funds Template
- Single Template utilizes the Block Bindings API that was introduced in WP6.5. This is used to bind the fund form URL to the "give" button on the template
- Funds Archive Template
- Area Archive Template
- Fund Theme Archive Template
- Fund Keyword Archive Template
- Fund Type Archie Template
- Single Funds Template
- Creates an ACF Field Group associated with the new post type for entering fund designation metadata, including:
- a Fund Designation Code field on each single custom post
- a global base url
- Creates a Block Variation of the search block scoped to the Fund post type
- Returns results separate from Global results page.
This plugin is maintained by the University Advancement web team in the campus Communications office. If you have any questions about this project, you can contact Rob Knight, Jason Chafin, or submit an issue here on Github.