Skip to content

Instantly share code, notes, and snippets.

View wilransz's full-sized avatar

Wil Ransz wilransz

View GitHub Profile
/*
Theme Name: Twenty Fourteen Child
Template: twentyfourteen
*/
@import url(../twentyfourteen/style.css);
@import url(http://fonts.googleapis.com/css?family=Raleway:400,700);
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
<?php
/* Google Web Fonts */
function wpzaken_google_fonts() {
echo "<link href='http://fonts.googleapis.com/css?family=Raleway:400,700' rel='stylesheet' type='text/css'>";
}
add_action( 'wp_head', 'wpzaken_google_fonts', 5);
function webpoli_admin_menu() {
global $wp_admin_bar;
$menu_id = 'webpoli';
$wp_admin_bar->add_menu(array(
'id' => $menu_id,
'title' => __('Mijn Menu'),
'href' => '#'));
$wp_admin_bar->add_menu(array(
'parent' => $menu_id,
'title' => __('Concepten'), 'id' =>