SlideShare a Scribd company logo
Joe Casabona
• Web Developer. Writer. Nerd*.
– *Computer, Device, Star Wars
• Yankee Fan
• Responsive Design with WordPress
– Out Dec 2013
– www.rwdwp.com
– Discount Code for 35% off: RWDWP

site: Casabona.org | twitter: @jcasabona | email: joe@casabona.org
slides/resources: casabona.org/events/blogcon-13
Phil Erb
http://philerb.com
Twitter: @philerb
Systems Admin & Programmer
University of Scranton
Co-Founder & Director of Technology
Solve the Net
Lover of WordPress
WordPress Theme Customization
Themes: A Primer
• A WordPress Theme:
– Provides control over the look and presentation of
the material on your website.

• The Codex!
– Your best friend during development
– codex.wordpress.org
Important Files

Tip: Don’t Modify the Core!
style.css
• Includes Theme Definition
/*
Theme Name: Millennium Flights
Theme URI: http://www.milenniumflights.com
Description: A custom theme for Millennium Flights, Inc.
Version: 1.0
Author: Joe Casabona
Author URI: http://www.casabona.org
Tags: blue, white, two-column, flexible-width
*/

• Keep Common Classes in mine
(rwdwp.com/12)
• RWD Tip: Put all CSS in One File
functions.php
• Place misc PHP functions, code, and variables
• Considered a “plugin” file for your theme
• Remember “Separation of Concerns”
– Themes should only effect display, not content or
functionality

• Uses: Actions, Filters, side-wide functions
• RWD Tip: Use this file for server-side
detection
index.php
• The backbone of WordPress themes
• Everything that doesn’t have its own template
file will use index.php
• Used to display a list of posts or content.
• DO NOT remove The Loop from this page
header.php and footer.php
• Template Files to use throughout the theme
• get_header() and get_footer()
• wp_head() and wp_footer()
The WordPress Hierarchy
wphierarchy.com
Template Files
• Sophisticated Display Controls
• Only required files: style.css and index.php
• Custom templates down to the single post
level
• Example: Custom Post Type named“classes”
single-classes.php  single.php  index.php
Page Templates
• Naming Convention
– page-no-sidebar.php
<?php
/*
Template Name: No Sidebar
*/
?>
The Loop
Defined
• The Loop is used by WordPress to display each
of your posts. Using the Loop, WordPress
processes each of the posts to be displayed on
the current page and formats them according
to how they match specified criteria within the
Loop tags. Any HTML or PHP code placed in
the Loop will be repeated on each post
Essentially…
• The Loop has functions to:
– Make sure that you have posts to display
– Display those posts.
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
//print post information using template tags
<?php endwhile; ?>
<?php else : ?>
print “No posts found.”;
<?php endif; ?>
Template Tags
• Functions in WordPress designed to print
information about the Current Post
• Some tags include:
– the_title(), the_time(), the_content(),
the_excerpt(), the_category(), the_tags(),
the_permalink()
If time permits…
Let’s Look at a Live Theme!
Securing Your WordPress Site
Source: Torque.io - WordPress Core is Secure –
Stop Telling People Otherwise
Yes … but …
The code may be secure, but there
are always things to improve
Backup ALL the Things
My hosting provider does that,
why should I?
How do I backup WordPress?
Services
– ValutPress

Plugins
– BackupBuddy
– BackWPUp

The good old fashioned way
mysqldump -udbuser mydb > db.sql
zip -r backup.zip /webfolder/ db.sql
Backup Best Practices
Create a backup schedule that makes sense for
your site.
Get an off-site copy
Test your backups
Secure the Server
To the extent that you can
Use strong passwords
FTP, SSH, and control panels will get
hackers access to your sites
Use SFTP instead of FTP,
if possible
Understand file permissions
“777” makes everything work …
for other people too.
Install an SSL certificate
Securing Core
Secure the login process
Wait, my password is sent over the
Internet in plain text???
Don’t use “admin”
Stronger Authentication
Use strong passwords
Force Strong Passwords
Limit the number of bad logins
Login Lockdown
Use multi-factor authentication
Google Authetnicator
Duo Two-Factor Authentication
Always use SSL encryption
for login forms and personal info
No SSL? Passwords are Plain Text!
Only give users the
access they need
This includes YOU
Don’t always run as admin
Don’t let your database
be predictable
Change the database table prefix
Plugins, Themes, and Updates
Only use trusted sources
DON’T Google “free WordPress themes”
Only one of these is trustworthy

