- Design
- Colors
- Images
- Navigation
- Content
- Hosting Setup
- WordPress Config
- Setup dccadmin user
- Configure WP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Accessibility is the degree to which a product, device, service, or environment is available to as many people as possible." - Cynthia Waddell | |
Four major disabilities addressed by a11y: | |
* Cognitive | |
* Write at a low reading level | |
* Make interactivity obvious, clear buttons, etc | |
* Vision | |
* Blind | |
* Colorblind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Changes strings referencing Featured Images for a post type | |
* | |
* In this example, the post type in the filter name is "employee" | |
* and the new reference in the labels is "headshot". | |
* | |
* @see https://developer.wordpress.org/reference/hooks/post_type_labels_post_type/ | |
* | |
* @param object $labels Current post type labels | |
* @return object Modified post type labels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme", | |
"file_exclude_patterns": | |
[ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", | |
"*.o", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package Control - https://packagecontrol.io/installation | |
Tomorrow Color Schemes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$homeposts = yourtheme_get_posts( 'post', array( 'category_name' => 'name_of_the_category', 'posts_per_page' => 1 ), 'homepage' ); | |
foreach ( $homeposts->posts as $homepost ) { | |
// process each post here | |
} | |
/** | |
* Returns a post object of the requested post type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # WEB PERFORMANCE | |
# Remove `ETags` as resources are sent with far-future expires headers. | |
# `FileETag None` doesn't work in all cases. | |
<IfModule mod_headers.c> | |
Header unset ETag | |
</IfModule> | |
FileETag None |
- Settings
- [Global] (#global)
- [404 Detection] (#404)
- [Away Mode] (#away)
- [Banned Users] (#banned)
- [Brute Force Protection] (#brute)
- [Backup DB] (#backupdb)
- [File Change Detection] (#files)
- [Hide Login] (#hidelogin)