Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1210493
    Johanschack
    Participant

    Hi guys,

    I have installed a child theme, and I’d prefer editing the PHP files here, instead of implementing CSS on the global CSS customizer.

    How can i remove the footer from my ethos website? Which file should i copy to the child theme and edit?

    Thanks in advance.

    #1210904
    Friech
    Moderator

    Hi There,

    Thanks for writing in! What stack you’re using? You can copy the file wp-footer.php from you parent directory \x\framework\views\{stack}\ to your child theme.

    Look for this line

    <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' ) : ?>

    And update that to this:

    <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' and !is_home() ) : ?>

    Hope it helps, Cheers!

    #1211221
    Johanschack
    Participant

    Hi,

    I wasn’t clear enough. (sorry)

    I would only like to hide it from my blog posts.

    #1211348
    Paul R
    Moderator

    Hi,

    In that case, please change the code to this.

    
    <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' and !is_singular('post') ) : ?>
    

    Hope that helps.

    #1211366
    Johanschack
    Participant

    Thanks,

    Seems to work perfectly 🙂

    #1211436
    Thai
    Moderator

    Glad it worked 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1210493 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>