getting under the hood - wordpress file & directory structure

20
New Castle County WordPress Meetup November 21, 2016 @nccwp

Upload: gregdavispsu

Post on 24-Jan-2017

68 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Getting Under the Hood -  WordPress File & Directory Structure

New Castle County

WordPress Meetup

November 21, 2016 @nccwp

Page 2: Getting Under the Hood -  WordPress File & Directory Structure

Getting Under the Hood - WordPress File & Directory Structure

Page 3: Getting Under the Hood -  WordPress File & Directory Structure

Types of Files

● Core WordPress Files

● Files in the wp-content Folder

(your theme, plugins, and uploads)

● WordPress configuration files

● Your WordPress Database

Page 4: Getting Under the Hood -  WordPress File & Directory Structure

FTP & Text Editors

A text editor is similar to Notepad on Windows or TextEdit on Mac. Most programmers use more versatile tools but if you only have the basic ones installed, they will do just fine.

A few great text editors include Notepad++, Sublime, Coda and Atom.io.

Page 5: Getting Under the Hood -  WordPress File & Directory Structure

WordPress Top-Level Structure

Page 6: Getting Under the Hood -  WordPress File & Directory Structure

WordPress Top-Level Structure

Don’t touch these!

Page 7: Getting Under the Hood -  WordPress File & Directory Structure

WordPress Top-Level Structure

Okay (with some limits)On occasion (be cautious)

Page 8: Getting Under the Hood -  WordPress File & Directory Structure

wp-config-sample.php

When performing a manual install of WordPress:

1. File needs to be copied and saved as wp-config.php

2. The highlighted areas must be filled in.

Page 9: Getting Under the Hood -  WordPress File & Directory Structure

Hidden Files

Some files may be hidden

Page 10: Getting Under the Hood -  WordPress File & Directory Structure

Content Folder

Page 11: Getting Under the Hood -  WordPress File & Directory Structure

SQL DatabaseDon’t touch this file directly!

Only way you want to manually update the database is with phpMyAdmin

Be cautious and always make a backup first!

Page 12: Getting Under the Hood -  WordPress File & Directory Structure

Uploads Folder

Page 13: Getting Under the Hood -  WordPress File & Directory Structure

Plugins Folder

Page 14: Getting Under the Hood -  WordPress File & Directory Structure

Themes Folder

Page 15: Getting Under the Hood -  WordPress File & Directory Structure

Theme Folder - Example

Okay to change / modify these two files but…

Page 16: Getting Under the Hood -  WordPress File & Directory Structure

Best Practice is to Create a Child Theme

Page 17: Getting Under the Hood -  WordPress File & Directory Structure

Plugin Option for Creating Child Theme

https://wordpress.org/plugins/child-theme-configurator/

Page 18: Getting Under the Hood -  WordPress File & Directory Structure

http://www.wpbeginner.com/beginners-guide/beginners-guide-to-wordpress-file-and-directory-structure/

Based on article from WP Beginner:Beginner’s Guide to WordPress File and Directory Structure

Page 19: Getting Under the Hood -  WordPress File & Directory Structure

Reminder - Get Your Tickets: https://2016.us.wordcamp.org/tickets/

Page 20: Getting Under the Hood -  WordPress File & Directory Structure

Next Meetup

Monday, December 19: 6-8pm

● Review of WordCamp US● WordPress 4.7