Problem Statement:
Need to understand more about how WordPress works
- Development / coding
- Testing
- Hierarchy / Loops
- Publishing
Solution:
Development tool:
Use sublime IDE for development- Use Visual Studio -> here or search.
- Use a DRY style (Don’t Repeat Yourself) instead of Wettt (Write everything ten thousand times)
- Check for a plug-in, someone may have already completed for you.
- Only install trusted plug-ins
Ability to test ( ______, Apache, MySQL and PHP):
- Windows – WAMP
- Linux – LAMP
- Mac – MAMP
WAMP/conf/apache/extra
User: real URL not local host
/etc/hosts
Insert your URL “test.dev”
Config:
localhost/phpmyadmin/index.php
Hierarchy
- function.php
- header.php
- style.css
- sidebar.php
- frontpage.php (if present)
- singe.php (if present)
- archive.php (if present)
- searchform.php (if present)
- search.php (if present)
- page.php
- index.php
- archive.php
- footer.php
Publishing
- User Chrome developer tools to turn off CACHE
- User FileZilla to drag and drop to production
Conclusion:
Understanding the lay of the land makes it easier to develop WordPress content.
Reference:
https://code-boxx.com/difference-wamp-lamp-mamp-xampp/
http://generatewp.com/theme-support
http://codex.wordpres.org/Theme_Features
W.P. Theme developXXX
https://closte.com/blog/visual-studio-powerful-ide-for-wordpress-development
https://www.youtube.com/watch?v=otfHuSzxYnw
X_X_X_ https://www.youtube.com/watch?v=UHlk9IFsaZU
Learn PHP (1 video)
Books to look for:
codex.wordpress.org/The_Loop_in_Acation
developer.wordpres.org/themes
A Practial HandBook for WP Themese ISBN 1499797087 (11/19/2016)