Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 832 Bytes

File metadata and controls

36 lines (22 loc) · 832 Bytes

base-plugin

Default settings I use in WordPress, confined to a plugin that can be easily installed.

Here's what's included:

UTILITIES: --

  • bigwilliam_debug() -> debug function for viewing output
  • bw_default_media_links() -> stop WP from default linking to media files when user inserts them
  • chrome_fix() -> once upon a time, chrome needed this.

LOGIN: --

requires custom config per site

  • bw_login_logo()
  • bw_login_logo_url()
  • bw_login_logo_url_title()

MENU: --

requires custom config per site

  • bw_remove_menu_items()
  • bw_custom_menu_names()
  • pages_above_posts()
  • bw_change_admin_bar()
  • bw_replace_footer_text()

SCRIPTS: --

turn this on if you want to add custom js or css to the site, outside the theme files.

  • bw_added_scripts()