本文整理汇总了PHP中favicon函数的典型用法代码示例。如果您正苦于以下问题:PHP favicon函数的具体用法?PHP favicon怎么用?PHP favicon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了favicon函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
defined('BASEPATH') or exit('No direct script access allowed');
echo html_tag('lang="' . $this->lang->code() . '" dir="' . $this->lang->direction() . '"');
echo head_tag();
echo meta_charset();
echo base_href();
echo ie_edge();
template_title();
template_metadata();
echo viewport();
echo favicon();
echo apple_touch_icon_precomposed();
echo cleartype_ie();
echo '<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>';
echo ' <link href="../admin/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>';
// END GLOBAL MANDATORY STYLES -->
// BEGIN PAGE LEVEL STYLES -->
echo '<link rel="stylesheet" type="text/css" href="../admin/assets/global/plugins/select2/select2.css"/>';
echo '<link href="../admin/assets/global/plugins/jquery-file-upload/blueimp-gallery/blueimp-gallery.min.css" rel="stylesheet"/>';
echo '<link href="../admin/assets/global/plugins/jquery-file-upload/css/jquery.fileupload.css" rel="stylesheet"/>';
echo '<link href="../admin/assets/global/plugins/jquery-file-upload/css/jquery.fileupload-ui.css" rel="stylesheet"/>';
// END PAGE LEVEL SCRIPTS -->
// BEGIN THEME STYLES -->
echo '<link href="../admin/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>';
echo '<link id="style_color" href="../admin/assets/admin/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css"/>';
示例2: favicon_path
function favicon_path()
{
return favicon();
}
示例3: language_attributes
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<html <?php
language_attributes();
?>
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php
wp_title('|', true, 'right');
?>
</title>
<?php
favicon();
?>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php
echo get_template_directory_uri();
?>
/assets/css/font-awesome/font-awesome-ie7.min.css"><![endif]-->
<?php
facebookOpenGraphMeta();
global $jw_end;
$jw_start = $jw_end = '';
wp_head();
?>
</head>
<body <?php
body_class('loading');
示例4: html_favicon
public function html_favicon()
{
return favicon($this->get_attribute(0, 'favicon.ico'));
}
示例5: favicon
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.</p>
<p>Sed egestas, ante et vulputate volutpat, eros pede semper est, vitae luctus metus libero eu augue. Morbi purus libero, faucibus adipiscing, commodo quis, gravida id, est. Sed lectus. Praesent elementum hendrerit tortor. Sed semper lorem at felis. Vestibulum volutpat, lacus a ultrices sagittis, mi neque euismod dui, eu pulvinar nunc sapien ornare nisl. Phasellus pede arcu, dapibus eu, fermentum et, dapibus sed, urna.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.</p>
</div>
<div class="split-right">
<h3>Ahh… Lorem Ipsum…</h3>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.</p>
</div>
<div class="container-aside quiet">
<h4 class="loud">Share the Love</h4>
<span>
<?php
echo favicon("twitter.com/kennethreitz");
?>
</span>
<hr/>
<p>Sed egestas, ante et vulputate volutpat, eros pede semper est, vitae luctus metus libero eu augue. Morbi purus libero, faucibus adipiscing, commodo quis, gravida id, est. Sed lectus. Praesent elementum hendrerit tortor. Sed semper lorem at felis. Vestibulum volutpat, lacus a ultrices sagittis, mi neque euismod dui, eu pulvinar nunc sapien ornare nisl. Phasellus pede arcu, dapibus eu, fermentum et, dapibus sed, urna.</p>
<hr/>
<h4 class="loud">Lorem Ipsum</h4>
<p>Sed egestas, ante et vulputate volutpat, eros pede semper est, vitae luctus metus libero eu augue. Morbi purus libero, faucibus adipiscing, commodo quis, gravida id, est. Sed lectus. Praesent elementum hendrerit tortor. Sed semper lorem at felis. Vestibulum volutpat, lacus a ultrices sagittis, mi neque euismod dui, eu pulvinar nunc sapien ornare nisl. Phasellus pede arcu, dapibus eu, fermentum et, dapibus sed, urna.</p>
</div>
</div>
<!-- <?php
wp_tag_cloud('smallest=8&largest=22');
?>
-->