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
<input id="radio_id" type="radio" name="radio_name" value="radio_value" checked=""><label for="radio_id">Labeltext</label> | |
<select id="select_id" name="select_name" size="1"> | |
<option>Text</option> | |
</select> | |
<input type="submit" value="Submit" class="" /> |
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 | |
global $post; | |
if ( is_page() ) { | |
/* Get an array of Ancestors and Parents if they exist */ | |
$parents = get_post_ancestors( $post->ID ); | |
/* Get the top Level page->ID count base 1, array base 0 so -1 */ |
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
@import "my-icons/*.png"; | |
@include all-my-icons-sprites; |
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 hs_mailreplace($str) { | |
return preg_replace_callback ('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})^', | |
create_function ( | |
'$str', | |
'for ($i = 0; $i < strlen($str[0]); $i++) { | |
$result .= "&#" . ord(substr($str[0], $i, 1)) . ";"; | |
}; |
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
* { | |
margin: 0; | |
padding: 0; | |
} | |
html, body, #wrap { | |
height: 100%; | |
} | |
body > #wrap { |
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 | |
wp_nav_menu( array( | |
'theme_location' => 'homepage_navigation_left', | |
'container' => FALSE, | |
'echo' => true, | |
'before' => '', | |
'after' => '', | |
'link_before' => '', | |
'link_after' => '', |
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
RewriteBase / | |
# Copy HTTP Authorization header value to HTTP_AUTOHRIZATION server variable for use by script | |
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
# On live server, rewrite requests for URL-paths which do not resolve to specific | |
# physically-existing filetypes to my script, excluding the script's URL-path itself. | |
RewriteCond %{HTTP_HOST} !^localhost$ | |
RewriteCond $1 !^index\.php | |
RewriteCond %{REQUEST_FILENAME} !-f |
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
h1 { | |
background: url(image.gif); | |
height: 25px; | |
text-indent: -999em; | |
width: 250px; | |
overflow: hidden; | |
} |
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 | |
add_filter( 'wpcf7_form_class_attr', 'custom_custom_form_class_attr' ); | |
function custom_custom_form_class_attr( $class ) { | |
$class .= ' nice'; | |
return $class; | |
} | |
?> |
OlderNewer