Skip to content
View button.html
<a href="http://example.com">Sign Up Now</a>
View checkmark.html
<ul class="checkmark">
<li>You miss 100 percent of the shots you never take</li>
<li>You can do anything, but not everything</li>
<li>Always forgive your enemies; nothing annoys them so much</li>
</ul>
View class-wp-widget-tag-list.php
<?php
/**
* Widget API: WP_Widget_Tag_List class
* @link http://wpsites.net/wordpress-tips/display-list-of-tags/
* @package WordPress
* @subpackage Widgets
* @since 4.4.0
*/
/**
View functions.php
add_filter( 'wp_nav_menu_items', 'nav_menu_search', 10, 2 );
function nav_menu_search( $menu, $args ) {
if ( 'primary' !== $args->theme_location )
return $menu;
ob_start();
get_search_form();
$search = ob_get_clean();
$menu .= '<li class="right search">' . $search . '</li>';
View header.php
<?php if ( ! is_front_page() || get_query_var( 'paged' ) >= 2 )
return;
if ( function_exists( 'soliloquy' ) ) { soliloquy( '728' ); } ?>
View functions.php
add_action( 'genesis_before_content_sidebar_wrap', 'eddie_homepage_image' );
function eddie_homepage_image() {
if( is_front_page() || is_home() ) {
echo "<img src="https://xxxxxxxx/_/uploads/2015/11/test.png" />";
}
}
View embed.html
[embed width="720" height=""]http://wp.me/p1lTu0-ggv[/embed]
View functions.php
<?php
//* Load genesis init file
include_once( get_template_directory() . '/lib/init.php' );
//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', 'Genesis Child Theme' );
define( 'CHILD_THEME_URL', 'http://example.com' );
define( 'CHILD_THEME_VERSION', '1.0.0' );
View genesis-lib-functions-options.php
/**
* Echo data from a post or page custom field.
*
* Echo only the first value of custom field.
*
* Pass in a `printf()` pattern as the second parameter and have that wrap around the value, if the value is not falsy.
*
* @since 0.1.3
*
* @uses genesis_get_custom_field() Return custom field post meta data.
View genesis-lib-functions-options.php
/**
* Save post meta / custom field data for a post or page.
*
* It verifies the nonce, then checks we're not doing autosave, ajax or a future post request. It then checks the
* current user's permissions, before finally* either updating the post meta, or deleting the field if the value was not
* truthy.
*
* By passing an array of fields => values from the same metabox (and therefore same nonce) into the $data argument,
* repeated checks against the nonce, request and permissions are avoided.
*
Something went wrong with that request. Please try again.