Code Syntax Highlighter

HTML

 

<div class="menu-right">
<div class="search-panel pull-right">

&nbsp;
<div id="classic-search-wrapper"><form id="searchform" action="http://www.2035themes.com/blogy" method="get"><input id="s" class="s-input" name="s" required="" type="search" placeholder="Enter keywords" />
<input class="s-submit" type="submit" value="Search" /></form></div>
&nbsp;

</div>
<div id="navigation-menu" class="menu pull-right"><nav id="menu">
<ul id="nav" class="sf-menu">
	<li id="menu-item-22" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-22"><a href="http://www.2035themes.com/blogy/">Home</a></li>
	<li id="menu-item-23" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-23"><a href="http://www.2035themes.com/blogy/sample-page/">Sample Page</a></li>
	<li id="menu-item-90" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-90"><a href="http://www.2035themes.com/blogy/2014/09/08/its-new-generation-blog/">Single Post</a>
<ul class="sub-menu">
	<li id="menu-item-91" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-91"><a href="http://www.2035themes.com/blogy/2014/09/08/its-new-generation-blog/">Parallax For Post</a></li>
	<li id="menu-item-92" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-92"><a href="http://www.2035themes.com/blogy/2014/09/08/modern-interface/">Full Width Image For Post</a></li>
	<li id="menu-item-93" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-93"><a href="http://www.2035themes.com/blogy/2014/09/08/ornare-sit-more/">Post Width Right Sidebar</a></li>
	<li id="menu-item-94" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-94"><a href="http://www.2035themes.com/blogy/2014/09/08/ornare-sit-more/">Post Width Left Sidebar</a></li>
	<li id="menu-item-95" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-95"><a href="http://www.2035themes.com/blogy/2014/09/08/ornare-sit-more/">Post Width Left and Right Sidebar</a></li>
</ul>
</li>
</ul>
</nav></div>
</div>

CSS

 

ddress {
font-style: italic;
margin-bottom: 24px;
}

abbr[title] {
border-bottom: 1px dotted #2b2b2b;
cursor: help;
}

b,
strong {
font-weight: 700;
}

cite {
border: 0;
}

cite,
dfn,
em,
i {
font-style: italic;
}

mark,
ins {
background: #fff9c0;
border: 0;
color: inherit;
text-decoration: none;
}

p {
margin: 0 0 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
font-family: monospace, serif;
font-size: 15px;
line-height: 1.6;
}

pre {
border: 1px solid rgba(0, 0, 0, 0.1);
margin-bottom: 24px;
max-width: 100%;
overflow: auto;
padding: 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}

 

JAVASCRIPT

 

function( $ ) {
var body = $( 'body' ),
_window = $( window );

// Enable menu toggle for small screens.
( function() {
var nav = $( '#primary-navigation' ), button, menu;
if ( ! nav ) {
return;
}

button = nav.find( '.menu-toggle' );
if ( ! button ) {
return;
}

// Hide button if menu is missing or empty.
menu = nav.find( '.nav-menu' );
if ( ! menu || ! menu.children().length ) {
button.hide();
return;
}

$( '.menu-toggle' ).on( 'click.twentyfourteen', function() {
nav.toggleClass( 'toggled-on' );
} );
} )();

 

PHP

 

// Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying grabbing a new lock.
if ( empty( $doing_wp_cron ) ) {
if ( empty( $_GET[ 'doing_wp_cron' ] ) ) {
// Called from external script/job. Try setting a lock.
if ( $doing_cron_transient &amp;&amp; ( $doing_cron_transient + WP_CRON_LOCK_TIMEOUT &gt; $gmt_time ) )
return;
$doing_cron_transient = $doing_wp_cron = sprintf( '%.22F', microtime( true ) );
set_transient( 'doing_cron', $doing_wp_cron );
} else {
$doing_wp_cron = $_GET[ 'doing_wp_cron' ];
}
}
Comments

COMMENTS

LEAVE A REPLY

Your email address will not be published. Required fields are marked *