Does wordpress templates always in files or in database?
But there is no content directory in template directory. Actually, with the following: get_template_part( ‘templates/content’, ‘header-private’ ); get_template_part( ‘templates/content’, ‘header-public’ ); WordPress will search in the templates folder for content-header-private.php or content-header-public.php, and if found, it is loaded. Else, WordPress will attempt to load the content.php file instead. So WordPress (or get_template_part()) will not search … Read more