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
/* Set the alignment of the Genesis Simple Share Icons | |
-------------------------------------------------------- */ | |
.sharre-icon-wrap { | |
margin: 20px 0; | |
text-align: center; | |
} |
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
/** | |
* Exclude users from BuddyPress members list. | |
* | |
* @param array $args args. | |
* | |
* @return array | |
*/ | |
function buddydev_exclude_users( $args ) { | |
// do not exclude in admin. | |
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { |
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 | |
/** | |
* Custom Simply Pro Landing Page | |
* | |
* This file adds the custom landing page template to the Simply Pro Theme. | |
* | |
* Template Name: Landing | |
* | |
* @package Simply Pro | |
* @author Cre8tive Diva |
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
/* Make Full Width Content 800px or 75% on Desktop Only */ | |
.full-width-content .content { | |
width: 70%; | |
margin: 0 auto; | |
float: none; | |
} | |
/* Return Full Width Content to 100% on Media Query 840px */ | |
@media only screen and (max-width: 840px) { | |
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 | |
/** | |
* Genesis Framework. | |
* | |
* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. | |
* Please do all modifications in the form of a child theme. | |
* | |
* Template Name: Archive | |
* | |
* @package Genesis\Templates |
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
//* Add a full width widget area before footer widgets in Magazine Pro | |
genesis_register_sidebar( array( | |
'id' => 'before-footer-widgets', | |
'name' => __( 'Before Footer Widgets', 'genesis' ), | |
'description' => __( 'This is the before footer widget.', 'themename' ), | |
) ); | |
add_action( 'genesis_before_footer', 'c8d_before_footer_widget', 3 ); | |
function c8d_before_footer_widget() { | |
genesis_widget_area( 'before-footer-widgets', array( | |
'before' => '<div class="before-footer-widgets widget-area">', |
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
// Display one category on the home page | |
function c8d_display_one_category_home( $query ) { | |
if ( $query->is_home() && $query->is_main_query() ) { | |
$query->set( 'cat', 'ENTER YOUR CATEGORY ID NUMBER HERE' ); | |
} | |
} | |
add_action( 'pre_get_posts', 'c8d_display_one_category_home' ); |
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
/* Essence Pro Archive Posts Side by Side like Blog Page | |
---------------------------------------------------------------------------------------------------- */ | |
.archive .content { | |
max-width: none; | |
width: 100%; | |
} | |
.archive .content .entry { | |
float: left; |