This file contains 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
<table class="container"><!--start of container--> | |
<tr> | |
<td> | |
<table class="row"> | |
<tr> | |
<td class="wrapper last"> | |
<table class="twelve columns"> | |
<tr> | |
<td> | |
content in here |
This file contains 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
/* Responsive Navigation | |
---------------------------------------------------------------------------------------------------- */ | |
/* Standard Navigation | |
--------------------------------------------- */ | |
nav { | |
clear: both; | |
} |
This file contains 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 | |
//Add in new Header Right area | |
function cgp_extra_widgets() { | |
genesis_register_sidebar( array( | |
'id' => 'HeaderRight2', | |
'name' => __( 'headerright2', 'genesischild' ), | |
'description' => __( 'This is the Header Right2 Position', 'genesischild' ), | |
) ); | |
} |
This file contains 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 | |
// args | |
$args = array( | |
'cat' => 14, | |
'numberposts' => -1 | |
); | |
// get results | |
$the_query = new WP_Query( $args ); | |
// The Loop | |
?> |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Create an FAQ Page with Show and Hide Questions and Answers using jQuery</title> | |
<!-- jQuery --> | |
<script type="text/javascript" src="//code.jquery.com/jquery-3.6.0.min.js"></script> | |
<script> |
This file contains 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 | |
function genesischild_favicon( $favicon_url ) { | |
return '/favicon.ico'; | |
} | |
add_filter( 'genesis_pre_load_favicon', 'genesischild_favicon' ); |
This file contains 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
jQuery(document).ready(function($) { | |
// Create an array of images that you'd like to use | |
var images = [ | |
'http://example.com/bg-home1.jpg', | |
'http://example.com/bg-home2.jpg', | |
'http://example.com/bg-home3.jpg' | |
]; | |
// Get a random number between 0 and the number of images |