Filter Reference - AgriLife/AgriFlex GitHub Wiki

Header Filters

agriflex_site_title

Version: 2.0+

Filters the markup between the <h1> tags in <div id="header">. Currently used to change the site title based on the theme option. Default content is title text only.

Footer Filters

agriflex_about

Version: 2.0+

Changes the content in the 'About' footer panel between <div class="about">. Currently used to show agency-specific content if selected. Default content is general AgriLife links.

A header using <h4> tags is required.

footer_links

Version: 2.0+

Changes the footer links between <div class="popular-links">. Currently used to show agency-specifict links if selected.

A header using <h4> tags is required.

required_links_logo

Version: 2.0+

Switches the default TAMUS logo and image link in the third footer panel. Currently used with the College agency type to show the TAMU logo and image link.

Misc. Filters

agriflex_add_options

Version: 2.0+

Creates additional theme options via the Options Framework. See Creating Theme Options for more details.

agriflex_search_text

Version: 1.x+

Changes the placeholder text in the search field.

agriflex_search_button_text

Version: 1.x+

Changes the button text for the search field.

custom_search_form

Version: 1.x+

Allows the developer to completely replace the search field.