• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Overview
  • Faculty Theme
  • Request a Site
  • Working with WordPress
    • Design Options
      • Front Page Layouts and Widgets Areas
      • Widget Areas (Sidebars)
      • Content Types: People, Publications, Research, Facilities, and Courses
      • Footer Contents
    • Theme Settings
    • Editing
      • News section
      • Forms
      • The Whitepaper template
    • Page Redirects
    • Google Analytics & Verification
    • Feedburner (and other RSS analytics services)
  • Resources

COE WordPress Sites

Texas A&M University College of Engineering

Changes to built-in widgets and third-party plugins

Widget behavior modifications via WordPress hooks

The Recent Posts widget options have been filtered to set the query’s post_type when the widget is used in a post-type-specific sidebar. See inc/widgets.php in the theme file.

To disable this behavior, add the following line to a custom plugin file:

remove_filter( 'widget_posts_args', 'berkeley_recent_post_widget_args' );

Widget form additions via WordPress hooks

The background color select option has been added to the WP Editor widget using the widget_form_callback filter. Additional filter functions are hooked to widget_update_callback and dynamic_sidebar_params to save the selected option and add a class to the widget markup, respectively. See inc/widgets.php in the theme file.

Typo Corrections

The following plugins have had their files altered to correct typos:

  • Google CSE plugin: corrected “Goosgle” typo in widget title
  • Per Page Widgets plugin: corrected “Speciel” typo in meta box dropdown

Need Help?

Contact the COE WordPress Help Desk with questions.

  • Email: wp-engr-helpdesk@tamu.edu

Ready for a Site?

Request a Site

© 2016–2023 COE WordPress Sites Log in

Texas A&M Engineering Experiment Station Logo
  • College of Engineering
  • Facebook
  • Twitter
  • State of Texas
  • Open Records
  • Risk, Fraud & Misconduct Hotline
  • Statewide Search
  • Site Links & Policies
  • Accommodations
  • Environmental Health, Safety & Security
  • Employment