I use Wordpress 4.7 and I installed an accessibility module. This module requires pasting the following php code block before the body. I went through the mother-theme php files but didn't find something like html.php or html.tpl ... Should this file be created (and maybe also declared) somewhere?

<?php if(function_exists('acp_toolbar') ) { acp_toolbar(); }?>
  • You're looking for header.php
    – RRikesh
    Dec 19, 2016 at 4:13

2 Answers 2


You should paste that code in the header.php file. Just before the closing code . And that should be done. And if it is asking for pasting the code in the template then find the specific page where you want to place it. There may be different template for different page.


Consider creating a child theme for custom changes, when you update your theme it will likely break. Besides that, Md. Amanur Rahman is correct, and so is Patrik Alienus.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.