I am developing a website that requires specific pages to have certain elements change color in addition to a full-width calendar page. I figured that using page templates and changing what
get_template_part looks for would be the simplest approach, but I've run into unexpected trouble. The page template loads fine, but the specific content template appears to get ignored, with WordPress instead loading the general template. I'm using a child theme derived from Twenty Fifteen, but this shouldn't be a problem, since the customized content template loads just fine.
get_template_part( 'content', 'page', 'kahvilaravintola' );
It should be loading
content-page-kahvilaravintola.php, located right in the child theme's folder, but instead loads
content-page.php, located in the same folder. I can't seem to figure out what is wrong.