Skip to content

Instantly share code, notes, and snippets.

View ericalli's full-sized avatar
🎯
Focusing on @getsiimple

Eric Alli ericalli

🎯
Focusing on @getsiimple
View GitHub Profile
[column size="two_third" is_last="false"]
[t2t_slitslider posts_to_show="-1" width="fixed" autoplay="false" interval="5" controls_color="dark"]
[/column]
[column size="one_third" is_last="true"]
IMAGE GOES HERE
function file_get_contents_curl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
div#tiles ul li {
opacity: 1.0;
-moz-opacity: 1.0;
filter:alpha(opacity=100);
}
Find this:
function toggleTile(tile) {
$("div#tiles ul li").each(function() {
if($(this).attr("id") == $(tile).attr("id")) {
$(tile).stop(true, true).fadeTo("slow", 1.0);
} else {
$(this).stop(true, true).fadeTo("slow", 0.5);
}
});
$(document).ready(function() {
$("a[rel='dinner-menu']").trigger("click");
});
[social_icons]
[social_icon site="facebook"]
[social_icon site="twitter"]
[social_icon site="flickr"]
[/social_icons]
div#header .logo { margin: 0 auto 35px auto; }
div#content_wrap ul {
list-style: disc;
padding-left: 15px;
color: #7d7d7d;
line-height: 21px;
font-size: 13px;
margin-bottom: 25px;
}
<iframe width="195" height="291" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
[contact_form contact_email="you@youremail.com"]