Help
-
Hello ?? Thank you for the plugin.
I need to add a full website width footnote in this website’s footer. The website has four text widgets in the black background footer. The full website width footnote should be added below those four text widgets and inside the same black background. Please, does the plugin does this job?
Any advice is welcome! ??
-
It should be able to – it really depends on where you put the template tag in your footer.php file. If you post the contents here, I can help you out.
Many thanks! ??
There are two files related to the footer, I am pasting them below so you can have a full overview. I am not sure which one will serve to place the text full width at the bottom. Sorry if they are a bit extense:
This is the theme footer file
<?php GLOBAL $webnus_options; /***************************************/ /* Close head line if woocommerce available /***************************************/ if( isset($post) ){ if( 'product' == get_post_type( $post->ID )) { echo '</section>'; } } ?> <?php $footer_show = 'true'; if(isset($post)) { GLOBAL $webnus_page_options_meta; $footer_show_meta = isset($webnus_page_options_meta)?$webnus_page_options_meta->the_meta():null; $footer_show =(isset($footer_show_meta) && is_array($footer_show_meta) && isset($footer_show_meta['webnus_page_options'][0]['webnus_footer_show']))?$footer_show_meta['webnus_page_options'][0]['webnus_footer_show']:null; } if ($footer_show != 'false') : ?> <footer id="footer" <?php if( 2 == $webnus_options->webnus_footer_color() ) echo 'class="litex"';?>> <section class="container footer-in"> <?php /***************************************/ /* Loading footer type 1,2,3,4,5 /* Each footer has it's own behaviour /***************************************/ $footer_type = $webnus_options->webnus_footer_type(); get_template_part('parts/footer',$footer_type); ?> </section> <!-- end-footer-in --> <?php if( $webnus_options->webnus_footer_bottom_enable() ) get_template_part('parts/footer','bottom'); ?> <!-- end-footbot --> </footer> <!-- end-footer --> <?php endif; ?> <span id="scroll-top"><a class="scrollup"><i class="fa-chevron-up"></i></a></span></div> <!-- end-wrap --> <!-- End Document ================================================== --> <?php // sticky menu GLOBAL $webnus_options; $is_sticky = $webnus_options->webnus_header_sticky(); $scrolls_value = $webnus_options->webnus_header_sticky_scrolls(); $scrolls_value = !empty($scrolls_value) ? $scrolls_value : 150; if( $is_sticky == '1' ) : echo ' <script type="text/javascript"> jQuery(document).ready(function(){ jQuery(function() { var header = jQuery("#header.horizontal-w"); var navHomeY = header.offset().top; var isFixed = false; var $w = jQuery(window); $w.scroll(function(e) { var scrollTop = $w.scrollTop(); var shouldBeFixed = scrollTop > ' . $scrolls_value . '; if (shouldBeFixed && !isFixed) { header.addClass("sticky"); isFixed = true; } else if (!shouldBeFixed && isFixed) { header.removeClass("sticky"); isFixed = false; } e.preventDefault(); }); }); }); </script> '; endif; echo $webnus_options->webnus_space_before_body(); wp_footer(); ?> </body> </html>
and this is the footer bottom file
<?php GLOBAL $webnus_options; ?><section class="footbot"> <div class="container"> <div class="col-md-6"> <!-- footer-navigation /end --> <?php if( 1 == $webnus_options->webnus_footer_bottom_left() ): ?> <div class="footer-navi"> <img src="<?php echo $webnus_options->webnus_footer_logo(); ?>" width="65" alt=""> </div> <?php elseif(2 == $webnus_options->webnus_footer_bottom_left()): ?> <div class="footer-navi"> <?php if(has_nav_menu('footer-menu')){ $menuParameters = array( 'theme_location'=>'footer-menu', 'container' => false, 'echo' => false, 'items_wrap' => '%3$s', 'after' => ' | ', 'depth' => 0, ); echo strip_tags(wp_nav_menu( $menuParameters ), '<a>' ); } echo '</div>'; elseif(3 == $webnus_options->webnus_footer_bottom_left()): ?> <div class="footer-navi"> <?php echo do_shortcode($webnus_options->webnus_footer_copyright()); echo '</div>'; endif; ?> </div> <div class="col-md-6"> <!-- footer-navigation /end --> <?php if( 1 == $webnus_options->webnus_footer_bottom_right() ): ?> <img src="<?php echo $webnus_options->webnus_footer_logo(); ?>" width="65" alt=""> <?php elseif(2 == $webnus_options->webnus_footer_bottom_right()): ?> <div class="footer-navi floatright"> <?php if(has_nav_menu('footer-menu')){ $menuParameters = array( 'theme_location'=>'footer-menu', 'container' => false, 'echo' => false, 'items_wrap' => '%3$s', 'after' => ' | ', 'depth' => 0, ); echo strip_tags(wp_nav_menu( $menuParameters ), '<a>' ); } echo '</div>'; elseif(3 == $webnus_options->webnus_footer_bottom_right()): ?> <div class="footer-navi floatright"> <?php echo do_shortcode($webnus_options->webnus_footer_copyright()); echo '</div>'; endif; ?> </div> </div> </section>
You should be able to get the text displaying below the footer if you replace this part of the main footer file:
<section class="container footer-in"> <?php /***************************************/ /* Loading footer type 1,2,3,4,5 /* Each footer has it's own behaviour /***************************************/ $footer_type = $webnus_options->webnus_footer_type(); get_template_part('parts/footer',$footer_type); ?> </section> <!-- end-footer-in -->
with this:
<section class="container footer-in"> <?php /***************************************/ /* Loading footer type 1,2,3,4,5 /* Each footer has it's own behaviour /***************************************/ $footer_type = $webnus_options->webnus_footer_type(); get_template_part('parts/footer',$footer_type); do_action( 'footer_text', '', '<div class="footer-text'>', '</div>' ); ?> </section> <!-- end-footer-in -->
Then, you may want to also use this custom CSS code:
.footer-text { text-align: center; }
Hi Shea!
sorry for dealy and many thanks! ?? I changed the code as above, but this makes the whole footer disappear. No footer text is displayed down the main slider.
- The topic ‘Help’ is closed to new replies.