• Hi There, I’m needing a little help to edit the wootheme storefront footer. I have created a child theme and in the chil function i have the following, i just don’t know now where to out my text i want in the footer. Thanks. Site is https://chrischristensenaustralia.com.au/

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’ );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’ );

    // END ENQUEUE PARENT ACTION

    /* Remove Woocommerce footer credit */
    add_action( ‘init’, ‘custom_remove_footer_credit’, 10 );

    function custom_remove_footer_credit () {
    remove_action( ‘storefront_footer’, ‘storefront_credit’, 20 );
    add_action( ‘storefront_footer’, ‘custom_storefront_credit’, 20 );
    }

    function custom_storefront_credit() {
    ?>
    <div class=”site-info”>
    © <?php echo get_bloginfo( ‘name’ ) . ‘ ‘ . get_the_date( ‘Y’ ); ?>
    </div><!– .site-info –>
    <?php
    }

  • The topic ‘Editing Storefront footer’ is closed to new replies.