Skip to content

Base functionality to use across sites. Moves some functionality from Basetheme into plugin for use with other themes.

Notifications You must be signed in to change notification settings

timstl/basetheme-helper-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

basetheme-helper-plugin

Base functionality to use across sites. Moves some functionality from Basetheme into plugin for use with other themes.

class.activated.php

  • Runs when this plugin is activated.
  • Deletes Hello Dolly plugin.
  • Deletes Sample Page.
  • Creates Home and Blog pages.
  • Updates WP reading settings for Home and Blog.
  • Blocks search engines

class.busted.php

  • Adds 'modified' string to enqueued scripts or styles to help bust cache.

class.admin.php

  • Creates "Search engines are currently blocked." notice

class.cleanup.php

  • Removes version and other unncessary info from wp_head

misc

  • bt_log function for misc theme or plugin logging to wp-content/debug.log.
  • See basetheme-helper-plugin.php for usage notes.

About

Base functionality to use across sites. Moves some functionality from Basetheme into plugin for use with other themes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages