Skip to content

Instantly share code, notes, and snippets.

@DalavanCloud
DalavanCloud / dynamik-promote-skin-demo-setup.php
Created March 7, 2019 01:59 — forked from cobaltapps/dynamik-promote-skin-demo-setup.php
Demo Setup Instructions and Content for the Dynamik Promote Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Promote Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@DalavanCloud
DalavanCloud / dynamik-commerce-skin-demo-setup.php
Created March 7, 2019 01:59 — forked from cobaltapps/dynamik-commerce-skin-demo-setup.php
Demo Setup Instructions and Content for the Dynamik Commerce Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Commerce Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the "Secondary Navigation Menu".
== BEGIN Widget Area Info ==
@DalavanCloud
DalavanCloud / dynamik-journal-skin-demo-setup.php
Created March 7, 2019 02:00 — forked from cobaltapps/dynamik-journal-skin-demo-setup.php
Demo Setup Instructions and Content for the Dynamik Journal Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Journal Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@DalavanCloud
DalavanCloud / dynamik-startup-skin-demo-setup.php
Created March 7, 2019 02:01 — forked from cobaltapps/dynamik-startup-skin-demo-setup.php
Demo Setup Instructions and Content for the Dynamik Startup Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Startup Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@DalavanCloud
DalavanCloud / dynamik-impress-skin-demo-setup.php
Created March 7, 2019 02:01 — forked from cobaltapps/dynamik-impress-skin-demo-setup.php
Demo Setup Instructions and Content for the Dynamik Impress Skin.
<?php
/**
* Below you will find all of the custom content used to
* create the demo site for the Dynamik Impress Skin.
*/
?>
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below.
== BEGIN Widget Area Info ==
@DalavanCloud
DalavanCloud / genesis-force-full-width-singular-layouts
Created March 7, 2019 02:02 — forked from cobaltapps/genesis-force-full-width-singular-layouts
Force full-width-content layout on single pages and posts, but not "blog" page.
add_action( 'get_header', 'custom_child_full_width_singular_layout');
// Force full-width-content layout on single pages and posts, but not "blog" page.
function custom_child_full_width_singular_layout() {
if ( ( is_page() || is_single() ) && ! is_page( 'blog' ) )
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
}
if ( ! function_exists( 'exif_imagetype' ) ) {
function exif_imagetype( $filename ) {
if ( ( list( $width, $height, $type, $attr ) = getimagesize( $filename ) ) !== false )
return $type;
return false;
}