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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" charset="utf-8"></script> | |
<script src="<?php echo esc_url( home_url( '/' ) ); ?>/jquery.simpleWeather.js" charset="utf-8"></script> | |
<script type="text/javascript"> | |
$(function() { | |
$.simpleWeather({ | |
location: 'london, united kingdom', | |
unit: 'c', | |
success: function(weather) { | |
html = '<h2>'+weather.city+', '+weather.region+'</h2>'; |
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
#weather2 { | |
background: #6f9dbe; | |
background: -webkit-gradient(linear, left top, left bottom, from(#adc7db), to(#6f9dbe)); | |
background: -moz-linear-gradient(top, #b2bcc8, #adc7db); | |
width: 185px; | |
padding: 5px 10px; | |
overflow: hidden; | |
border: 1px solid #6591b3; | |
} |
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
add_action( 'wp_dashboard_setup', 'register_my_dashboard_widget' ); | |
function register_my_dashboard_widget() { | |
wp_add_dashboard_widget( | |
'my_dashboard_widget', | |
'My Dashboard Widget', | |
'my_dashboard_widget_display' | |
); | |
} |
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
/**REPLACE WP LOGO**/ | |
function admin_css() { | |
echo ''; | |
} | |
add_action('admin_head','admin_css'); |
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
#header-logo {background-image: url(images/client_logo.jpg);} |
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
<Files wp-login.php> | |
order deny,allow | |
Deny from all | |
# allow access from my IP address | |
allow from 192.168.5.1 | |
</Files> |
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
# Enable all core updates, including minor and major: | |
define( 'WP_AUTO_UPDATE_CORE', true ); |
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
order deny,allow | |
allow from 192.168.5.1 | |
deny from all |
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
add_filter( 'auto_update_theme', '__return_true' ); |
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
order allow,deny | |
deny from 456.123.8.9 | |
allow from all |
OlderNewer