badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

david.pagnon88

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Full width footer widget ? #43853
    david.pagnon88
    Participant

    Hi,

    That’s actually what I did:I unhooked it this way

    function unhook_interface_display_footer_sidebar() {
    remove_action( 'interface_footer_sidebar', 'interface_display_footer_sidebar', 10);
    }
    add_action( 'init', 'unhook_interface_display_footer_sidebar');
    function interface_child_display_footer_sidebar(){
    BLABLA
    }

    The thing is that the function is rather big, and I only want to change one single class. Is there any other way to do it in fewer lines ? I’m just curious, if there is none I’d like to know it but this is no big deal, it’s still working fine !

    in reply to: Full width footer widget ? #43835
    david.pagnon88
    Participant

    It working great, thanks !

    Now I have another question: I copy-pasted the entire function “interface_child_display_footer_sidebar” into my file “functions.php”, just to change a class among many others into this big function. The file is now beginning to be messy. Is there any way to do it without unhooking the whole function ?

Viewing 2 posts - 1 through 2 (of 2 total)