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
// Page with multiple items called for as articles. | |
<article class="landing-blog"> | |
<section class="blog-list"> | |
<article>1st Blog Post</article> | |
<article>2nd Blog Post</article> | |
<article>3rd Blog Post</article> | |
</section> | |
</article> | |
// Page with multiple items called for as a list. |
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
Headers | |
------------------ | |
- splash | |
- banner | |
- hero | |
- feature | |
- leader | |
Containers | |
------------------ |
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
<meta property="og:locale" content="en_US"> | |
<meta property="og:type" content="website"> | |
<meta property="og:title" content="Site Name"> | |
<meta property="og:description" content="Site Descriptions"> | |
<meta property="og:url" content="Site URL"> | |
<meta property="og:site_name" content="Site Name"> | |
<meta property="article:publisher" content="https://www.facebook.com/FB_Page_Slug"> | |
<meta property="og:image" content="FB Share Photo URL"> | |
<meta name="twitter:card" content="summary"> | |
<meta name="twitter:description" content="Site Description"> |
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
// Magnific lightbox settings | |
$('.ign-popup').magnificPopup({ | |
type: 'inline', | |
preloader: false, | |
removalDelay: 500, | |
callbacks: { | |
beforeOpen: function() { | |
this.st.mainClass = this.st.el.attr('data-effect'); | |
} | |
}, |
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
.container { | |
width: calc(100% + 20px) /* take the pixel value that you want to increase by*/ | |
margin-left: -10px; | |
margin-rgiht: -10px; | |
} |
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
//================================= | |
// FORMSTONE - SELECTER | |
//================================= | |
.selecter { | |
display: block; | |
margin-right: 6px; | |
position: relative; | |
width: 100%; | |
float: left; |
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 | |
// get post ID | |
$pid = get_the_ID(); | |
// get our repeater | |
$repeater = get_post_meta( $pid, 'acf_repeater_slug', true ); | |
if( !empty($repeater) ) { | |
for( $i = 0; $i < $repeater; $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
<?php | |
// get post ID | |
$pid = get_the_ID(); | |
// acf field | |
$acf_field = get_post_meta( $pid, 'acf_field_slug', true ); |
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 | |
// get post ID | |
$pid = get_the_ID(); | |
$flex_rows = get_post_meta( $pid, 'acf_flex_content', true ); | |
if ( !empty($flex_rows) ) { | |
foreach( $flex_rows as $count => $row ) { |