Source: WPMU.org - Why You
Should Never Search For
Free WordPress Themes
Keep core, plugins, and
themes up to date
Security Services, Plugins & Tools
Security Tools
Sucuri
Site scanner, monitoring, and security plugin
Better WP Security
Wordfence
Updates and Management
ManageWP
InfiniteWP
WP Remote
Use a good hosting provider!
Keep Yourself Secure Too!
If your computer is hacked,
your site could be next!
Install OS and application updates
Run antivirus software
Use encrypted protocols (HTTPS, SFTP)
Use strong passwords for everything
Keep your ear to the
WordPress community
The products and the issues are ever evolving.
Where to get the news
WPSecure.net
Sucuri’s blog
WP Updates Notifier plugin

Check out more on the NEPAWP
Resources page
Questions? Comments?
Statements of Disgust?
References & Links
• VaultPress
http://vaultpress.com/
• BackupBuddy
http://ithemes.com/purchase/backupbuddy/
• BackWPUp
http://wordpress.org/plugins/backwpup/
• Codex: Administration over SSL
http://codex.wordpress.org/
Administration_Over_SSL
References & Links
• How to Change the WordPress Database
http://www.wpbeginner.com/wp-tutorials/how-to-changethe-wordpress-database-prefix-to-improve-security/
• Login Lockdown
http://wordpress.org/plugins/login-lockdown/
• Force Strong Passwords
http://wordpress.org/plugins/force-strong-passwords/
• Google Authetnicator
http://wordpress.org/plugins/google-authenticator/
• Duo Two-Factor Authentication
http://wordpress.org/plugins/duo-wordpress/
References & Links
• WPMU.org: Why You Should Never Search For Free WordPress
Themes
http://wpmu.org/why-you-should-never-search-for-freewordpress-themes-in-google-or-anywhere-else/

• Sucuri
http://www.sucuri.net/
http://wordpress.org/plugins/sucuri-scanner/
• Better WP Security
http://wordpress.org/plugins/better-wp-security/
• Wordfence
http://wordpress.org/plugins/wordfence/
References & Links
• WPSecure.net
http://wpsecure.net/
• WP Updates Notifier
http://wordpress.org/plugins/wp-updates-notifier/
• Sucuri blog
http://blog.sucuri.net/category/wordpress

More Related Content

What's hot

Demystifying WordPress
Demystifying WordPressDemystifying WordPress
Demystifying WordPress
Mykl Roventine
 
Using Wordpress for Internet Publishing
Using Wordpress for Internet PublishingUsing Wordpress for Internet Publishing
Using Wordpress for Internet Publishing
Ohio Public Library Information Network (OPLIN)
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
Christopher Reding
 
WordPress best practices by billrice
WordPress best practices by billriceWordPress best practices by billrice
WordPress best practices by billrice
RiceDesign
 
There's No Crying In Wordpress! (an intro to WP)
There's No Crying In Wordpress! (an intro to WP)There's No Crying In Wordpress! (an intro to WP)
There's No Crying In Wordpress! (an intro to WP)
Grace Solivan
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structure
keithdevon
 
Intro To WordPress Themes
Intro To WordPress ThemesIntro To WordPress Themes
Intro To WordPress Themes
damonsharp
 
WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1
David Bisset
 
WordPress, Domain Names and Web Hosting Basics
WordPress, Domain Names and Web Hosting BasicsWordPress, Domain Names and Web Hosting Basics
WordPress, Domain Names and Web Hosting Basics
Chris Burgess
 
WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014
The Toolbox, Inc.
 
Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Cms & wordpress theme development 2011
Cms & wordpress theme development 2011
Dave Wallace
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
The Toolbox, Inc.
 
WordPress Fav Plugins & Security
WordPress Fav Plugins & SecurityWordPress Fav Plugins & Security
WordPress Fav Plugins & Security
The Toolbox, Inc.
 
What Is WordPress and Why Is Everyone Talking About It?
What Is WordPress and Why Is Everyone Talking About It?What Is WordPress and Why Is Everyone Talking About It?
What Is WordPress and Why Is Everyone Talking About It?
BobWP.com
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
superann
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
ryanduff
 
