4 footers instead of 3

Pending
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme March 21, 2020
Login to reply
Jerry Burns
4 years ago

Every time I open my website’s main page or home page, the comparison slide out happens for a section on the right. 

Igor Sunz Support Agent
4 years ago

Wp bakery can be used for the same functions because it generates
shortcodes directly. You can copy them when you switch to classic editor

сб, 21 мар. 2020 г., 18:43 Sizam Support Help Desk <
sizamtheme+o07mM1Rw5KRk4ZbxOYkr@mail.support-hub.io>:

Paul Durand
4 years ago

Hi again, 


I've found a solution (unless you have something better)


my solution : 



1) IN FOOTER.PHP REPLACE




<div class="rh-flex-eq-height col_wrap_three">

      <div class="footer_widget col_item">

       <?php if ( is_active_sidebar( 'footerfirst' ) ) : ?>

        <?php dynamic_sidebar( 'footerfirst' ); ?>

       <?php else : ?>

        <p><?php esc_html_e('No widgets added. You can disable footer widget area in theme options - footer options', 'rehub-theme'); ?></p>

       <?php endif; ?>

      </div>

      <div class="footer_widget col_item">

       <?php if ( is_active_sidebar( 'footersecond' ) ) : ?>

        <?php dynamic_sidebar( 'footersecond' ); ?>

       <?php endif; ?>

      </div>

      <div class="footer_widget col_item last">

       <?php if ( is_active_sidebar( 'footerthird' ) ) : ?>

        <?php dynamic_sidebar( 'footerthird' ); ?>

       <?php endif; ?>

      </div>




BY



<div class="rh-flex-eq-height col_wrap_fourth">

      <div class="footer_widget col_item">

       <?php if ( is_active_sidebar( 'footerfirst' ) ) : ?>

        <?php dynamic_sidebar( 'footerfirst' ); ?>

       <?php else : ?>

        <p><?php esc_html_e('No widgets added. You can disable footer widget area in theme options - footer options', 'rehub-theme'); ?></p>

       <?php endif; ?>

      </div>

      <div class="footer_widget col_item">

       <?php if ( is_active_sidebar( 'footersecond' ) ) : ?>

        <?php dynamic_sidebar( 'footersecond' ); ?>

       <?php endif; ?>

      </div>

      <div class="footer_widget col_item">

       <?php if ( is_active_sidebar( 'footerthird' ) ) : ?>

        <?php dynamic_sidebar( 'footerthird' ); ?>

       <?php endif; ?>

      </div>

      <div class="footer_widget col_item last">

       <?php if ( is_active_sidebar( 'footerfourth' ) ) : ?>

        <?php dynamic_sidebar( 'footerfourth' ); ?>

       <?php endif; ?>

      </div>





2) IN SIDEBAR_FUNCTIONS.PHP REPLACE




 register_sidebar(array(

  'id' => 'footerfirst',

  'name' => esc_html__('Footer 1', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

 ));

 register_sidebar(array(

  'id' => 'footersecond',

  'name' => esc_html__('Footer 2', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

 ));

 register_sidebar(array(

  'id' => 'footerthird',

  'name' => esc_html__('Footer 3', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget last %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',



BY



 register_sidebar(array(

  'id' => 'footerfirst',

  'name' => esc_html__('Footer 1', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

 ));

 register_sidebar(array(

  'id' => 'footersecond',

  'name' => esc_html__('Footer 2', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

 ));

 register_sidebar(array(

  'id' => 'footerthird',

  'name' => esc_html__('Footer 3', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

 ));

 register_sidebar(array(

  'id' => 'footerfourth',

  'name' => esc_html__('Footer 4', 'rehub-theme'),

  'before_widget' => '<div id="%1$s" class="widget last %2$s">',

  'after_widget' => '</div>',

  'before_title' => '<div class="title">',

  'after_title' => '</div>',

Paul Durand
4 years ago

thanks but I'm not using Elementor ... My site is build with WPBakery

Igor Sunz Support Agent
4 years ago
Paul Durand
4 years ago

Hello


how can I have 4 footers instead of 3 ?

i know there is a shortcode to split content but it does not fit my needs



thank you