i need to place category base permalink in my theme like this
<?php if ( is_category('in-theaters') ) { ?>
<li class="active"><a href="<?php echo esc_url( home_url() ); ?>/genre/in-theaters/"><i class="fa fa-ticket"></i><span><?php echo intheaters; ?></span></a></li>
<?php } else { ?>
<li><a href="<?php echo esc_url( home_url() ); ?>/genre/in-theaters/"><i class="fa fa-ticket"></i><span><?php echo intheaters; ?></span></a></li>
<?php } ?>
so i need this output result
http://mywebsite/category/