Presentation to SAIT Students - Dec 2013
Presentation to SAIT Students - Dec 2013Presentation to SAIT Students - Dec 2013
Presentation to SAIT Students - Dec 2013Think Media Inc.
 
WordPress Plugins and Security
WordPress Plugins and SecurityWordPress Plugins and Security
WordPress Plugins and Security
Think Media Inc.
 

What's hot (20)

Demystifying WordPress
Demystifying WordPressDemystifying WordPress
Demystifying WordPress
 
Using Wordpress for Internet Publishing
Using Wordpress for Internet PublishingUsing Wordpress for Internet Publishing
Using Wordpress for Internet Publishing
 
WordPress Workshop
WordPress WorkshopWordPress Workshop
WordPress Workshop
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
 
Word press 101
Word press 101Word press 101
Word press 101
 
WordPress best practices by billrice
WordPress best practices by billriceWordPress best practices by billrice
WordPress best practices by billrice
 
There's No Crying In Wordpress! (an intro to WP)
There's No Crying In Wordpress! (an intro to WP)There's No Crying In Wordpress! (an intro to WP)
There's No Crying In Wordpress! (an intro to WP)
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structure
 
Intro To WordPress Themes
Intro To WordPress ThemesIntro To WordPress Themes
Intro To WordPress Themes
 
WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1
 
WordPress, Domain Names and Web Hosting Basics
WordPress, Domain Names and Web Hosting BasicsWordPress, Domain Names and Web Hosting Basics
WordPress, Domain Names and Web Hosting Basics
 
WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014
 
Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Cms & wordpress theme development 2011
Cms & wordpress theme development 2011
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
WordPress Fav Plugins & Security
WordPress Fav Plugins & SecurityWordPress Fav Plugins & Security
WordPress Fav Plugins & Security
 
What Is WordPress and Why Is Everyone Talking About It?
What Is WordPress and Why Is Everyone Talking About It?What Is WordPress and Why Is Everyone Talking About It?
What Is WordPress and Why Is Everyone Talking About It?
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your ClientsWhy Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
Why Switching To WordPress 3.0 Is The Best Thing You Can Do For Your Clients
 
Presentation to SAIT Students - Dec 2013
Presentation to SAIT Students - Dec 2013Presentation to SAIT Students - Dec 2013
Presentation to SAIT Students - Dec 2013
 
WordPress Plugins and Security
WordPress Plugins and SecurityWordPress Plugins and Security
WordPress Plugins and Security
 

Viewers also liked

Downtown Nanticoke Alliance Presentation
Downtown Nanticoke Alliance PresentationDowntown Nanticoke Alliance Presentation
Downtown Nanticoke Alliance Presentation
Frank Knorek
 
LCCC Student Life Retreat at Maumee Bay, September 2008
LCCC Student Life Retreat at Maumee Bay, September 2008LCCC Student Life Retreat at Maumee Bay, September 2008
LCCC Student Life Retreat at Maumee Bay, September 2008MyronFalwell
 
Spring Fling 2009!
Spring Fling 2009!Spring Fling 2009!
Spring Fling 2009!
MyronFalwell
 
Educational technology pwr pt
Educational technology pwr ptEducational technology pwr pt
Educational technology pwr ptSavageGirl14
 
NEPA BlogCon 2012 - Social Media for Business
NEPA BlogCon 2012 - Social Media for BusinessNEPA BlogCon 2012 - Social Media for Business
NEPA BlogCon 2012 - Social Media for Business
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2012 - All Things Google
NEPA BlogCon 2012 - All Things GoogleNEPA BlogCon 2012 - All Things Google
NEPA BlogCon 2012 - All Things Google
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2012 - HTML 101
NEPA BlogCon 2012 - HTML 101NEPA BlogCon 2012 - HTML 101
NEPA BlogCon 2012 - HTML 101
Michelle Davies (Hryvnak)
 

Viewers also liked (7)

Downtown Nanticoke Alliance Presentation
Downtown Nanticoke Alliance PresentationDowntown Nanticoke Alliance Presentation
Downtown Nanticoke Alliance Presentation
 
LCCC Student Life Retreat at Maumee Bay, September 2008
LCCC Student Life Retreat at Maumee Bay, September 2008LCCC Student Life Retreat at Maumee Bay, September 2008
LCCC Student Life Retreat at Maumee Bay, September 2008
 
