How to remove category from Portfolio in Zelle

Important notice: This product is now in maintenance mode and is no longer being actively developed or supported. Updates and bug fixes will not be provided unless they relate to security concerns.

Make sure that you're using a child theme before touching any line of code. After setting up a child theme, create a /sections/ folder inside your child theme and copy your /sections/portfolio.php file from your parent theme to your child theme.

Find and remove the following code from your portfolio.php file:

<div class="details white-text">
	<?php
		$categories = get_the_category();
		$separator = ' ';
		if($categories):
			foreach($categories as $category):
				echo $category->cat_name.$separator;
			endforeach;
		endif;
	?>
</div>

Save your changes and you're good to go!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us