View category.php
<?php
/**
* @author Brad Dalton
* @link https://wp.me/p1lTu0-htJ
*/
remove_action( 'genesis_entry_header', 'genesis_do_post_image', 8 );
genesis();
View front-page.php
<?php
/**
* @author Brad Dalton
* @link https://wp.me/p1lTu0-hs5
*/
add_action( 'genesis_meta', 'ns_front_page_genesis_meta' );
function ns_front_page_genesis_meta() {
View front-page.php
<?php
/**
* This file adds the Newsletter page template to the No Sidebar Pro Theme.
*
* @author StudioPress
* @package No Sidebar Pro Theme
* @subpackage Customizations
*/
View cf1.html
<div id="front-page-1" class="front-page-1"><div class="flexible-widgets widget-area widget-odd no-bg"><div class="wrap"><section id="text-34" class="widget widget_text"><div class="widget-wrap"><h3 class="widgettitle widget-title">Unique Text Here</h3>
<div class="textwidget"><p>All the resources, training and support you need to run<br>
your dream online business </p>
</div>
</div></section>
</div></div></div>
View functions.php
add_action( 'genesis_entry_content', 'add_button_after_archive_entry', 15 );
function add_button_after_archive_entry() {
if ( ! is_single() && genesis_get_custom_field( 'link' ) )
printf( '<a class="button" href="%s">' . __( 'Buy Now' ) . '</a>', genesis_get_custom_field( 'link' ) );
}
View functions.php
add_action( 'genesis_entry_header', 'disclosure', 12 );
function disclosure() {
if ( is_singular( 'post' ) ) {
printf( '<p><a href="%s">' . __( 'Click here to read the affiliate disclosure statement.' ) . '</a></p>', __( 'http://example.com' ) );
}
}
View functions.php
add_action( 'genesis_entry_header', 'affiliate_disclosure', 12 );
function affiliate_disclosure() {
if ( is_singular( 'post' ) ) :
echo 'Hello World';
endif;
}
View category-news.php
<?php
// Add Code From This Tutorial https://wpsites.net/web-design/display-posts-in-columns-on-genesis-archive-pages/ Here
genesis();
View functions.php
add_filter( 'body_class', 'slug_body_class' );
function slug_body_class( $classes ) {
$body_class = 'custom-body-class';
$ternary = strpos($_SERVER['REQUEST_URI'], 'test-slug' ) ? $body_class : '';
$classes[] = $ternary;
return $classes;
View functions.php
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
$post_info = 'by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}