Hi All,
Just trying to find out how can I add the Shortcode in the Main and Footer Menu ???
Thanks in advance
Bill
hey,
i did not understand what do you want to achieve by doing this. kindly can you elaborate more so that i can help you better.
regards
Hi Logan,
I have social button which I like to insert between menu and login/cart area as
highlighted in yello in the pic.
Hey there,
Please paste this snippets in your wplms-customizer plugin > wplms-customizer.php
add_filter('wplms-main-menu',function ($menu){
$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>
<li class="header_social_odean">'.do_shortcode('[social_icons]').'</li>
</ul>',
'walker' => new vibe_walker,
'fallback_cb' => 'vibe_set_menu'
);
return $menu;
});
add_action('wp_head',function (){
?>
<style>li.header_social_odean { margin-top: 30px; } li.header_social_odean ul a{padding:0!important ;}</style>
<?php
});
Thank you Logan.
I forgot to ask you about that.
How can I add this in the footer where...one side is copyright and I want to add it to the other side.
Thanks in advance...you been great help.
Bill
Hello,
Pleasure, for that you do not need to code. please
goto wp-admin > wplms > social information > add items from here. refer: http://prntscr.com/m8qjdy
then
goto
goto wp-admin > wplms >footer > enable this setting. http://prntscr.com/m8qjyn
Refer:
http://prntscr.com/m8qkb2
Hey There,
Voila ! If I can be of assistance, please do not hesitate to contact me again.
Closing this topic.
Best regards :)