In child theme, add CPT to custom taxonomy registered in parent theme

Ok, so after another hours of digging through the codex, I found a solution. Hope this helps anyone else who is runs into the same issue. I had to use the register_taxonomy_for_object_type function. And then I used the init hook. Here is the function that worked for me. function add_cpt_to_project_tax(){ register_taxonomy_for_object_type(‘project_category’, ‘external_project’); register_taxonomy_for_object_type(‘project_tag’, ‘external_project’); } … Read more

issue on creating child theme

The 500 error comes from the missing function – which I presume is included in the missing included file – check your file paths to ensure you are calling the include_once in the correct place.

Dequeing Parent Fontawesome Deques Parent Styles

Solution I found the cause for my problem. I used the “Child Theme Configurator” plugin to generate my child theme. The plugin put the following code at the top of my functions.php. The plugin decided that wp-bootstrap-starter-fontawesome-cdn was relevant for the loading of the themes main CSS (look at the very end of the wp_enqueue_style … Read more