WordPress
Plugins
MU Plugins - Must Use Plugins
Always on
Cons:
No update notifications
No activation/deactivation hooks
No subdirectories
Themes handle layout and look
Plugins extend functionality of WordPress
Forking Plugins:
2 things to keep in mind!
Need to change the plugin name and directory
Have a plan for updates
Writing a plugin
Before you start:
Check if plugin exists
Resource:
https://codex.wordpress.org/
https://codex.wordpress.org/Writing_a_Plugin
Naming your plugin
Plugin header
Plugin Name: Name…. (Required)
Do stuff…
Custom Content
5 Default Post types
posts
Typical blog or news post
pages
Static page, outside of time based things of posts, can also be ordered hierarchically
attachments
hold information about files uploaded
revisions
revisions on posts
navigation menu
menus
Use it to build almost anything
Post Meta
Key Values
Taxonomies
Categories
Can be organized hierarchically
Group posts
Tags
Can’t be arranged hierarchically
Keywords
Can use custom taxonomies
Examples:
Books: genres, authors
Recipes: breakfast, lunch
Workouts: run, dance, walk, bike, hike
WordPress comes pre baked with Custom fields
Custom fields arent so effective and not user friendly
Custom Meta Boxes
Can add custom boxes on the side or below posts
Query Meta Post
Demo:
Create and display custom meta information
Templates for our site:
http://www.wpfreeware.com/tutorial/amazing-gaming-website-templates-free-premium/
https://85ideas.com/wordpress/best-free-responsive-business-wordpress-themes/
https://graphpaperpress.com/themes/f8-static/
http://memorypointer.com/best-wordpress-gaming-themes/
http://www.mhthemes.com/themes/theme-category/gaming/
https://www.freshdesignweb.com/gaming-wordpress-themes.html
http://www.themebo.com/wordpress-gaming-themes-2014
https://colorlib.com/wp/best-app-showcase-wordpress-themes/
http://demo.whoathemes.com/?theme=xlander
http://designreflect.com/excellent-wordpress-themes-for-mobile-apps/