This file contains hidden or 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
html { font-size: 100%; } | |
body { line-height: 1.6875; font-family: 'Lato', arial, helvetica, sans-serif; } | |
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Bitter', arial, helvetica, sans-serif; font-weight: 700; margin-top: 0; line-height: 1.1; } | |
h1 { font-size: 200%; } | |
h2 { font-size: 180%; } | |
h3 { font-size: 160%; } | |
h4 { font-size: 120%; } | |
h5 { font-size: 100%; } | |
h6 { font-size: 80%; } | |
p { color: #666; font-size: 100%; font-weight: 500; margin-bottom: 5%; } |
This file contains hidden or 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
function my_acf_options_page_settings( $settings ) | |
{ | |
$settings['title'] = 'My Options Title'; | |
$settings['pages'] = array('Items', 'Trinkets', 'Gadgets’); | |
return $settings; | |
} | |
add_filter('acf/options_page/settings', 'my_acf_options_page_settings'); |
This file contains hidden or 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
# BEGIN HTML5 Boilerplate | |
### | |
### This contains the HTML5 Boilerplate .htaccess that can be found at: | |
### https://github.com/h5bp/server-configs/blob/master/apache/.htaccess | |
### | |
### Added: | |
### Block access to WordPress files that reveal version information. | |
### | |
### Removed: |
This file contains hidden or 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^assets/css/(.*) /wp-content/themes/themeName/assets/css/$1 [QSA,L] | |
RewriteRule ^assets/js/(.*) /wp-content/themes/themeName/assets/js/$1 [QSA,L] | |
RewriteRule ^assets/img/(.*) /wp-content/themes/themeName/assets/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] | |
RewriteCond %{REQUEST_FILENAME} !-f |
This file contains hidden or 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
Add: | |
A Login folder to your theme | |
wp-content > themes > themeName > login. | |
Add: To functions.php (or custom.php in Roots) | |
// redirects to a custom stylsheet | |
function custom_login_css() { | |
echo '<link rel="stylesheet" type="text/css" href="'.get_stylesheet_directory_uri().'/login/login-styles.css" />'; |
This file contains hidden or 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
.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}@-webkit-keyframes flash { | |
0%, 50%, 100% {opacity: 1;} 25%, 75% {opacity: 0;} | |
} | |
@-moz-keyframes flash { | |
0%, 50%, 100% {opacity: 1;} | |
25%, 75% {opacity: 0;} | |
} | |
@-o-keyframes flash { |
This file contains hidden or 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
// CUSTOM DASHBOARD WIDGET | |
add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets'); | |
function my_custom_dashboard_widgets() { | |
global $wp_meta_boxes; | |
wp_add_dashboard_widget('custom_help_widget', 'Trademark Creative Ltd.', 'custom_dashboard_help'); | |
} |