adding navigation menu to the parallax menu
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Mar 2018 17:12:42 +0000 (13:12 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Mar 2018 17:12:42 +0000 (13:12 -0400)
combinging navigation menu with parallax menu

header.php

index 8f920a7..996939d 100644 (file)
@@ -39,9 +39,9 @@
                </div>
 
                <nav id="site-navigation" class="main-navigation">
-        
-               <div class="menu-toggle"><?php _e( 'Menu', 'accesspress-parallax' ); ?></div>
-                                       
+    
+               <div class="menu-toggle">d<?php _e( 'Menu', 'accesspress-parallax' ); ?></div>
+               
                        <?php 
                        $sections = of_get_option('parallax_section');
                        if((of_get_option('enable_parallax') == 1 && of_get_option('enable_parallax_nav') == 1) || (is_page_template('home-page.php') && of_get_option('enable_parallax_nav') == 1)):
                                endforeach; 
                                endif; ?>
                        </ul>
-                       <?php   
-                       else: 
-                               wp_nav_menu( array( 
+            <?php      
+            wp_nav_menu( array( 
                                'theme_location' => 'primary' , 
                                'container'      => false
                                ) );
+                       else: 
+                               
                        endif; ?>
                
                </nav><!-- #site-navigation -->