Alternative text in NaviMenu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3765

    Is it possible to put some alternative text (script code) in de primairy navimenu?
    I want to use the empty space to show the Facebook and twitter followers


    You can use the ‘frontier_before_menu’ or the ‘frontier_after_menu’ action hooks to add things before and after the menu.

    Here’s an example that you can add on the functions.php (preferably on a child-theme)

    function stuff_after_menu() {
    <div id="stuff-after-menu" >
         <div class="addthis_toolbox addthis_32x32_style addthis_default_style">
    	<a class="addthis_button_facebook_follow" addthis:userid="YOUR-USERNAME"></a>
    	<a class="addthis_button_twitter_follow" addthis:userid="YOUR-USERNAME"></a>
    	<a class="addthis_button_google_follow" addthis:userid="YOUR-USERNAME"></a>
    	<a class="addthis_button_youtube_follow" addthis:userid="YOUR-USERNAME"></a>
         <script type="text/javascript" src="//"></script>
    add_action( 'frontier_after_menu', 'stuff_after_menu' );

    Anything you add between ?> and <?php will display on the right side of the menu.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Frontier’ is closed to new topics and replies.