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
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; |
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
save to gist |
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 | |
$url = "http://www.youtube.com/watch?v=C4kxS1ksqtw&feature=relate"; | |
parse_str( parse_url( $url, PHP_URL_QUERY ), $my_array_of_vars ); | |
echo $my_array_of_vars['v']; | |
// Output: C4kxS1ksqtw | |
?> |
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
.bold { | |
font-weight: bold; | |
} |
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
#main .form-error { | |
border: 2px solid #FF2424 !important; | |
-moz-border-radius: 5px !important; | |
-webkit-border-radius: 5px !important; | |
} | |
#main .salsa_donate_info_left { | |
padding-right: 0; | |
margin-right: 30px; | |
} |
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 | |
function cdn_js() { | |
wp_deregister_script('jquery'); | |
wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js', FALSE, '1.7.2', FALSE); | |
wp_enqueue_script('jquery'); | |
} | |
add_action('wp_enqueue_scripts', 'cdn_js'); |
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
<tr> | |
<td class="icon"></td> | |
<td class="text">Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna.</td> | |
</tr> | |
<tr> | |
<td class="icon"></td> | |
<td class="text">Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollicitudin sapien justo in libero. Vestibulum mollis mauris enim. Morbi euismod magna.</td> | |
</tr> | |
<tr> | |
<td class="icon"></td> |
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
#site-wrapper { | |
position: relative; | |
overflow: hidden; | |
width: 100%; | |
} | |
#mobile-nav-button { | |
display: none; | |
} | |
#mobile-nav { | |
z-index: 800; |