UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Hide 2nd SubCategory

Fred · ·
1:35 AM Friday, 14 March 2014
None
How can I hide the 2nd Sub Category so there is only one SubCategory showing?

Something like:
-Parent
--Child1

I was trying to add this code through the Categories.php file which I semi got it to work but it still puts the divs there for the child2 categories and continuing the Line that links the categories. http://puu.sh/7tUBa.png


<?php if( $category->depth >= '2' ){ ?>
<div style="display:none;">
<?php }else{ ?>
The replies under this section are restricted to logged in users or users with an active subscription with us