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

Like and Dislike Buttons on Post with Counter – Only allow one click per post per user session

Untested Pseudo-code examples, which you can expand to resolve the issues: function get_the_user_ip() { if ( ! empty( $_SERVER[‘HTTP_CLIENT_IP’] ) ) { //check ip from share internet $ip = $_SERVER[‘HTTP_CLIENT_IP’]; } elseif ( ! empty( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) { // to check ip is pass from proxy $ip = $_SERVER[‘HTTP_X_FORWARDED_FOR’]; } else { $ip = … Read more