Spring Fling 2009!
Spring Fling 2009!Spring Fling 2009!
Spring Fling 2009!
 
Educational technology pwr pt
Educational technology pwr ptEducational technology pwr pt
Educational technology pwr pt
 
NEPA BlogCon 2012 - Social Media for Business
NEPA BlogCon 2012 - Social Media for BusinessNEPA BlogCon 2012 - Social Media for Business
NEPA BlogCon 2012 - Social Media for Business
 
NEPA BlogCon 2012 - All Things Google
NEPA BlogCon 2012 - All Things GoogleNEPA BlogCon 2012 - All Things Google
NEPA BlogCon 2012 - All Things Google
 
NEPA BlogCon 2012 - HTML 101
NEPA BlogCon 2012 - HTML 101NEPA BlogCon 2012 - HTML 101
NEPA BlogCon 2012 - HTML 101
 

Similar to NEPA BlogCon 2013 - WordPress Customization & Security

WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
OpenSource Technologies Pvt. Ltd.
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
Up2 Technology
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond blogging
Julien Minguely
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
Evan Mullins
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
Robert Vidal
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojolightshire
 
Best Practices for Building WordPress Applications
Best Practices for Building WordPress ApplicationsBest Practices for Building WordPress Applications
Best Practices for Building WordPress Applications
Taylor Lovett
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshop
Boston WordPress
 
The WordPress Way
The WordPress WayThe WordPress Way
The WordPress Way
Kan Ouivirach, Ph.D.
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
Jonny Allbut
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0
Morten Rand-Hendriksen
 
Faster WordPress Workflows
Faster WordPress WorkflowsFaster WordPress Workflows
Faster WordPress Workflows
Eladio Jose Abquina
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website developmentJohn Faust
 
Best Practices for WordPress
Best Practices for WordPressBest Practices for WordPress
Best Practices for WordPress
Taylor Lovett
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
Evan Mullins
 
WordPress Theme Reviewers Team
WordPress Theme Reviewers TeamWordPress Theme Reviewers Team
WordPress Theme Reviewers Team
Mario Peshev
 
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
Evan Mullins
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
MuhammadUsaid2
 
WordPress
WordPressWordPress
WordPress
risager
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradioDroidcon Berlin
 

Similar to NEPA BlogCon 2013 - WordPress Customization & Security (20)

WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond blogging
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
 
Best Practices for Building WordPress Applications
Best Practices for Building WordPress ApplicationsBest Practices for Building WordPress Applications
Best Practices for Building WordPress Applications
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshop
 
The WordPress Way
The WordPress WayThe WordPress Way
The WordPress Way
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0
 
Faster WordPress Workflows
Faster WordPress WorkflowsFaster WordPress Workflows
Faster WordPress Workflows
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
 
Best Practices for WordPress
Best Practices for WordPressBest Practices for WordPress
Best Practices for WordPress
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
 
WordPress Theme Reviewers Team
WordPress Theme Reviewers TeamWordPress Theme Reviewers Team
WordPress Theme Reviewers Team
 
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
 
WordPress
WordPressWordPress
WordPress
 
Froyo to kit kat two years developing & maintaining deliradio
Froyo to kit kat   two years developing & maintaining deliradioFroyo to kit kat   two years developing & maintaining deliradio
Froyo to kit kat two years developing & maintaining deliradio
 

More from Michelle Davies (Hryvnak)

NEPA BlogCon 2013 - Blogging 101 (Knepper)
NEPA BlogCon 2013 - Blogging 101 (Knepper)NEPA BlogCon 2013 - Blogging 101 (Knepper)
NEPA BlogCon 2013 - Blogging 101 (Knepper)
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Google Analytics 101
NEPA BlogCon 2013 - Google Analytics 101NEPA BlogCon 2013 - Google Analytics 101
NEPA BlogCon 2013 - Google Analytics 101
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Content Creation & Management
NEPA BlogCon 2013 - Content Creation & ManagementNEPA BlogCon 2013 - Content Creation & Management
NEPA BlogCon 2013 - Content Creation & Management
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Building a Professional Network in the Digital Age
NEPA BlogCon 2013 - Building a Professional Network in the Digital AgeNEPA BlogCon 2013 - Building a Professional Network in the Digital Age
NEPA BlogCon 2013 - Building a Professional Network in the Digital Age
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2012 - Sharing is Caring
NEPA BlogCon 2012 - Sharing is CaringNEPA BlogCon 2012 - Sharing is Caring
NEPA BlogCon 2012 - Sharing is Caring
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - HTML5/CSS3 for Bloggers
NEPA BlogCon 2013 -  HTML5/CSS3 for BloggersNEPA BlogCon 2013 -  HTML5/CSS3 for Bloggers
NEPA BlogCon 2013 - HTML5/CSS3 for Bloggers
Michelle Davies (Hryvnak)
 
