• Resolved domino4evers

    (@domino4evers)


    Hi there

    I wanna edit the header file “class-wp-mobile-menu-core.php”, add some text manually – that is no problem.

    But how to make a child of the plugin file, so it won’t overwrite nexttime there is a update?

    I have tried with folders theme/mobile-menu and theme/mobile-menu/includes

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @domino4evers,

    That’s not possible with plugins, there isn’t the concept of child plugins like in the themes where exist the child themes.

    We have 2 WordPress filters in the Left and right menu.

    Here goes a code example

    
    return'<div class="mobmenu-right-bt">New content here</div>';
    add_filter( 'mm_right_menu_filter', 'my_custom_html_right_menu' );

    Hope it helps.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Will close the topic for now. Let me know if necessary.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit the header’ is closed to new replies.