~/talk

Turn Your Code Into A Plugin

Talkat WordCamp Asheville 2015 · 2015-07-25..07-26· [wordpress]
links:none on file
slides:none on file

Walks through taking site‑specific code out of a child theme and turning it into a reusable plugin: copies sharing icons and JS/CSS into a plugin folder, adds the plugin header, prefixes functions to avoid collisions, and provides a small helper that returns the plugin URL so assets load correctly. Uses PHP, WordPress enqueue styles and scripts, JavaScript (jQuery), Font Awesome and CSS. Demonstrates removing header.php, handling jQuery dependencies, and verifies the feature works after switching themes — a single plugin file plus CSS and JS. child theme functions.php to plugin

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 6:59Child themes vs plugins
  3. 16:27Reviewing the child theme setup
  4. 27:07Creating a basic plugin
  5. 33:31Moving functionality to plugin
  6. 41:26Enqueuing styles and scripts
  7. 48:18Cleaning up the child theme
  8. 51:43Testing cross-theme compatibility
  9. 52:30Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.