View soliloquy-caption.html
<h1>Stylish & Modern</h1>
<p>Infinity Pro is the most beautiful theme ever created.</p>
<p><a class="soliloquy-button" href="http://example.com">Click Here to Learn More</a></p>
View functions.php
add_filter( 'post_password_required', 'logged_in_show_password_protected', 10, 2 );
function logged_in_show_password_protected( $returned, $post ) {
if ( $returned && is_user_logged_in() )
$returned = false;
return $returned;
}
View Top-banner-text.text
<div class="typewriter">Unlimited Time Offer - Try the course right now, <a href="http://example.com">FREE for 14 days</a>!</div>
View functions.php
add_action( 'genesis_before_footer', 'genesis_after_entry_widget_area_home' );
function genesis_after_entry_widget_area_home() {
if ( ! is_front_page() ) {
return;
}
genesis_widget_area( 'after-entry', array(
'before' => '<div class="after-entry widget-area">',
View header-functions.php
if ( $bg_image ) {
$output = '<style type="text/css">.header-hero { background-image: linear-gradient(0deg, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 100%), url(' . esc_url( $bg_image ) . '); }</style>';
}
View functions.php
add_action( 'genesis_before_footer', 'remove_before_footer_cta', 8 );
function remove_before_footer_cta() {
if ( is_page( 'contact' ) ) {
remove_action( 'genesis_before_footer', 'monochrome_before_footer_cta' );
}
}
View functions.php
add_filter( 'admin_bar_menu', 'replace_howdy', 25 );
function replace_howdy( $wp_admin_bar ) {
$my_account = $wp_admin_bar->get_node('my-account');
$newtitle = str_replace( 'Howdy,', 'Welcome,', $my_account->title );
$wp_admin_bar->add_node( array(
'id' => 'my-account',
'title' => $newtitle,
) );
}
View accordion.html
<div id="accordion">
<h3>Short Item 1</h3>
<div>
<p>This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.</p>
</div>
<h3>Long Item 2</h3>
<div>
<p>This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.</p>
View search.php
<?php
add_action( 'genesis_entry_content', 'your_function_name', 12 );
function your_function_name() {
$value = get_post_meta( get_the_ID(), 'custom', true );
if ( ! empty( $value ) ) {
echo '<div class="your-class">'. $value .'</div>';
View functions.php
// Doesn't work
add_filter( 'get_the_content_limit_allowedtags', 'get_the_content_limit_custom_allowedtags' );
function get_the_content_limit_custom_allowedtags() {
// Add custom tags to this string
return '<script>,<style>,<br>,<em>,<i>,<ul>,<ol>,<li>,<a>,<p>,<strong>';
}