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 | |
/** | |
* Handles display of 404 page not found errors. | |
* | |
* Custom 404 page not found error template. Exclude Hidden Pages From 404 Page Not Found Error Page. | |
* | |
* @category Genesis | |
* @package Templates | |
* @author Brad Dalton | |
* @link http://wpsites.net/web-design/add-content-404-page-genesis/ |
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
/** | |
* Add CTA widget support for site. If widget not active, don't display | |
* | |
*/ | |
function mp_cta_genesis() { | |
// Don't display the CTA on the home page, since it's built into the MP theme | |
if ( is_home() ) { | |
return; | |
} |
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
define( 'CHILD_THEME_VERSION', filemtime( get_stylesheet_directory() . '/style.css' ) ); |
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 | |
//* Require Child Theme Functions | |
require_once( CHILD_DIR . '/lib/theme-js.php' ); | |
add_action( 'genesis_header_right', 'prefix_mobile_menu_toggle', 5 ); | |
/** | |
* Add a mobile menu toggle element | |
* to expand and collapse a mobile menu. | |
* | |
* @author FAT Media |
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_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 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Can’t Hug Every Cat</title> | |
<style> | |
body { | |
font: 1em/1.5 Cambria, Georgia, serif; | |
margin: 0 5%; |
NewerOlder