Flushing the slug base has no effect and does not change

In your first function, the taxonomy doesn’t match what’s registered in the second (‘actor’ instead of ‘actors’) Alternatively, just edit it in the ‘rewrite’ argument of the second function, i.e: ‘rewrite’ => array( ‘slug’ => ‘star’ )

require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality

thanks again @Rup for sparking the path to this answer! rendering out directly from the required file was at least part of the problem. i believe the other part was not rendering from inside a function as well as not hooking all of that functionality into an action in the target file. the problem vanishes … Read more

php code for outputting a custom page in my account

Check this one: How to add a new endpoint in woocommerce Update In your callback function include your extended template page because output is expected. ex: function foren_content() { include(‘woocommerce/myaccount/custom-page.php’); } Then inside custom-page.php call the desired content with get_post(ID) or if you have your endpoint registerd in woocommerce settings call it by slug. The … Read more