• Resolved enism007

    (@enism007)


    Hi all,

    I am using the code below to display Job Categories, what I need to do now is change the font colour to blue. The code below is in content-single-job_listing-company.php.

    So I would appreciate any assistance to resolve.

    Thanks in advance.

    <?php $terms = get_the_terms( $post->ID, 'job_listing_category' );								
    if ( $terms && ! is_wp_error( $terms ) ) : 
    $jobcats = array();
    foreach ( $terms as $term ) {
    $term_link = get_term_link( $term );
    $jobcats[] = '<a href="'.$term_link.'">'.$term->name.'</a>'; }
    $print_cats = join( " / ", $jobcats ); ?>
    <span class="job-category"><?php echo $print_cats;?></span>
    <?php endif; ?>

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Job Category font colour’ is closed to new replies.