Tagged: x
-
AuthorPosts
-
October 10, 2016 at 4:06 pm #1210493
JohanschackParticipantHi 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.
October 10, 2016 at 11:45 pm #1210904
FriechModeratorHi 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!
October 11, 2016 at 5:12 am #1211221
JohanschackParticipantHi,
I wasn’t clear enough. (sorry)
I would only like to hide it from my blog posts.
October 11, 2016 at 7:30 am #1211348
Paul RModeratorHi,
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.
October 11, 2016 at 7:52 am #1211366
JohanschackParticipantThanks,
Seems to work perfectly 🙂
October 11, 2016 at 8:51 am #1211436
ThaiModeratorGlad it worked 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1210493 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