NEPA BlogCon 2013 - Blog Growth & Development
NEPA BlogCon 2013 - Blog Growth & DevelopmentNEPA BlogCon 2013 - Blog Growth & Development
NEPA BlogCon 2013 - Blog Growth & Development
Michelle Davies (Hryvnak)
 
BitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed ComputingBitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed Computing
Michelle Davies (Hryvnak)
 
A Brief History of NEPA Blogs
A Brief History of NEPA BlogsA Brief History of NEPA Blogs
A Brief History of NEPA Blogs
Michelle Davies (Hryvnak)
 
Catalog WTFs
Catalog WTFsCatalog WTFs
NEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart PeopleNEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart People
Michelle Davies (Hryvnak)
 
Internet Safety Tips for Children
Internet Safety Tips for ChildrenInternet Safety Tips for Children
Internet Safety Tips for Children
Michelle Davies (Hryvnak)
 
Ride the Light
Ride the LightRide the Light
Chia Matt
Chia MattChia Matt
Pinterest
PinterestPinterest

More from Michelle Davies (Hryvnak) (20)

NEPA BlogCon 2013 - Blogging 101 (Knepper)
NEPA BlogCon 2013 - Blogging 101 (Knepper)NEPA BlogCon 2013 - Blogging 101 (Knepper)
NEPA BlogCon 2013 - Blogging 101 (Knepper)
 
NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)
 
NEPA BlogCon 2013 - Google Analytics 101
NEPA BlogCon 2013 - Google Analytics 101NEPA BlogCon 2013 - Google Analytics 101
NEPA BlogCon 2013 - Google Analytics 101
 
NEPA BlogCon 2013 - Content Creation & Management
NEPA BlogCon 2013 - Content Creation & ManagementNEPA BlogCon 2013 - Content Creation & Management
NEPA BlogCon 2013 - Content Creation & Management
 
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
NEPA BlogCon 2013 - Non-Profits vs. For-Profits in the Game of Social Media, ...
 
NEPA BlogCon 2013 - Building a Professional Network in the Digital Age
NEPA BlogCon 2013 - Building a Professional Network in the Digital AgeNEPA BlogCon 2013 - Building a Professional Network in the Digital Age
NEPA BlogCon 2013 - Building a Professional Network in the Digital Age
 
NEPA BlogCon 2012 - Sharing is Caring
NEPA BlogCon 2012 - Sharing is CaringNEPA BlogCon 2012 - Sharing is Caring
NEPA BlogCon 2012 - Sharing is Caring
 
NEPA BlogCon 2013 - HTML5/CSS3 for Bloggers
NEPA BlogCon 2013 -  HTML5/CSS3 for BloggersNEPA BlogCon 2013 -  HTML5/CSS3 for Bloggers
NEPA BlogCon 2013 - HTML5/CSS3 for Bloggers
 
NEPA BlogCon 2013 - Blog Growth & Development
NEPA BlogCon 2013 - Blog Growth & DevelopmentNEPA BlogCon 2013 - Blog Growth & Development
NEPA BlogCon 2013 - Blog Growth & Development
 
BitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed ComputingBitCoin, P2P, Distributed Computing
BitCoin, P2P, Distributed Computing
 
A Brief History of NEPA Blogs
A Brief History of NEPA BlogsA Brief History of NEPA Blogs
A Brief History of NEPA Blogs
 
Catalog WTFs
Catalog WTFsCatalog WTFs
Catalog WTFs
 
NEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart PeopleNEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart People
 
NEPA BlogCon
NEPA BlogConNEPA BlogCon
NEPA BlogCon
 
The (mis)adventures of Flat Stanley
The (mis)adventures of Flat StanleyThe (mis)adventures of Flat Stanley
The (mis)adventures of Flat Stanley
 
