Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter missey

    (@arleneforte)

    Okay I figured out the answer (for those who wants to know)

    I just added these lines by using conditional statement:

    if ( empty( $val[‘label’] ) or ( true === $val[‘label’] ) )
    $val[‘label’] = $tax->labels->singular_name;
    if ((($tax->labels->singular_name) == ‘category’) or (($tax->labels->singular_name) == ‘Category’))
    $val[‘label’] = ‘Facility Name’;
    if ((($tax->labels->singular_name) == ‘tag’) or (($tax->labels->singular_name) == ‘Tag’))
    $val[‘label’] = ‘Department’;

    In template.php

    Find this line of code, I guess its from line 190-210

    if ( !isset( $val[‘all’] ) )
    $val[‘all’] = ….

    -comment this out or remove totally
    -you can also change the value of ‘All Tags’, just add if statement that validates if the value is equal to ‘tag’, then…

Viewing 2 replies - 1 through 2 (of 2 total)