How to update your custom Child themes for WPLMS 2.6

WPLMS 2.6 is out. We’ve resolved a lot of inconsistencies which arose in the header area by adding the search icon directly as a part of the menu, rather than placing it separately and then positioning it.

Unfortunately, it also means that the child themes overriding the header area also need to be updated. Now, we’ve updated the child themes but it is very much possible that you’ve created a custom header in your child theme and are reluctant to update to version 2.6.

So, we’re sharing the changes we’ve made in the header area in this article. Note, this article is only applicable to you if you’re using a customised child theme and have made changes in the header area.


Change 1 : Mobile Menu : 

Items_wrap has been added in the arguments for the mobile menu.

$args = apply_filters(‘wplms-mobile-menu’,array(
‘theme_location’ => ‘mobile-menu’,
‘container’ => ”,
‘items_wrap’ => ‘<div class=”mobile_icons”><a id=”mobile_searchicon”><i class=”fa fa-search”></i></a>’.( (function_exists(‘WC’)) ?'<a href=”‘.WC()->cart->get_cart_url().'”><span class=”fa fa-shopping-basket”><em>’.WC()->cart->cart_contents_count.'</em></span></a>’:”).'</div><ul id=”%1$s” class=”%2$s”>%3$s</ul>’,
‘menu_class’ => ‘sidemenu’,
‘fallback_cb’ => ‘vibe_set_menu’,


Change 2 : Main menu : 

Items wrap in the Main menu.

$args = apply_filters(‘wplms-main-menu’,array(
‘theme_location’ => ‘main-menu’,
‘container’ => ‘nav’,
‘menu_class’ => ‘menu’,
‘items_wrap’ => ‘<ul id=”%1$s” class=”%2$s”>%3$s<li><a id=”new_searchicon”><i class=”fa fa-search”></i></a></li></ul>’,
‘walker’ => new vibe_walker,
‘fallback_cb’ => ‘vibe_set_menu’


Change 3 : Removal of existing Search icon and searchdiv in header.

Was this article helpful?

Related Articles


  1. twumj01

    should the change be made in the customized header script in the child theme folder or the main wplms foler

      1. SAA2014

        Hi, Mr. Vibe.

        Can you be more specific? I am using a custom child theme now, and the search button in menu area is out of place. There are also a few places, the customisations are looking funny.

        Can you please let me know where and how to change the php codes?

        Thank you.

        1. The main changes are in the header.php file. The location of the search has been changed and the old styling has been removed. So, if you’re using custom header in the child theme, you’ll need to check it with the header in the main theme.

  2. worldfootball

    where can I get the updated Child Theme One to update my child theme in WPLMS?

    1. From the updated theme package. Download the package and you’ll see child themes folder in the package.

  3. dmill1234567

    Maybe I don’t understand it correctly, I’m using the old child theme that I’ve developed the site with. If I update to the new child theme, won’t I lose everything?

Leave A Comment?