File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
1
<div id="sidebar" class="widget-area" role="complementary">
2
2
<aside class="widget">
3
- <h3 class="widget-title">Interactions </h3>
3
+ <h3 class="widget-title">Categories </h3>
4
4
<ul>
5
- <?php echo jq_page_links_for_category ( 'interactions ' ); ?>
5
+ <?php wp_list_categories (array (
6
+ 'depth ' => 1 ,
7
+ 'title_li ' => '' ,
8
+ 'exclude ' => '1 '
9
+ )); ?>
6
10
</ul>
7
11
</aside>
8
12
<aside class="widget">
9
- <h3 class="widget-title">Widgets </h3>
13
+ <h3 class="widget-title">Recent Posts </h3>
10
14
<ul>
11
- <?php echo jq_page_links_for_category ( 'widgets ' ); ?>
15
+ <?php
16
+ $ recent_posts = wp_get_recent_posts (array (
17
+ 'post_status ' => 'publish '
18
+ ));
19
+ foreach ( $ recent_posts as $ recent ){
20
+ echo '<li><a href=" ' . get_permalink ($ recent ["ID " ]) . '"> ' . $ recent ["post_title " ].'</a></li> ' ;
21
+ }
22
+ ?>
12
23
</ul>
13
24
</aside>
14
25
<aside class="widget">
15
- <h3 class="widget-title">Effects </h3>
26
+ <h3 class="widget-title">Archives </h3>
16
27
<ul>
17
- <?php echo jq_page_links_for_category ( 'effects ' ); ?>
18
- </ul>
19
- </aside>
20
- <aside class="widget">
21
- <h3 class="widget-title">Utilities</h3>
22
- <ul>
23
- <?php echo jq_page_links_for_category ( 'utilities ' ); ?>
28
+ <?php wp_get_archives ( array ( 'type ' => 'monthly ' ) ); ?>
24
29
</ul>
25
30
</aside>
26
31
</div>
You can’t perform that action at this time.
0 commit comments