I hereby claim:
- I am jonbellah on github.
- I am jonbellah (https://keybase.io/jonbellah) on keybase.
- I have a public key ASCPMyKtVVyosB5WWo43a8GV7FNt3he1jY5TH5Qjs1H7QAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
::-webkit-input-placeholder { /* WebKit browsers */ | |
color: #3498db; | |
} | |
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
color: #3498db; | |
opacity: 1; | |
} | |
::-moz-placeholder { /* Mozilla Firefox 19+ */ | |
color: #3498db; | |
opacity: 1; |
body { | |
background: url(image3.png) 10px 10px no-repeat, /* On top, like z-index: 3; */ | |
url(image2.png) 10px 10px no-repeat, /* like z-index: 2; */ | |
url(image1.png); /* On bottom, like z-index: 1; */ | |
} |
<header id="masthead" class="site-header navbar" role="banner" itemscope="itemscope" itemtype="http://schema.org/WPHeader"> | |
<div class="container"> | |
<div class="row"> | |
<div class="navbar-header"> | |
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="navbar-brand"><?php bloginfo( 'name' ); ?></a> | |
</div> | |
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | |
<?php /* Primary navigation */ | |
wp_nav_menu( array( |
// Register Bootstrap Navigation Walker | |
require get_template_directory_uri() . '/wp_bootstrap_navwalker.php'; |
/** | |
* Redirect non logged in users to the login page | |
*/ | |
if ( !is_user_logged_in() ) { | |
wp_redirect( wp_login_url() ); | |
exit; | |
} |
function my_custom_admin_styles() { | |
echo '<style type="text/css"> | |
.your-custom-css { | |
height: 300px; | |
overflow: scroll; | |
border: 1px solid #ddd; | |
padding: 15px;} | |
</style>'; | |
} | |
add_action('admin_head', 'my_custom_admin_styles'); |
function add_google_publisher_tag() { ?> | |
// Your <link rel="publisher"> tag | |
<?php } | |
add_action( 'wp_enqueue_scripts', 'add_google_publisher_tag' ); |
<nav id="navigation" class="site-navigation" role="navigation"> | |
<ul id="menu-primary" class="menu"> | |
<li class="menu-item"><a href="#">News</a></li> | |
<li class="menu-item"><a href="#">Snippets</a> | |
<ul class="dropdown"> | |
<li class="menu-item sub-menu"><a href="#">CSS</a></li> | |
<li class="menu-item sub-menu"><a href="#">HTML</a></li> | |
<li class="menu-item sub-menu"><a href="#">jQuery</a></li> | |
<li class="menu-item sub-menu"><a href="#">PHP</a></li> | |
<li class="menu-item sub-menu"><a href="#">WordPress</a></li> |
function theme_deregister_scripts() { | |
wp_deregister_script( 'jquery' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'theme_deregister_scripts' ); |