-
Notifications
You must be signed in to change notification settings - Fork 0
Filter Hooks
Description: Filters page templates that allow news posts to be listed.
Useful for: Whitelisting custom page templates to list news posts.
Description: Filter the responsive-scripts script dependencies.
Useful for: Ensuring a script or JavaScript library is loaded before the
Responsive Framework script.js
file is loaded.
Description: Filters whether the main framework JavaScript file should be loaded in the footer.
Useful for: Loading the framework JavaScript file in the header instead of the footer.
Description: Filters whether Modernizr should be enqueued by the framework.
Useful for: Loading a custom build of Modernizr.
Description: Filters whether the Modernizr should be loaded in the footer.
Useful for: Loading Modernizr in the header instead of footer.
Description: Filters whether the blog page (post type archive) should be considered narrow.
Note: This is only run if a viewing narrow content (more information).
Useful for: Changing the blog page to wide.
Description: Filters post types to consider narrow when is_singular()
is
true.
Note: This is only run if a viewing narrow content (more information).
Useful for: Changing a custom post type single view to narrow.
Description: Filters post types to consider narrow when
is_post_type_archive()
is true.
Note: This is only run if a viewing narrow content (more information).
Useful for: Changing a custom post type archive view to narrow.
Description: Filters page templates to consider narrow when
is_page_template()
is true.
Note: This is only run if a viewing narrow content (more information).
Useful for: Changing a page template to narrow.
Description: Filters the final result of checking for a narrow template.
Note: This is only run if a viewing narrow content (more information).
Useful for: Flagging a post as narrow.
Description: Filters the list of CSS classes for the outer content container.
Useful for: Adding A CSS class to the outer content container.
Description: Filters the list of CSS classes for the inner content container.
Useful for: Adding A CSS class to the inner content container.
Description: Filters the post types to show a page template dropdown on.
Useful for: Adding the page template dropdown to a custom post type.
Description: Filter whether to display the page template dropdown filter in the admin.
Useful for: Hiding the page template dropdown filter.
Description: Filters the BUniverse embed URL.
Useful for: Specifying a custom URL for a BUniverse embed.
Description: Filters the BUniverse shortcut HTML.
Useful for: Changing the markup generated by a BUniverse shortcode.
Description: Filters the current topic ID before retrieving events from BU Calendar.
Useful for: Changing the calendar topic events being displayed.
Description: Filters the calendar sidebar arguments.
Useful for: Changing the calendar sidebar.
Description: Filters calendar page templates.
Useful for: Add calendar support to a custom page template.
Description: Filters the available layout options.
Useful for: Adding or removing layout options.
Description: Filters the categories to exclude from category lists.
Useful for: Excluding categories from category listings.
Description: Filters the maximum number of widgets in a sidebar.
Useful for: Limiting a sidebar to a certain number of widgets.
Description: Filters the default gallery thumbnail width.
Useful for: Changing thumbnail width for galleries.
Description: Filters the default gallery thumbnail height.
Useful for: Changing thumbnail height for galleries.
Description: Filters the image width for 1 column galleries.
Useful for: Changing thumbnail width for 1 column galleries.
Description: Filters the image height for 1 column galleries.
Useful for: Changing thumbnail height for 1 column galleries.
Description: Filters the image width for galleries with 5 columns or more.
Useful for: Changing thumbnail width for galleries with 5 columns or more.
Description: Filters the default BU Profile thumbnail width.
Useful for: Changing thumbnail width for BU Profiles.
Description: Filters the default BU Profile thumbnail height.
Useful for: Changing thumbnail height for BU Profiles.
Description: Filters the default BU Profiles image crop properties.
Useful for: Changing the crop position for the default BU Profiles image.
Description: Filters the default BU Profile large thumbnail width.
Useful for: Changing the width for large BU Profiles image.
Description: Filters the default profile large thumbnail height.
Useful for: Changing the height for large BU Profiles image.
Description: Filters the default BU Profiles large image crop position.
Useful for: Changing the crop position for the large BU Profiles image.
Description: Filters the post archive link.
Useful for: Changing the post archive link.
Description: Filters extra footer classes.
Useful for: Adding classes to the footer.
Description: Filters the empty/not empty status of content for widget header information passed into the dynamic_sidebar_params
hook.
Useful for: Correcting incorrect widget class counts when widgets are empty.
Get started
Configuration
Build child themes
- Customizing CSS in a child theme
- Overriding templates in a child theme
- Code patterns
- Code reviews
- Pulling in Foundation Updates
- Merging and Creating a Pull Request
Sass
Javascript
PHP
- Coding Standards
- PHP Constants
- Temp PHP Code Patterns
- PHP Snippets
- How to Use Hooks
- Action Hooks
- Using Action Hooks To Output Markup
- Filter Hooks
Shortcodes
Templates
GitHub
Tasks
Contribute to the framework
- Framework Development and Release Workflows
- Documentation Template
- Testing your changes
- Creating a new release
- Migration Guide
- Needs Documentation
Code Examples
- Adding Content Container Classes
- Adding News Templates
- Adding Script Dependencies
- Changing Available Layouts and Default Layout
- Displaying a Fancy Gallery
- Loading a Custom Build of Modernizr
- Loading Modernizr in the Footer
- Using Action Hooks To Output Markup
- Understanding get_template_part
BU Developer Resources