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
<?php | |
/** | |
* Set blog, index, archive & post thumbnail sizes | |
*/ | |
/* Blog */ | |
function wpt_blog_thumbnail_width( $width ) { | |
return 150; //blog thumbnail width in pixels | |
} | |
add_filter( 'et_pb_blog_image_width', 'wpt_blog_thumbnail_width'); |
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
<?php get_header(); ?> | |
<div id="main-content"> | |
<div class="container"> | |
<div id="content-area" class="clearfix"> | |
<div id="left-area"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php if (et_get_option('divi_integration_single_top') <> '' && et_get_option('divi_integrate_singletop_enable') == 'on') echo(et_get_option('divi_integration_single_top')); ?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class( 'et_pb_post' ); ?>> |
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
<?php | |
function remove_et_pb_blog() { | |
remove_shortcode( 'et_pb_blog', 'et_pb_blog' ); | |
add_shortcode( 'et_pb_blog', 'wpt_pb_blog' ); | |
} | |
add_action( 'init', 'remove_et_pb_blog' ); | |
function wpt_pb_blog( $atts ) { | |
extract( shortcode_atts( array( |
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
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* Subscribe / Connect */ | |
/*-----------------------------------------------------------------------------------*/ | |
if (!function_exists('woo_subscribe_connect')) { | |
function woo_subscribe_connect($widget = 'false', $title = '', $form = '', $social = '') { | |
//Setup default variables, overriding them if the "Theme Options" have been saved. |