Anibesh Thapa
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Make a Child theme.Then copy header.php on your child theme. Replace the lines 131 – 132 with the code below in header.php of your child theme.
/*to exclude some categories */ $args = array( 'hide_empty' => 1, 'orderby' => 'id');Please visit the link for more information on “orderby” options. https://codex.ww.wp.xz.cn/Function_Reference/get_categories
Thanks,
AnibeshForum: Themes and Templates
In reply to: [Sampression Lite] Category/Archive Column on left RemovalHello thehotpeg,
Make a Child theme and copy archive.php, category.php and author.php from parent theme. Then remove below code from these files(childtheme).<!-- Corner Stamp: It will always remaing to the right top of the page --> <section class="corner-stamp post columns four item"> <header><h3><?php _e('Archives', 'sampression'); ?></h3></header> <div class="entry"> <ul class="categories archives"> <?php // Getting Archive Lists wp_get_archives( '' ); ?> </ul> </div> <header><h3><?php _e('Categories', 'sampression'); ?></h3></header> <div class="entry"> <ul class="categories"> <?php // Getting Categories Lists wp_list_categories('title_li'); ?> </ul> </div> </section> <!-- .corner-stamp -->For Second menu, you have to create a new menu on WordPress dashboard and add below code on childtheme header.php
<?php wp_nav_menu( array('menu' => 'MENU_NAV' )); ?>Thanks,
Anibesh
Viewing 2 replies - 1 through 2 (of 2 total)