1
0
mirror of https://github.com/kremalicious/krtmn.git synced 2024-12-21 16:53:27 +01:00

touch icons added

This commit is contained in:
Matthias Kretschmann 2012-02-27 04:41:06 +01:00
parent 08d2c92841
commit 933f8f4a15
4 changed files with 51 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,51 @@
<?php
/*
Plugin Name: My Own Stuff
Plugin URI: http://mkretschmann.com
Description: modify title, custom css file
Version: 0.1
Author: kremalicious
Author URI: http://mkretschmann.com
*/
if( !defined( 'YOURLS_ABSPATH' ) ) die();
// modify the <title> of pages in the admin area
yourls_add_filter( 'html_title', 'krtmn_change_title' );
function krtmn_change_title( $value, $title ) {
$value = $title.' | krt.mn';
return $value;
}
// modify admin logo
//yourls_add_action( 'html_logo', 'krtmn_logo' );
//
//function krtmn_logo() {
// echo '<li><a href="http://ozh.org/">hello</a></li>';
//}
// custom css
yourls_add_action( 'html_head', 'krtmn_css' );
function krtmn_css() {
echo '<link rel="stylesheet" href="/user/css/krtmn.css" />';
}
// favicon & touch icons
yourls_add_action( 'html_head', 'krtmn_touch_icons' );
function krtmn_touch_icons() {
echo '<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72-precomposed.png">
<link rel="shortcut icon" href="/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="/favicon.ico">';
}
?>