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

    (@bungeshea)

    There are two things you can do here.

    The first is to make a code snippet (either in functions.php, as part of a plugin, or using this plugin), which contains this code:

    function my_display_footer_text() {
        if ( function_exists( 'get_footer_text' ) ) {
            footer_text();
        }
    }
    add_action( 'twentytwelve_credits', 'my_display_footer_text' );

    The other option is to edit the footer.php file and add the tag there. Here is the code from your theme with the tag in place.

    Thank you for the link Shea! It solved my issue.

    If I edit the functions.php won’t I lose the changes when the theme updates? I am using the Jolene theme, and I’m trying to get rid of the ‘powered by wordpress’ line and theme name, permanently. Is there a way to use this plugin to do that once and for all?

    https://yourmenopausecoach.com is the site in question.

    Thanks!

    Plugin Author Shea Bunge

    (@bungeshea)

    @jcobbherbalist

    Yes, you will loose changes when the theme updates, and so the best way to prevent this would be to create a child theme.

    Keep in mind that this plugin was intended to be used as a sort of library by people who were modifying or creating a theme, not as a plugin you can just install and everything works.

    Thread Starter Kate Plane

    (@kateplaneyahoocom)

    Thanks very much for this.

    I ended up using this code in my footer.php file as I didn’t want to display ‘Proudly Powered by WordPress’:

    <?php
    /**
    * The template for displaying the footer
    *
    * Contains footer content and the closing of the #main and #page div elements.
    *
    * @package WordPress
    * @subpackage Twenty_Twelve
    * @since Twenty Twelve 1.0
    */
    ?>

    </div><!– #main .wrapper –>
    <footer id=”colophon” role=”contentinfo”>
    <div class=”site-info”>
    <?php do_action( ‘twentytwelve_credits’ ); ?>
    <?php do_action( ‘footer_text’ ); ?>

    </footer><!– #colophon –>
    </div><!– #page –>

    <?php wp_footer(); ?>
    </body>
    </html>

    I will look into creating a child theme but I’m not sure how to go about that yet…

    Thanks again,
    Kate

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Complete Footer Code Please?’ is closed to new replies.