This file contains hidden or 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 | |
$thisPage = $_SERVER["REQUEST_URI"]; | |
function get_page_name ( $page ) | |
{ | |
$array = explode( "/", $page ); | |
for ( $i = 0; $i < count( $array ); $i++ ) | |
{ | |
$name = $array[ $i ]; | |
} |
This file contains hidden or 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 url(http://fonts.googleapis.com/css?family=Open+Sans:400,700); | |
body, | |
h1, | |
h2, | |
h2 a, | |
h2 a:visited, | |
h3, | |
h4, |
This file contains hidden or 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
$("#submit").click(function() { | |
$.post("add.php", $("#addform").serialize()); | |
}); |
This file contains hidden or 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_action( 'genesis_after_header', 'sf_featured_slideshow' ); | |
/** | |
* Add slide show widget area after the header. | |
* | |
* @author Sure Fire Web Services | |
* @link http://surefirewebservices.com/?p=1542 | |
* | |
* @return Return null if not the homepage post. | |
*/ |
This file contains hidden or 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
if ($gs_theme_support_functions['three']) { | |
$gs_structural_wrap = of_get_option('gs_structural_wraps', 'none' ); | |
add_theme_support( 'genesis-structural-wraps', array_keys($gs_structural_wrap, 1) ); | |
} |
NewerOlder