This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row maps"> | |
<div class="col-md-12" id="map-canvas"> | |
</div> | |
</div> | |
<!-- Google Maps --> | |
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="youtube-mychannel"> | |
<ul id="results"></ul> | |
</div> | |
<style> | |
#youtube-mychannel ul { | |
width:100%; | |
} | |
#youtube-mychannel ul li{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//example | |
function add_custom_stock_type() { | |
?> | |
<script type="text/javascript"> | |
jQuery(function(){ | |
jQuery('._stock_status_field').not('.custom-stock-status').remove(); | |
}); | |
</script> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function video_dp_shortcode( $atts ) { | |
extract( shortcode_atts( | |
array( | |
'poster' => NULL, | |
'mp4' => NULL, | |
'ogg' => NULL, | |
'webm' => NULL, | |
), $atts ) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $any = get_posts( 'post_type[]=post&post_type[]=portfolio' ); ?> | |
<?php foreach(array_slice($any, 0, 3) as $a): ?> | |
<?php endforeach ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
/* IE10+ specific styles go here */ | |
.example { | |
overflow: visible !important; | |
} | |
} | |
@supports (-ms-accelerator:true) { | |
/* Edge */ | |
} | |
@supports (-ms-ime-align:auto) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* example */ | |
ul li{ | |
list-style:none; | |
text-indent: -1.5em; | |
padding-left: 3em; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getFeed($feed_url, $limit) { | |
$content = file_get_contents($feed_url); | |
$x = new SimpleXmlElement($content); | |
echo "<ul>"; | |
$count = $limit; | |
foreach($x->channel->item as $entry) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bg:before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
background-color: rgba(0,0,0,0.3); | |
} |
OlderNewer