Category theme template becomes default template for child theme

Turns out i had to hook in using “single_template” to add my theme file to the top of the stack.

e.g.

add_filter('single_template',.....

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