20. Need to edit the core code?
vizred.com
WordPress core files are overwritten
when WP updates. File edits are lost.
Use a plugin, a child theme or add a
code snippet in functions.php
22. vizred.com
3 Reasons to use Child
Themes
Easy to make
We can edit the code
Template edits are safe when
the parent theme updates
23. vizred.com
Rename Plugins
When we customize a plugin,
we rename the plugin & its folder
to protect against the original plugin’s
update releases
24. vizred.com
To rename a plugin..
Open the plugin’s main php file,
change the “Plugin Name” and
rename the parent folder.
25. vizred.com
When we rename a plugin,
the old plugin & the new plugin
cannot usually
be active at the same time..
..without the new plugin’s
function names
being renamed first.
27. vizred.com
Hooks and filters
are found in
core WP code,
themes,
&
some plugins.
Use action hooks & filters to..
..plug code into WordPress.
28. vizred.com
When you write a code snippet
like the one below
that adds text to the footer..
function vr_foot_text() {
echo ‘<p>Some text</p>’;
}
add_action(‘wp_footer’,’vr_foot_text’, 14)
..you can
add the snippet to functions.php
32. vizred.com
Changelogs tell us about..
new features,
bug fixes,
plugin name changes,
whether settings will be lost,
WP version compatibility,
warn of product end of life (EOL),
& more
33. vizred.com
We have learned
Screen Options
The Help Button
Drag’n’Drop Panels
Collapsable Widgets
Quick Edit
Bulk Edit
Sortable Columns
Search Filters
Never Edit Core Files
Use Child Themes
Rename the Plugins
We Customize
Use functions.php
Read Change Logs
34. vizred.com
Blanca Stella Mejia
Social Media Consultant/Blogger
blanca@vizred.com
Twitter: @miamishines @micaminar
Lee Hodson
Web Developer/Tech Blogger
leehodson@vizred.com
Twitter @lee_hodson
@vizred
Presentation: http://vizred.com/wordcamp-miami-2014/