add php code within html in wordpress
Welcome to WPSE. First you need to sort out, WHERE you want to execude your php code. Frontend? Backend? Login Page? After that: In case it is backend related, add your code via a filter in your functions.php of your theme. In case it is frontend code, add it 1) either via a filter 2) … Read more