Internet Safety Tips for Children
Internet Safety Tips for ChildrenInternet Safety Tips for Children
Internet Safety Tips for Children
 
Welcome to epix
Welcome to epixWelcome to epix
Welcome to epix
 
Ride the Light
Ride the LightRide the Light
Ride the Light
 
Chia Matt
Chia MattChia Matt
Chia Matt
 
Pinterest
PinterestPinterest
Pinterest
 

Recently uploaded

Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
Isaac More
 
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
get joys
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
Madhura TBRC
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
Mark Murphy Director
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
greendigital
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
madeline604788
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
Indira Srivatsa
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
Sabrina Ricci
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
Mark Murphy Director
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
Aarush Ghate
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Blog Eternal
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Hidden Treasure Hunts
 
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdfCreate a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Genny Knight
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
greendigital
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
Zsolt Nemeth
 
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdfMaximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Xtreame HDTV
 
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
Rodney Thomas Jr
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
Isaac More
 
Panchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdfPanchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdf
Suleman Rana
 

Recently uploaded (19)

Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
 
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and LoveMeet Dinah Mattingly – Larry Bird’s Partner in Life and Love
Meet Dinah Mattingly – Larry Bird’s Partner in Life and Love
 
240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf240529_Teleprotection Global Market Report 2024.pdf
240529_Teleprotection Global Market Report 2024.pdf
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
 
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to StardomYoung Tom Selleck: A Journey Through His Early Years and Rise to Stardom
Young Tom Selleck: A Journey Through His Early Years and Rise to Stardom
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
 
I Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledgeI Know Dino Trivia: Part 3. Test your dino knowledge
I Know Dino Trivia: Part 3. Test your dino knowledge
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
 
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles onlineTreasure Hunt Puzzles, Treasure Hunt Puzzles online
Treasure Hunt Puzzles, Treasure Hunt Puzzles online
 
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdfCreate a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
Create a Seamless Viewing Experience with Your Own Custom OTT Player.pdf
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
 
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdfMaximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
 
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
 
Panchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdfPanchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdf
 

