• Hi,

    I am new with the spacious theme. I never have any links in the footer but here I couldn’t delete the footer information in my child theme the usual way: Delete
    <?php do_action( 'spacious_footer_copyright' ); ?>
    in footer.php

    Can anyone please help. Thanks,
    Anna

Viewing 4 replies - 1 through 4 (of 4 total)
  • hithis is what I did, I created a new child theme, and created a blank “functions.php”, the following code is what i put in there.
    i remove the footer first, then add my own. the only place you need to replace is the “google.com” and the “anyName” areas. You can change the rest spacious or ThemeGrill words at your like. hope it helps!

    <?php

    /****************************************************************************************/

    /* Register shortcodes. */
    add_action( ‘init’, ‘remove_copy’ );

    function remove_copy(){

    remove_action(‘spacious_footer_copyright’, ‘spacious_footer_copyright’, 10);

    }

    add_action(‘spacious_footer_copyright’, ‘my_footer_info’, 10);

    add_shortcode( ‘cb-link’, ‘theme_link_shortcode’ );

    function theme_link_shortcode() {
    return ‘<span>’.__( ‘anyName’, ‘childofSpacious’) .'</span>‘;
    }

    function my_footer_info() {
    $my_footer_info = ‘<div class=”copyright”>’.__( ‘Copyright ? ‘, ‘spacious’ ).'[the-year] [site-link] ‘.__( ‘Theme by: ‘, ‘anyName’ ).'[cb-link] ‘.'</div>’;
    echo do_shortcode( $my_footer_info );

    }

    ?>

    Thread Starter AnnaHavanna

    (@annahavanna)

    That’s is one solution I already tried yesterday. I read it in another thread…
    I have the new functions.php in my Child Theme Folder but nothing has changed.
    Any idea what’s wrong?

    Excellent template..

    Just wanted to leave a note to say the support for this theme has been fantastic. Themegrill have won a fan.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spacious’ is closed to new replies.