Skip to content

Commit

Permalink
Setting up functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertDD committed Apr 6, 2012
1 parent cd19fd9 commit 99a0aff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php defined('ABSPATH') or exit;

// Include awesomeness
include TEMPLATEPATH.'/functions/admin.php';
10 changes: 10 additions & 0 deletions functions/admin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

// Admin stuff and styles
add_action('admin_head', 'zt_admin_head');
add_action('login_head', 'zt_admin_head');
function zt_admin_head()
{
echo '<link rel="shortcut icon" href="'.get_bloginfo('template_url').'/images/favicon.ico">';
echo '<link rel="stylesheet" href="'.get_bloginfo('template_url').'/css/admin.css">';
}

0 comments on commit 99a0aff

Please sign in to comment.