Plugin Directory

Changeset 2016834


Ignore:
Timestamp:
01/22/2019 11:05:34 AM (7 years ago)
Author:
nikolam
Message:

Add support for ExodosWP

Location:
sermon-manager-for-wordpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sermon-manager-for-wordpress/trunk/readme.txt

    r2016092 r2016834  
    127127* New: Add support for Dunamis theme
    128128* New: Add support for TwentyNineteen
     129* New: Add support for ExodosWP
    129130* Change: Add WordPress author metabox
    130131* Fix: Service Type not saving in quick edit
  • sermon-manager-for-wordpress/trunk/views/archive-wpfc_sermon.php

    r2013333 r2016834  
    4242        elseif ( function_exists( 'twentynineteen_the_posts_navigation' ) ) :
    4343            twentynineteen_the_posts_navigation();
     44        elseif ( function_exists( 'exodoswp_pagination' ) ) :
     45            echo '<div class="modeltheme-pagination-holder col-md-12"><div class="modeltheme-pagination pagination">';
     46            exodoswp_pagination();
     47            echo '</div></div>';
    4448        else :
    4549            the_posts_pagination();
  • sermon-manager-for-wordpress/trunk/views/partials/content-sermon-wrapper-end.php

    r2013333 r2016834  
    128128        echo '</div></div>';
    129129        break;
     130    case 'exodoswp':
     131        echo '</div></div></div></div>';
     132        break;
    130133    default:
    131134        if ( SM_OB_ENABLED ) {
  • sermon-manager-for-wordpress/trunk/views/partials/content-sermon-wrapper-start.php

    r2013333 r2016834  
    119119
    120120        break;
     121    case 'exodoswp':
     122        if ( function_exists( 'exodoswp_redux' ) ) {
     123            $class = '';
     124            if ( exodoswp_redux( 'mt_blog_layout' ) == 'mt_blog_fullwidth' ) {
     125                $class = 'vc_row';
     126            } elseif ( exodoswp_redux( 'mt_blog_layout' ) == 'mt_blog_right_sidebar' or exodoswp_redux( 'mt_blog_layout' ) == 'mt_blog_left_sidebar' ) {
     127                $class = 'vc_col-md-9';
     128            }
     129            $sidebar = exodoswp_redux( 'mt_blog_layout_sidebar' );
     130        }
     131        echo '<div class="high-padding"><div class="container blog-posts"><div class="vc_row"><div class="col-md-12 main-content">';
     132        break;
    121133    default:
    122134        echo apply_filters( 'sm_templates_wrapper_start', '<div class="wrap"><div id="primary" class="content-area"><main id="main" class="site-main wpfc-sermon-container ' . $additional_classes . '">' );
Note: See TracChangeset for help on using the changeset viewer.