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 | |
/* | |
Template Name: Authors | |
*/ | |
get_header(); ?> | |
<div id="main-content" class="authors-page"> | |
<div class="container"> | |
<div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix"> | |
<div class="et_pb_extra_column_main"> |
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
/*! | |
* SmoothScroll for websites v1.2.1 | |
* Licensed under the terms of the MIT license. | |
* | |
* People involved | |
* - Balazs Galambosi (maintainer) | |
* - Michael Herf (Pulse Algorithm) | |
*/ | |
(function(){ |
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 | |
class Cu_ET_Builder_Module_Contact_Form extends ET_Builder_Module { | |
protected function _render_module_wrapper( $output = '', $render_slug = '' ) { | |
return $output; | |
} | |
function init() { | |
$this->name = esc_html__( 'Contact Form', 'et_builder' ); | |
$this->slug = 'et_pb_contact_form'; | |
$this->vb_support = 'off'; |
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
1 - Create a folder called module in the child theme folder. | |
2 - Duplicate the includes/builder/module/FilterablePortfolio.php file of the parent theme into this new created folder of the child theme. | |
3 - Open the FilterablePortfolio.php file in child theme and change the name of the class ET_Builder_Module_Filterable_Portfolio (line 3) to something else (ex: Cu_ET_Builder_Module_Filterable_Portfolio). | |
4 - Do the same with the last line: new Cu_ET_Builder_Module_Filterable_Portfolio; | |
5 - Add this code in the functions.php file of the child theme: | |
function filterable_module_setup() { | |
get_template_part( 'module/FilterablePortfolio' ); remove_shortcode( 'et_pb_filterable_portfolio' ); | |
add_shortcode( 'et_pb_filterable_portfolio', array( new Cu_ET_Builder_Module_Filterable_Portfolio(), '_shortcode_callback' ) ); | |
} |
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 | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
/** | |
* Plugin compatibility for Yoast SEO | |
* | |
* @since 3.0.76 (builder version) | |
* @link https://wordpress.org/plugins/wordpress-seo/ |
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 get_header(); ?> | |
<div id="main-content"> | |
<div class="container"> | |
<div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix"> | |
<div class="et_pb_extra_column_main"> | |
<?php | |
if ( have_posts() ) : | |
while ( have_posts() ) : the_post(); ?> | |
<?php | |
$et_pb_has_comments_module = has_shortcode( get_the_content(), 'et_pb_comments' ); |
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
/*! ET frontend-builder-scripts.js */ | |
(function($){ | |
var $et_window = $(window); | |
window.et_load_event_fired = false; | |
window.et_is_transparent_nav = $( 'body' ).hasClass( 'et_transparent_nav' ); | |
window.et_is_vertical_nav = $( 'body' ).hasClass( 'et_vertical_nav' ); | |
window.et_is_fixed_nav = $( 'body' ).hasClass( 'et_fixed_nav' ); | |
window.et_is_minified_js = $( 'body' ).hasClass( 'et_minified_js' ); | |
window.et_is_minified_css = $( 'body' ).hasClass( 'et_minified_css' ); |
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 | |
if ( ! function_exists( 'et_builder_should_load_framework' ) ) : | |
function et_builder_should_load_framework() { | |
global $pagenow; | |
// phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification | |
static $should_load = null; | |
if ( null !== $should_load ) { |
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
1 - Create a folder called module in the child theme folder. | |
2 - Duplicate the includes/builder/module/FilterablePortfolio.php file of the parent theme into this new created folder of the child theme. | |
3 - Open the FilterablePortfolio.php file in child theme and change the name of the class ET_Builder_Module_Filterable_Portfolio (line 3) to something else (ex: Cu_ET_Builder_Module_Filterable_Portfolio). | |
4 - Do the same with the last line: new Cu_ET_Builder_Module_Filterable_Portfolio; | |
5 - Add this code in the functions.php file of the child theme: | |
function filterable_module_setup() { | |
get_template_part( 'module/FilterablePortfolio' ); remove_shortcode( 'et_pb_filterable_portfolio' ); | |
add_shortcode( 'et_pb_filterable_portfolio', array( new Cu_ET_Builder_Module_Filterable_Portfolio(), '_shortcode_callback' ) ); | |
} |
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 | |
class ET_Builder_Module_Blurb extends ET_Builder_Module { | |
function init() { | |
$this->name = esc_html__( 'Blurb', 'et_builder' ); | |
$this->plural = esc_html__( 'Blurbs', 'et_builder' ); | |
$this->slug = 'et_pb_blurb'; | |
$this->vb_support = 'on'; | |
$this->main_css_element = '%%order_class%%.et_pb_blurb'; | |
$this->settings_modal_toggles = array( |