Display Taxonomies in loop with template args

The simplest solution: echo get_the_category_list( ‘, ‘ ); Following your way: Change your $args like so: $args = array( ‘template’ => ‘%2$l’, ‘term_template’ => ‘%2$s’, ); And then, add this to your functions.php file (this will affect all %l markers!); add_filter( ‘wp_sprintf_l’, function($templates) { // $templates[‘between_last_two’] = sprintf( __(‘%s, and %s’), ”, ” ); // … Read more

template structure for CPT not clear

Sorry I was using wrong structure, after looking through a bit more i found out exact difference for CPT and cutom taxonomies. For custom post types the template structure is like:-\ single-{post-type}.php archive-{post-type}.php search.php index.php And for Custom taxonomies, the template structure I found out from here:- Link:-Templates for Custom Post Types and Custom Taxonomies

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)