Hello, I have never really coded with PHP before, usually just mess around with it to make changes to my wordpress website. I am a bit stuck with this, hoping someone on the forums can help me.
Basically this is the code for loading a sidebar on a page.
[php]
<?php _e('Skills', 'framework'); ?>
-
<?php if(is_page_template('template-portfolio.php')) : ?>
- <?php _e('All', 'framework'); ?> <?php else: ?>
- <?php _e('All', 'framework'); ?> <?php endif; ?> <?php wp_list_categories(array('title_li' => '', 'taxonomy' => 'skill-type')); ?>
My question is how can I only show the portfolio “skill types” and not the “All” menu item. Right now the website shows an “All” which is highlighted because that’s the page I am on. But how can I remove it and only list the skill types?
Thanks,