Skip to content

skater2014/kaz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

kaz

-----------------------error code-----------------------

errpr code Fatal error: Uncaught Error:

//change category color for diffeently function categories_label() { $cats = get_the_category(); if(!empty($cats)){ if(!is_wp_error($cats)){ foreach($cats as $cat){ $cat_link = get_category_link($cat->term_id); $cat_name = $cat->name; $cat_id = $cat->cat_ID; $cat_color = 'category_'.$cat_id; $back_color = get_field('ca_color_band',$cat_color); $txt_color = get_field('ca_color_txt',$cat_color); echo ''.$cat_name.'';

    //inline-block; border-radius: 6px; background-color:'.$back_color.';color:'.$txt_color.';">'.$cat_name.'</a></span>';//
  }
}

} }

$back_color = get_field('ca_color_band',$cat_color); $txt_color = get_field('ca_color_txt',$cat_color);

About

errpr code Fatal error: Uncaught Error:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published