This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Code Insert Manager (Q2W3 Inc Manager)


Areas of the page where you can insert code:

  1. Header (between ‘head’ tags)
  2. Footer (bottom of the page)
  3. Before page content (before main WP loop)
  4. After page content (after main WP loop)
  5. Before post content
  6. After post excerpt (after ‘more’ tag)
  7. After post content
  8. Manual. Place function, which displays code, directly in your theme file(s)
  9. Widget. Allows you to create custom widgets
  10. Shortcode. Allows you to create custom shortcodes. Since version 2.3.0 added ability to insert shortcodes in comments

Display filters:

  • Insert on pages – here you can select pages where you code CAN BE shown.
  • Exclude pages – pages where you code CAN NOT be shown.
  • Hide from user – allows to hide code from specified user groups/roles.

Page selectors:

  • Custom taxonomy pages are available since version 2.0.0.
  • Custom Post Type pages – version 2.0.0
  • Post formats – version 2.1.0.
  • Custom Post Type Archive pages – version 2.2.0

Other options:

  • Priority number – determines display order of the Inserts placed in the same location.
  • Align – allows you to set horizontal align for inserted code. Useful for aligning Google AdSense blocks.


  • Code Insert locations
  • Inserts table
  • Insert options


  1. Check minimal system requirements: WordPress 3.1, PHP 5.5
  2. Follow standard WordPress plugin installation procedure
  3. Activate the plugin through the Plugins menu in WordPress


febrero 25, 2021
It doesn't work, and even worse, now it won't let me delete it, it throws an error.
chinero 3, 2019 1 reply
Can you please tell me how to get the Code Insert Manager (Q2W3 Inc Manager) to work again? I used it with many sites over the years. I updated the plugin yesterday on just 2 of my sites and it is not working now at all. Just white page. I followed the instructions to just choose the pages instead of select ALL PAGES but still no luck. Also on one of the sites it is not even showing any of the pages to "include". Just has these as options to choose from: All Front Page All Post Types Pages Taxonomies pages Post Type Archive Pages Date Pages Author Pages Attachment Pages Paged Pages Search Page Preview Page Page 404 All Posts Archive: Posts All Pages All Categories All Tags So I cannot choose the pages that I have made (over 2,000 of them in this database) to be able to get the code insert plugin to cover. Please help.
agosto 11, 2017
Found this plugin more useful than some of the others doing the same job. Simple to understand and effective.
octubre 1, 2016
I've used this for a few years now but only recently realized how much I've underutilized what all it can really do! You can basically create chunks of code (even shortcodes) and choose which page and where you want it to automatically go. I hope I can use this for many more years to come.
Read all 20 reviews

Contributors & Developers

“Code Insert Manager (Q2W3 Inc Manager)” is open source software. The following people have contributed to this plugin.



* Added wp_block post type to restricted post types


  • Fixed error in display_inc() function


  • Updated plugin core, fixed most php warnings and notices
  • Added support of PHP7
  • Added standard plugin uninstall script
  • Added feature to make head and footer inserts from the post editor
  • Removed option to use [include] shortcode in comments
  • Disabled PHP eval by default! To enable PHP eval add define('Q2W3_PHP_EVAL', true); in wp_config.php. Use with caution! In multiuser or multisite enviroments you can grant PHP exec rights for non admin users!!!



  • ZeroClipboard updated to version 1.1.7. This version fixes vulnerability described here.



  • Added ability to insert shortcodes in comments. Option must be enabled in Code Insert Manager -> Settings page


  • Added support for Custom Post Type Archive pages
  • Fixed small bug with Opera multiple select


  • Added Italian translation



  • Added German translation


  • Post Formats are now available for page filters
  • To admin page added search form and capability to filter table by status (Active/Disabled)


  • Plugin renamed to Code Insert Manager
  • Added support for custom post types (support for each post type must be enabled on plugin settings page)
  • Added support for custom taxonomies (support for each taxonomy must be enabled on plugin settings page)
  • Added new insert location – After post excerpt
  • Hide from admin option is upgraded to Hide from user. Now you can specify any user group, not only Administrator. Plus there is one virtual user group – visitor (for not logged in users).
  • Admin menu entry moved to top level.


  • Added French translation.


  • Added new insert location – shortcode.


  • Fixed php evaluation error in Manual include mode.
  • Plugin was successfully tested in WordPress 3.0


  • Improved page detection on themes with modified loop.


  • Fixed high memory usage on blogs with large number of posts/categories (more than 1000).


  • Fixed broken links when WordPress installed in subdirectory.


  • Now the plugin is WordPress MU compatible (requires WP MU 2.8.1 or higher).


  • New. PHP code insertions now supported.
  • New. Align option added.


  • Fixed ‘Create New’ button malfunction in Opera and Firefox.
  • Fixed Parse error: syntax error, unexpected T_PROTECTED in some environments.


  • First public release.