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
/** | |
* Add CTA widget support for site. If widget not active, don't display | |
* Modified from http://www.carriedils.com/add-widget-area-below-nav/ | |
*/ | |
function mp_cta_genesis() { | |
// Don't display the CTA on the home page, since it's built into the MP theme | |
if ( is_home() || is_page('blog') || is_archive() ) { | |
return; | |
} |
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
//* Register widget areas | |
genesis_register_sidebar( array( | |
'id' => 'services-page-1', | |
'name' => __( 'Services Page 1', 'altitude' ), | |
'description' => __( 'This is the front page 1 section.', 'altitude' ), | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'services-page-2', | |
'name' => __( 'Services Page 2', 'altitude' ), |
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 ( ! isset( $content_width ) ) | |
$content_width = 1200; |
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
//* Enqueue scripts and styles | |
add_action( 'wp_enqueue_scripts', 'studio_issa_enqueue_scripts_styles' ); | |
function studio_issa_enqueue_scripts_styles() { | |
wp_enqueue_script( 'pagefade', get_bloginfo( 'stylesheet_directory' ) . '/js/page-fade.js', array( 'jquery' ), '1.0.0' ); | |
wp_enqueue_script( 'wow-js', get_bloginfo( 'stylesheet_directory' ) . '/js/wow.min.js', array( 'jquery' ), '1.0.0' ); | |
wp_enqueue_script( 'wow-js-init', get_bloginfo( 'stylesheet_directory' ) . '/js/wow-init.js', array( 'jquery' ), '1.0.0' ); | |
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' ); | |
wp_enqueue_style( 'animate-css', get_bloginfo( 'stylesheet_directory' ) . '/css/animate.css', array(), CHILD_THEME_VERSION ); |
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
{"version":"1.1","identifier":"post-2873","language":"en","title":"Mohammad Zaza","documentStyle":{"backgroundColor":"#FFFFFF"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Mohammad Zaza","textStyle":"default-title"},{"role":"container","layout":"headerContainerLayout","style":{"fill":{"type":"image","URL":"http:\/\/surrealismtoday.com\/wp-content\/uploads\/2016\/04\/Solo-II-Istanbul-Mohammad-Zaza.jpeg","fillMode":"cover"}},"behavior":{"type":"background_parallax"}},{"role":"byline","text":"by Jay Gidwitz | May 1, 2016 | 7:01 AM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"Mohammad Zaza, Syrian artist, was born in Riyadh in 1987. Growing up in an artistic family, he started drawing and painting at an early age. After completing high school in Saudi Arabia, he moved to Syria in 2006 to study at the faculty of Fine Arts in Aleppo University. He held his first solo exhibition in 2008 and, after his graduation in 2010, was app |
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
{"status":"ok","post":{"id":2544,"type":"post","slug":"nicola-samori","url":"http:\/\/surrealismtoday.com\/nicola-samori\/","status":"publish","title":"Nicola Samori Contemporary Painting","title_plain":"Nicola Samori Contemporary Painting","content":"<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"700\" data-carousel-extra='{"blog_id":1,"permalink":"http:\\\/\\\/surrealismtoday.com\\\/nicola-samori\\\/","likes_blog_id":37893431}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 700px; height: 201px;\" data-original-width=\"700\" data-original-height=\"201\" > <div class=\"gallery-group images-1\" style=\"width: 200px; height: 201px;\" data-original-width=\"200\" data-original-height=\"201\" > <div class=\"tiled-gallery-item tiled-gallery-item-small\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"http:\/\/surrealismtoday.com\/ |
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
<h1 class="aligncenter purple" >What Our Clients Say</h1> | |
<section id="featuredQuote"> | |
<blockquote> | |
Stewart is like a great chef who uses a few simple ingredients but who's recipe comes out tasting better than you thought it could. I feel lucky that he teaches at the AS220 Community Darkroom. | |
</blockquote> | |
<cite> | |
Scott Lapham / Photo Coordinator AS220 Youth Program <br> | |
www.as220.org<br> | |
</cite> |
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
/* # Pricing Table | |
---------------------------------------------------------------------------------------------------- */ | |
.ptp-dg6-row-id-4, | |
#ptp-154 div.ptp-dg6-bullet-item:nth-of-type(5) { | |
background-color: white; | |
} | |
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
idleTimer = null; | |
idleState = false; | |
idleWait = 2000; | |
(function ($) { | |
$(document).ready(function () { | |
$('*').bind('mousemove keydown scroll', function () { | |
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
add_filter( 'genesis_pre_get_option_site_layout', 'change_layout_blog_genesis'); | |
function change_layout_blog_genesis( $opt ) { | |
if (is_single() || is_page_template( 'page_blog.php' ) ) { | |
$opt = 'content-sidebar'; | |
return $opt; | |
} | |
} |