Skip to content

Instantly share code, notes, and snippets.

@Dualcon
Created April 27, 2018 23:30
Show Gist options
  • Select an option

  • Save Dualcon/5560eefd1fb6e6b6eb5b7657ee0546bc to your computer and use it in GitHub Desktop.

Select an option

Save Dualcon/5560eefd1fb6e6b6eb5b7657ee0546bc to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/text.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/960.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php
$bt_color_scheme = get_option('bt_color_scheme');
if($bt_color_scheme != null & $bt_color_scheme != 'default'){
?>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/<?php echo $bt_color_scheme;?>.css" type="text/css" media="screen" />
<?php } ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'<?php $bt_sharethis_key = get_option('bt_sharethis_key'); if($bt_sharethis_key != null){echo $bt_sharethis_key;}?>'});</script>
<?php $bt_css = get_option('bt_css'); if($bt_css != null){?>
<style>
<?php echo $bt_css;?>
</style>
<?php } ?>
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/config.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/swfobject.js"></script>
<link href="<?php bloginfo('template_url'); ?>/js/video-js/video-js.min.css" rel="stylesheet">
<script src="<?php bloginfo('template_url'); ?>/js/video-js/video.min.js"></script>
<script>
_V_.options.flash.swf = "<?php bloginfo('template_url'); ?>/js/video-js/video-js.swf";
//imgerror detect
function imgerror(source){
source.src = "<?php bloginfo('template_url'); ?><?php echo $thumb;?>";
source.onerror = "";
return true;
}
</script>
</head>
<body>
<div id="header">
<div class="container_12">
<div class="grid_7 alpha logo">
<a href="<?php echo get_option('home'); ?>/"><img src="<?php $bt_logo = get_option('bt_logo'); if($bt_logo != null){echo $bt_logo;} else {if($bt_color_scheme != null & $bt_color_scheme != 'default'){echo bloginfo("template_url").'/img/general/logo.png';} else echo bloginfo("template_url").'/img/logo.png';}?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a>
</div>
<div class="grid_5 omega">
<div class="intro">
<div class="hotlinks">
<?php wp_nav_menu( array(
'theme_location' => 'extra-links',
'fallback_cb' => 'extra_links_fallback'
)); ?>
<div class="clear"></div>
</div>
<div class="search">
<form method="get" id="searchform" action="/">
<input type="text" class="fl" name="s" value="" onclick="javascript:this.value=''"/>
<input type="submit" class="ssubmit fr" value="Search" />
<div class="clear"></div>
</form>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="content">
<div class="container_12">
<div class="grid_12 alpha">
<div class="topmenu">
<ul class="cats"><li><a href="">Categories</a>
<ul>
<?php $args = array(
'title_li' => ''
);
wp_list_categories( $args );
?>
</ul>
</li></ul>
<?php wp_nav_menu( array(
'container' => '',
'theme_location' => 'top-menu',
'fallback_cb' => 'topnav_fallback'
)); ?>
<div class="gplus"><span><?php $bt_gplus = get_option('bt_gplus'); if($bt_gplus != null){echo $bt_gplus;} else {?>Show us your love:<?php } ?></span> <g:plusone size="medium"></g:plusone></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment