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
| index.php file task | |
| <a><img src="<?php echo get_template_directory_uri() ?>/assets/images/twitter-blue-icon.png"></a> | |
| for nav | |
| <?php | |
| wp_nav_menu( | |
| array( | |
| 'theme_location' => 'menu-1', | |
| 'menu_id' => 'primary-menu', |
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
| *{ | |
| padding: 0; | |
| margin: 0; | |
| } | |
| /* ========================================================================== | |
| #Desktop | |
| ========================================================================== */ | |
| /* ========================================================================== | |
| #header_top |
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
| AWS Cloudfront instalation | |
| In this code I share the two policies that need to be used to setup the S3 bucket properly. | |
| 1) This policy is applied on the S3 bucket to enable public access: | |
| { | |
| "Version": "2008-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowPublicRead", |
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
| Go to CMD PROMPT Run as a administrator\ | |
| write:sfc/scannow | |
| enter |
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
| remove_action( 'add_option_new_admin_email', 'update_option_new_admin_email' ); | |
| remove_action( 'update_option_new_admin_email', 'update_option_new_admin_email' ); | |
| /** | |
| * Disable the confirmation notices when an administrator | |
| * changes their email address. | |
| * | |
| * @see http://codex.wordpress.com/Function_Reference/update_option_new_admin_email | |
| */ | |
| function wpdocs_update_option_new_admin_email( $old_value, $value ) { |
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
| define('WP_HOME','http://localhost/automov'); | |
| define('WP_SITEURL','http://localhost/automov'); | |
| chnage to | |
| define('WP_HOME','http://facebook.com'); | |
| define('WP_SITEURL','http://facebook.com'); |
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
| <?php | |
| /** | |
| * Template Name: product-page. | |
| * | |
| * @package WordPress | |
| * @subpackage Twenty_Fourteen | |
| * @since Twenty Fourteen 1.0 | |
| */ | |
| get_header(); |
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
| /* XL Device :1200px. */ | |
| @media (min-width: 1200px) and (max-width: 1500px) { | |
| } | |
| /* LG Device :992px. */ | |
| @media (min-width: 992px) and (max-width: 1200px) { | |