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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
butler_add_action( 'init', 'canva_do_remove_page_comments_support' ); | |
function canva_do_remove_page_comments_support() { | |
remove_post_type_support( 'page', 'comments' ); | |
} |
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
<p>Azure Standard, Frontier Wholesale and Bountiful Baskets are some of our sources of organic or non-GMO foods.</p> | |
<p>We have been ordering bulk spices, herbs and tea from the Frontier co-op for several years.</p> | |
<h3>Azure Standard</h3> | |
<p>We recently started to pick up the monthly Azure Standard order for Lake Mead City / Meadview/ Dolan Springs.</p> | |
<p>Azure is located in Oregon and once a month they deliver via truck to Kingman (among many other stops). To see the prices you have to open a free account at https://www.azurestandard.com</p> |
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
/* Duke Admissions Example - Part 1 */ | |
.hwr-features-1 .hwr-feature-title span{ | |
display: block; | |
width: 64px; | |
height: 64px; | |
margin: 0 auto 10px auto; | |
} | |
.hwr-features-1 li.color1 h2 span { | |
background: #0D2E62; | |
} |
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
function is_blog () { | |
global $post; | |
$posttype = get_post_type($post ); | |
return ( ((is_archive()) || (is_author()) || (is_category()) || (is_home()) || (is_single()) || (is_tag())) && ( $posttype == 'post') ) ? true : false ; | |
} | |
Usage: | |
<?php if (is_blog()) { echo 'You are on a blog page'; } ?> |
NewerOlder