NEPA BlogCon 2013 - WordPress Customization & Security

  • 1. Joe Casabona • Web Developer. Writer. Nerd*. – *Computer, Device, Star Wars • Yankee Fan • Responsive Design with WordPress – Out Dec 2013 – www.rwdwp.com – Discount Code for 35% off: RWDWP site: Casabona.org | twitter: @jcasabona | email: joe@casabona.org slides/resources: casabona.org/events/blogcon-13
  • 2. Phil Erb http://philerb.com Twitter: @philerb Systems Admin & Programmer University of Scranton Co-Founder & Director of Technology Solve the Net Lover of WordPress
  • 4. Themes: A Primer • A WordPress Theme: – Provides control over the look and presentation of the material on your website. • The Codex! – Your best friend during development – codex.wordpress.org
  • 5. Important Files Tip: Don’t Modify the Core!
  • 6. style.css • Includes Theme Definition /* Theme Name: Millennium Flights Theme URI: http://www.milenniumflights.com Description: A custom theme for Millennium Flights, Inc. Version: 1.0 Author: Joe Casabona Author URI: http://www.casabona.org Tags: blue, white, two-column, flexible-width */ • Keep Common Classes in mine (rwdwp.com/12) • RWD Tip: Put all CSS in One File
  • 7. functions.php • Place misc PHP functions, code, and variables • Considered a “plugin” file for your theme • Remember “Separation of Concerns” – Themes should only effect display, not content or functionality • Uses: Actions, Filters, side-wide functions • RWD Tip: Use this file for server-side detection
  • 8. index.php • The backbone of WordPress themes • Everything that doesn’t have its own template file will use index.php • Used to display a list of posts or content. • DO NOT remove The Loop from this page
  • 9. header.php and footer.php • Template Files to use throughout the theme • get_header() and get_footer() • wp_head() and wp_footer()
  • 12. Template Files • Sophisticated Display Controls • Only required files: style.css and index.php • Custom templates down to the single post level • Example: Custom Post Type named“classes” single-classes.php  single.php  index.php
  • 13. Page Templates • Naming Convention – page-no-sidebar.php <?php /* Template Name: No Sidebar */ ?>
  • 15. Defined • The Loop is used by WordPress to display each of your posts. Using the Loop, WordPress processes each of the posts to be displayed on the current page and formats them according to how they match specified criteria within the Loop tags. Any HTML or PHP code placed in the Loop will be repeated on each post
  • 16. Essentially… • The Loop has functions to: – Make sure that you have posts to display – Display those posts. <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> //print post information using template tags <?php endwhile; ?> <?php else : ?> print “No posts found.”; <?php endif; ?>
  • 17. Template Tags • Functions in WordPress designed to print information about the Current Post • Some tags include: – the_title(), the_time(), the_content(), the_excerpt(), the_category(), the_tags(), the_permalink()
  • 18. If time permits… Let’s Look at a Live Theme!
  • 20. Source: Torque.io - WordPress Core is Secure – Stop Telling People Otherwise
  • 21. Yes … but … The code may be secure, but there are always things to improve
  • 22. Backup ALL the Things My hosting provider does that, why should I?
  • 23. How do I backup WordPress? Services – ValutPress Plugins – BackupBuddy – BackWPUp The good old fashioned way mysqldump -udbuser mydb > db.sql zip -r backup.zip /webfolder/ db.sql
  • 24. Backup Best Practices Create a backup schedule that makes sense for your site. Get an off-site copy Test your backups
  • 25. Secure the Server To the extent that you can
  • 26. Use strong passwords FTP, SSH, and control panels will get hackers access to your sites
  • 27. Use SFTP instead of FTP, if possible
  • 28. Understand file permissions “777” makes everything work … for other people too.
  • 29. Install an SSL certificate
  • 31. Secure the login process Wait, my password is sent over the Internet in plain text???
  • 33. Stronger Authentication Use strong passwords Force Strong Passwords Limit the number of bad logins Login Lockdown Use multi-factor authentication Google Authetnicator Duo Two-Factor Authentication
  • 34. Always use SSL encryption for login forms and personal info
  • 35. No SSL? Passwords are Plain Text!
  • 36. Only give users the access they need This includes YOU Don’t always run as admin
  • 37. Don’t let your database be predictable Change the database table prefix
  • 39. Only use trusted sources
  • 40. DON’T Google “free WordPress themes” Only one of these is trustworthy Source: WPMU.org - Why You Should Never Search For Free WordPress Themes
  • 41. Keep core, plugins, and themes up to date
  • 43. Security Tools Sucuri Site scanner, monitoring, and security plugin Better WP Security Wordfence
  • 45. Use a good hosting provider!
  • 47. If your computer is hacked, your site could be next! Install OS and application updates Run antivirus software Use encrypted protocols (HTTPS, SFTP) Use strong passwords for everything
  • 48. Keep your ear to the WordPress community The products and the issues are ever evolving.
  • 49. Where to get the news WPSecure.net Sucuri’s blog WP Updates Notifier plugin Check out more on the NEPAWP Resources page
  • 51. References & Links • VaultPress http://vaultpress.com/ • BackupBuddy http://ithemes.com/purchase/backupbuddy/ • BackWPUp http://wordpress.org/plugins/backwpup/ • Codex: Administration over SSL http://codex.wordpress.org/ Administration_Over_SSL
  • 52. References & Links • How to Change the WordPress Database http://www.wpbeginner.com/wp-tutorials/how-to-changethe-wordpress-database-prefix-to-improve-security/ • Login Lockdown http://wordpress.org/plugins/login-lockdown/ • Force Strong Passwords http://wordpress.org/plugins/force-strong-passwords/ • Google Authetnicator http://wordpress.org/plugins/google-authenticator/ • Duo Two-Factor Authentication http://wordpress.org/plugins/duo-wordpress/
  • 53. References & Links • WPMU.org: Why You Should Never Search For Free WordPress Themes http://wpmu.org/why-you-should-never-search-for-freewordpress-themes-in-google-or-anywhere-else/ • Sucuri http://www.sucuri.net/ http://wordpress.org/plugins/sucuri-scanner/ • Better WP Security http://wordpress.org/plugins/better-wp-security/ • Wordfence http://wordpress.org/plugins/wordfence/
  • 54. References & Links • WPSecure.net http://wpsecure.net/ • WP Updates Notifier http://wordpress.org/plugins/wp-updates-notifier/ • Sucuri blog http://blog.sucuri.net/category/wordpress