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
genesis_register_sidebar( array( | |
'id' => 'header-left', | |
'name' => __( 'Header Left', 'genesis' ), | |
'description' => __( 'Header left widget area', 'genesis' ), | |
) ); | |
add_action( 'genesis_header', 'wpsites_left_header_widget', 11 ); | |
function wpsites_left_header_widget() { | |
if (is_active_sidebar( 'header-left' ) ) { | |
echo '<div class="header-left">'; | |
dynamic_sidebar( 'header-left' ); |
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
.avatar:hover{ | |
border-radius: 50% 50% 50% 50%; | |
transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); | |
-webkit-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); | |
-moz-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); | |
-o-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); | |
-ms-transform: rotate(0deg) scale(0.67) skew(1deg) translate(0px); | |
} | |
// How To Make Rounded Avatars http://wp.me/p1lTu0-9VQ | |
.avatar { |
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
<link rel="apple-touch-icon" href="http://thecustomizewindows.com/apple-touch-icon-precomposed.png" /> | |
<link rel="apple-touch-icon-precomposed" href="http://thecustomizewindows.com/apple-touch-icon.png" /> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://thecustomizewindows.com/apple-touch-icon-72x72-precomposed.png" /> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://thecustomizewindows.com/apple-touch-icon-114x114-precomposed.png" /> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://thecustomizewindows.com/apple-touch-icon-144x144-precomposed.png" /> |
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
// No images were available | |
if ( empty( $wpfbogp_images ) && ! $fallback ) { | |
echo '<meta property="og:image" content="http://thecustomizewindows.com/TheCustomizeWindows.png" />' . "\n"; | |
} | |
// do locale // make lower case cause facebook freaks out and shits parser mismatched metadata warning | |
echo '<meta property="og:locale" content="' . strtolower( esc_attr( get_locale() ) ) . '" />' . "\n"; | |
echo "<!-- // end wpfbogp -->\n"; | |
} |
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
apt-get install apache2 libapache2-mod-php5 php5 php5-curl php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xmlrpc mysql-server mysql-client |
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
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf | |
/etc/init.d/apache2 reload |
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
# Reload / Load Mod Rewrite | |
a2enmod rewrite | |
service apache2 restart | |
# Editing php.ini | |
nano /etc/php5/apache2/php.ini | |
# We Edited These |
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
# Downloading WordPress and un-tar it | |
cd /var/www/ | |
wget --content-disposition http://wordpress.org/latest.tar.gz | |
# Or simply | |
wget http://wordpress.org/latest.tar.gz |
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
<div class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="navbar-inner"> | |
<div class="container-fluid"> | |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</a> | |
<a class="brand" href="#">Project name</a> | |
<div class="nav-collapse collapse"> |
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
http://maps.googleapis.com/maps/api/streetview?size=400x400&location=40.720032,%20-73.988354&sensor=false&key={API_KEY} |