File tree 2 files changed +8
-10
lines changed
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -130,5 +130,4 @@ function powercoders_post_types(){
130
130
}
131
131
add_action ('init ' ,'powercoders_post_types ' );
132
132
133
- define ('__ROOT__ ' , dirname (dirname (__FILE__ )));
134
- require_once (__ROOT__ .'/acf-faq.php ' );
133
+ include ( get_template_directory () . '/acf-faq.php ' );
Original file line number Diff line number Diff line change 21
21
</a>
22
22
<nav role="navigation">
23
23
<div class="nav-wrapper container">
24
+ <?php wp_nav_menu ( $ args =array (
25
+ 'menu_class ' =>'sidenav ' ,
26
+ 'menu_id ' =>'nav-mobile ' ,
27
+ 'theme_location ' =>'main '
28
+ ));
29
+ ?>
24
30
<ul id="nav-mobile" class="sidenav">
25
- <!-- add the menu navigation (location , id , container, class name ) -->
26
- <?php
27
- $ args = array (
28
- 'theme_location ' => 'main ' ,
29
- 'menu_id ' => 'nav-mobile ' ,
30
- 'menu-class ' => 'sidenav '
31
- );
32
- wp_nav_menu ('$args ' ); ?>
31
+
33
32
<!-- <li class="active"><a href="/">Home</a></li>
34
33
<li ><a href="/program">Program</a></li>
35
34
<li ><a href="/about">About</a></li>
You can’t perform that action at this time.
0 commit comments