Okay
  Public Ticket #1082904
Footer Columns
Closed

Comments

  •  2
    Chris started the conversation

    Hi, is there a way to turn off the menu column in the footer and reduce the number of columns to three? I don't need a menu in the footer and would rather use the space to give my email address a bit more room.

    Thanks! Great looking theme.

  •  840
    Jelly replied

    Hi,

    You will need change the footer.php file to my code below:

    <!-- FOOTER -->
    <?php $jellythemes = rebirth_jellythemes_theme_options(); ?>
    <footer>
      <div class="container-fluid">
        <div class="voffset30"></div>
        <div class="row">
          <div class="col-md-4 col-sm-6">
            <div class="voffset30"></div>
            <img src="<?php echo esc_url($jellythemes['logo_foot']['url']); ?>" alt="<?php echo strip_tags($jellythemes['blogname']); ?>">
            <div class="voffset20"></div>
            <p><?php echo esc_html(wp_kses(wpautop($jellythemes['footer_about']), array('br' => array(), 'strong' => array()))); ?></p>
          </div>
          
          <div class="col-md-4 col-sm-6">
            <div class="voffset30"></div>
            <h5 class="title-small"><?php esc_html_e('Contact us', 'rebirth-jellythemes'); ?></h5>
            <div class="voffset20"></div>
            <p class="contact-link fa fa-envelope-o"><?php echo esc_html($jellythemes['footer_email']); ?></p>
            <p class="contact-link fa fa-mobile"><?php echo esc_html($jellythemes['footer_phone']); ?></p>
            <p class="contact-link fa fa-map-marker"><?php echo esc_html(wp_kses(wpautop($jellythemes['footer_address']), array('br' => array()))); ?></p>
          </div>
          <?php if (function_exists('rebirth_jellythemes_get_newsletter')): ?>
            <?php echo rebirth_jellythemes_get_newsletter(); ?>
          <?php endif ?>
        </div>
        <div class="voffset30"></div>
      </div>
      <div class="copyright">
        <div class="voffset40"></div>
        <p><?php echo esc_html($jellythemes['copyright']); ?></p>
        <div class="voffset40"></div>
      </div>
    </footer>
    <?php if ($jellythemes['hamb_menu']): ?>
      <div class="overlay overlay-hugeinc">
      <?php wp_nav_menu(array(
              'container' => 'nav',
              'menu_class' => '',
              'container_id' => 'nav',
              'container_class' => '',
              'theme_location' => 'main',
              'walker' => new rebirth_jellythemes_walker_nav_menu)); ?>
      </div>
    <?php endif ?>
    <!-- SCRIPTS -->
    <?php wp_footer(); ?>
    </body>
    </html>
    

    You will need change this file \rebirth-jellythemes-plugin\rebirth-jellythemes-plugin.php to my code below:

    <?php
    /**
     * Plugin Name:     Rebirth Jellythemes Plugin
     * Plugin URI:      http://jellythemes.com
     * Description:     Rebirth Theme Functionality.
     * Author:          Jellythemes
     * Author URI:      http://jellythemes.com
     * Version:         1.0.1
     * Text Domain:     rebirth-jellythemes
     * License:         GPL3+
     * License URI:     http://www.gnu.org/licenses/gpl-3.0.txt
     * Domain Path:     rebirth-jellythemes-plugin/languages
     * Provides:        rebirthJellythemes
     */
        /* POSTS TYPES DEFINITION FUNCTIONS */
        include plugin_dir_path( __FILE__ ) . '/functions.posts_types.php';
        /* SHORTCODES DEFINITION */
        include plugin_dir_path( __FILE__ ) . '/functions.shortcodes.php';
        /* METABOXES FRAMEWORK LOAD */
        require_once plugin_dir_path( __FILE__ ) . '/meta-box/meta-box.php';
        require_once plugin_dir_path( __FILE__ ) . '/meta-box-show-hide/meta-box-show-hide.php';
        include plugin_dir_path( __FILE__ ) . '/functions.meta-boxes.php';
        function rebirth_jellythemes_get_mail_dir() {
            return plugins_url( 'rebirth-jellythemes-plugin/mail.php', dirname(__FILE__) );
        }
        function rebirth_jellythemes_get_newsletter_mail_dir() {
            return plugins_url( 'rebirth-jellythemes-plugin/newsletter-mail.php', dirname(__FILE__) );
        }
        function rebirth_jellythemes_get_newsletter() {
            $jellythemes = rebirth_jellythemes_theme_options();
            return '<div class="col-md-4 col-sm-6">
                    <div class="voffset30"></div>
                    <h5 class="title-small">' . esc_html($jellythemes['footer_form_title']) . '</h5>
                    <div class="voffset20"></div>
                    <p class="info-newsletter">' . esc_html($jellythemes['footer_form_text']) . '</p>
                    <div class="voffset20"></div>
                    <form action="' . rebirth_jellythemes_get_newsletter_mail_dir() . '" method="post" id="contactform" class="contact-form">
                      <p class="send-success hide">' .  esc_html__('Your message has been sent', 'rebirth-jellythemes') . '</p>
                      <input type="email" id="email" name="email" placeholder="' .  esc_html__('email', 'rebirth-jellythemes') . '" class="required email">
                      <input type="submit" class="btn btn--alt" value=">">
                    </form>
                  </div>';
        }
    ?>
    

    Best Regards,
    Jelly Team

  •  2
    Chris replied

    Thanks, worked like a charm.

  •  840
    Jelly replied

    Hi,

    Glad it’s working for you now. Do you still need my help?

    Best Regards,
    Jelly Team

  •  2
    Chris replied

    Nope, you can close the ticket. Thanks for double checking.

  •  840
    Jelly replied

    Hi,

    I am currently closing the ticket. Please don’t hesitate to submit a ticket whenever you need help. I will be happy to assist you.

    P.S. I would appreciate if you could please rate the Theme and like the assistance under my support, means a lot to me. Thank you.

    You can rate it with your themeforest account at your downloads page, precisely at this link: http://themeforest.net/downloads and hover over the 5 stars for our theme.

    Also, if you have linkedin account, please endorsements for me at this link: https://www.linkedin.com/in/locrabbirt/.

    Thank you so much for all your help!!!

    Best Regards,
    Jelly Team