This document provides an overview of building and maintaining WordPress sites. It discusses WordPress fundamentals like posts, pages, taxonomies, menus, widgets, and custom fields. It also covers themes, plugins, and common issues like plugin bloat and unoptimized images. The document recommends plugins and themes to use and provides tips for customizing WordPress through the customizer and child themes.
1. WORDPRESS SITE
BUILDING BASICS
Jeff McNear
ā¢ https://plasterdog.com
ā¢ https://webprosmeetup.org/
ā¢ jeff@plasterdog.com
ā¢ 847/849-7060
ā¢ Focus on building customized
WordPress installations & custom
themes
ā¢ Building & repairing WordPress sites
since before WordPress 3.0
ā¢ Have significant exposure to Joomla,
Drupal, PHP Fusion, ZenCart ā¦ and
some others
2. Itās best to know how a thing works before
you start to modify it ā¦
12. PAGES:
ā¢ Stand-alone content
ā¢ More likely to have
alternative templates
ā¢ Can have parent/child
relationship
ā¢ No relevant taxonomies
13. POSTS:
ā¢ Two associated
taxonomies: categories &
tags
ā¢ May have alternative
templates as well
ā¢ Themes contain template
configurations for
taxonomy archives
ā¢ Content can be shown in a
dynamic way
14. TAXONOMIES:
CATEGORIES
ā¢ Can be hierarchical
ā¢ Multiple selections allowed
ā¢ Unique archive template(s)
TAGS
ā¢ No hierarchy
ā¢ Multiple selections allowed
ā¢ Unique archive template(s)
ā¢ Often incorrectly used
15. MENUS:
=> Appearance
=> Menus
ā¢ Can be assigned by region
or via widget
ā¢ Any existing content or
archive is selectable
ā¢ Theme controls the
behavior and styling
17. MEDIA:
=> Media
ā¢ Any uploaded file is
considered media
ā¢ Images are rendered into
three sizes upon upload
ā¢ Default behavior is to
structure files into folders
defined by month
ā¢ A good naming
convention can be crucial
18. SITE NAME & TAGLINE:
=> Settings
=> General
ā¢ Important for SEO even if
the theme doesnāt show
the fields on the āfront
endā
19. READING SETTINGS:
=> Settings
=> Reading
ā¢ Determines the landing
page
ā¢ Determines whether the
site is exposed to indexing
ā¢ Determines the number
of posts shown in an
archive
20. PERMALINK SETTINGS:
=> Settings
=> Permalinks
ā¢ In most cases āpost
nameā is preferred
ā¢ Changing this after site
launch could cause SEO
issues
21. DISCUSSION SETTINGS:
=> Settings
=> Discussion
ā¢ If you arenāt encouraging
comments, shut things
down
ā¢ If comments are allowed
moderate them
ā¢ Akismet is crucial
22. MEDIA SETTINGS:
=> Settings
=> Media
ā¢ Default sizes usually are
just fine
ā¢ If you change them after
the site is launched you
will need the āregenerate
thumbnailsā plugin
23. USER PERMISSIONS:
=> Users
ā¢ By default user
permissions define
editorial permissions
ā¢ The āsubscriberā role
allows validated user to
see āprivateā content
24. DEFAULT USER LEVELS:
ā¢ Administrator ā somebody who has access to all the
administration features within a single site.
ā¢ Editor ā somebody who can publish and manage posts
including the posts of other users.
ā¢ Author ā somebody who can publish and manage
their own posts.
ā¢ Contributor ā somebody who can write and manage
their own posts but cannot publish them.
ā¢ Subscriber ā somebody who can only manage their
profile.
31. BLOCK CONTROLS:
For each block there are controls
found in the right column which
allows further modification of the
contents of that block.
Advanced controls allow for a class to
be attached to the block.
32. MORE BLOCK CONTROLS
Blocks can be re-
positioned either by
clicking and dragging (via
6 dot icon) or the up and
down arrows.
Some blocks will have
controls in the block
region as well as in the
right column
34. DEFAULT FIELDS:
PRIMARY SECONDARY TERTIARY
Title
Content
Excerpt
Author
Post Date
Comments
Publication Status
Featured Image
Post Type
Comment Status
Comment Count
Ping Status
Modified Date
Menu Order
Post Password
35. COMMON THEME TEMPLATES:
PRIMARY SECONDARY TERTIARY
Index
Page
Post
Header
Footer
Sidebar
Archive
Category
Tag Archive
Featured Image
Alternate Page Templates
Alternate Post Templates
38. PLUGIN TYPES:
As of 1/14/2020 there are 55,287 plugins on
wordpress.org
ā¢ FORMS
ā¢ CALENDARS
ā¢ E-COMMERCE
ā¢ SEO
ā¢ BACKUPS
ā¢ SECURITY
ā¢ CACHING
ā¢ EXTENDING FIELDS
39. CHOOSING A PLUGIN:
PAY ATTENTION TO:
ā¢ How current is the plugin
ā¢ Is it in compliance with
WordPress core
ā¢ Read both the good and bad
reviews
ā¢ How popular is the plugin
41. RECOMMENDED PLUGINS:
COMMENT FILTERING
Akismet https://wordpress.org/plugins/akismet/
FORMS
Contact Form 7 https://wordpress.org/plugins/contact-form-7/
Ninja Forms https://wordpress.org/plugins/ninja-forms/
EVENTS
Events Calendar https://wordpress.org/plugins/the-events-calendar/
All in One Calendar https://wordpress.org/plugins/all-in-one-event-calendar/
E-COMMERCE
WooCommerce https://wordpress.org/plugins/woocommerce/
EDD https://wordpress.org/plugins/easy-digital-downloads/
SEO
Yoast SEO https://wordpress.org/plugins/wordpress-seo/
All in One SEO https://wordpress.org/plugins/all-in-one-seo-pack/
42. BACKUPS
Updraft https://wordpress.org/plugins/updraftplus/
Duplicator: https://wordpress.org/plugins/duplicator/
IMAGE CONTROL
Smush https://wordpress.org/plugins/wp-smushit/
EWWW https://wordpress.org/plugins/ewww-image-optimizer/
SECURITY
Wordfence https://wordpress.org/plugins/wordfence/
All in One https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/
CACHING
W3 Total Cache https://wordpress.org/plugins/w3-total-cache/
Lite Speed Cache https://wordpress.org/plugins/litespeed-cache/
EXTENDING FIELDS
ACF https://wordpress.org/plugins/advanced-custom-fields/
PODS https://wordpress.org/plugins/pods/
44. SHOWCASE THEMES FROM
WORDPRESS.ORG:
Almost every year the
WordPress Project
releases a new core
theme which showcases
the latest developments
in core.
These themes work well
with the child-theming
process
45. ASSESS THEMES LIKE PLUGINS:
PAY ATTENTION TO:
ā¢ How current is the theme
ā¢ Is it in compliance with
WordPress core
ā¢ Read both the good and bad
reviews
ā¢ How popular is the theme
46. HOW IS SUPPORT HANDLED:
Many of the most popular themes on
the repository will be supported by the
general community ā¦ not necessarily
the plugin authors
47. āPREMIUM THEMESā:
To be accepted into the
Wordpress.org repository a
theme needs to pass
vigorous standards.
Premium Theme sources
Set their own standards
50. CHILD THEME:
https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme
What is a Parent Theme?
A parent theme is a complete theme which includes all of the required WordPress template
files and assets for the theme to work.
What is a Child Theme?
A child theme inherits the look and feel of the parent theme and all of its functions, but can
be used to make modifications to any part of the theme. In this way, customizations are kept
separate from the parent themeās files. Using a child theme lets you upgrade the parent
theme without affecting the customizations youāve made to your site.
How to Create a Child Theme
1. Create a child theme folder
2. Create a stylesheet: style.css
3. Enqueue stylesheet
51. BASELINE THEMES:
A baseline theme has all the elements you need, but will generally be unusable until you
modify them:
https://underscores.me/
āa theme meant for hacking with ultra-minimal CSS - less stuff to get in your wayā
https://themble.com/bones/
ābuilt around the latest in Web Standards, Bones is a rock solid foundation to start any
WordPress projectā
http://html5blank.com/
āan open source boilerplate theme for WordPressā
53. PLUGIN BLOAT:
ā¢ Only one plugin per function
ā¢ Plugins with a finite purpose
ā¢ Un-Supported Plugins
ā¢ Premium Plugins with expired licenses
54. CONTENT ORGANIZATION:
ā¢ Pages should be used sparingly
ā¢ Posts should be organized in a logical category
manner
ā¢ Many site authors over-use tags
ā¢ Orphan drafts and abandoned content should
be deleted
ā¢ Media files should have a logical naming
convention
55. IMAGE FILE SIZE:
While WordPress does resize images into four sizes (thumbnail, medium,
medium large, large) upon upload, optimizing before upload is still crucial:
FREE IMAGE OPTIMIZATION TOOLS:
https://www.gimp.org/
tools needed for high quality image manipulation
https://squoosh.app/
Compress and compare images with different codecs, right in your browser.
https://pixlr.com/editor/
runs on flash