• Resolved laricercascientifica

    (@laricercascientifica)


    Hi, i’d like to use footer text plugin for my site https://www.laricercascientifica.it
    i tried several times but i don’t understand how to implement this plugin.
    can someone help me?

    Thanks!

    This is my footer.php
    where do i put footer_text()???

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package FlyMag
    */
    ?>

    </div><!– #content –>
    <?php if ( is_active_sidebar( ‘sidebar-4’ ) || is_active_sidebar( ‘sidebar-5’ ) || is_active_sidebar( ‘sidebar-6’ ) ) : ?>
    <?php get_sidebar(‘footer’); ?>
    <?php endif; ?>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <div class=”container”>

    <?php if ( has_nav_menu( ‘social’ ) ) : ?>
    <nav class=”social-navigation col-md-6 col-sm-6 clearfix”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘social’, ‘link_before’ => ‘<span class=”screen-reader-text”>’, ‘link_after’ => ‘</span>’, ‘menu_class’ => ‘menu clearfix’, ‘fallback_cb’ => false ) ); ?>
    </nav>
    <?php endif; ?>
    </div>
    </footer><!– #colophon –>
    </div><!– #page –>

    <?php wp_footer(); ?>

    </body>
    </html>

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    It doesn’t really matter where you put it – it really depends on where you want the text displayed on your site. Here’s an example, with the text

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package FlyMag
    */
    ?>
    
    </div><!– #content –>
    <?php if ( is_active_sidebar( ‘sidebar-4’ ) || is_active_sidebar( ‘sidebar-5’ ) || is_active_sidebar( ‘sidebar-6’ ) ) : ?>
    <?php get_sidebar(‘footer’); ?>
    <?php endif; ?>
    
    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <div class=”container”>
    
    <?php if ( has_nav_menu( ‘social’ ) ) : ?>
    <nav class=”social-navigation col-md-6 col-sm-6 clearfix”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘social’, ‘link_before’ => ‘<span class=”screen-reader-text”>’, ‘link_after’ => ‘</span>’, ‘menu_class’ => ‘menu clearfix’, ‘fallback_cb’ => false ) ); ?>
    </nav>
    <?php endif; ?>
    
    <?php do_action( 'footer_text', '', '<section class="footer-text">', '</section>' ); ?>
    
    </div>
    </footer><!– #colophon –>
    </div><!– #page –>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to place footer_text()’ is closed to new replies.