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
/* start new bbpress */ | |
.bbp-topic-voice-count { | |
display: none; | |
} | |
.bbp-topic-reply-count { | |
color: #aaa; | |
font-size: 80%; | |
margin-right: 20px !important; | |
width: inherit !important; |
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
@media (max-width: 769px) { | |
.menu-toggle, | |
.main-navigation.toggled .main-nav > ul { | |
display: none; | |
} | |
.main-navigation ul li.sfHover > ul { | |
display: block; | |
} | |
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
add_filter( 'generate_post_author_output','tu_no_author_link' ); | |
function tu_no_author_link() { | |
printf( ' <span class="byline">%1$s</span>', | |
sprintf( '<span class="author vcard" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="author">%1$s <span class="fn n author-name" itemprop="name">%4$s</span></span>', | |
__( 'by','generatepress'), | |
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), | |
esc_attr( sprintf( __( 'View all posts by %s', 'generatepress' ), get_the_author() ) ), | |
esc_html( get_the_author() ) | |
) | |
); |
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
@media( max-width: 768px ) { | |
.site-header, | |
#site-navigation, | |
#sticky-navigation { | |
display: none !important; | |
opacity: 0; | |
} | |
#mobile-header { | |
display: block !important; |
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
if ( ! function_exists( 'generate_header_items' ) ) : | |
/** | |
* Build the header | |
* | |
* Wrapping this into a function allows us to customize the order in a child theme | |
* | |
* @since 1.2.9.7 | |
*/ | |
function generate_header_items() | |
{ |
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
add_action( 'customize_register', function( $wp_customize ) { | |
// Remove default sections | |
$wp_customize->remove_section('generate_colors_section'); | |
$wp_customize->remove_section('generate_typography_section'); | |
$wp_customize->remove_panel('generate_layout_panel'); | |
// Remove Menu Plus section. | |
$wp_customize->remove_panel('generate_menu_plus'); | |
// Remove Generate Backgrounds section |
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
add_action( 'wp', function() { | |
add_filter( 'body_class', function( $classes ) { | |
if ( function_exists( 'elementor_location_exits' ) && elementor_location_exits( 'archive', true ) ) { | |
$classes[] = 'full-width-content'; | |
} | |
return $classes; | |
} ); | |
} ); |
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
add_action( 'admin_init', 'tu_remove_google_fonts' ); | |
function tu_remove_google_fonts() { | |
add_filter( 'generate_google_fonts_array', '__return_false' ); | |
} |
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
#bbpress-forums, | |
div.bbp-breadcrumb, | |
div.bbp-topic-tags, | |
#bbpress-forums ul.bbp-lead-topic, | |
#bbpress-forums ul.bbp-topics, | |
#bbpress-forums ul.bbp-forums, | |
#bbpress-forums ul.bbp-replies, | |
#bbpress-forums ul.bbp-search-results, | |
#bbpress-forums li.bbp-body ul.forum, | |
#bbpress-forums li.bbp-body ul.topic { |
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
if ( ! function_exists( 'generate_entry_meta' ) ) : | |
/** | |
* Prints HTML with meta information for the categories, tags. | |
* | |
* @since 1.2.5 | |
*/ | |
function generate_entry_meta() | |
{ | |
$categories = apply_filters( 'generate_show_categories', true ); | |
$tags = apply_filters( 'generate_show_tags', true ); |
NewerOlder