update plugin to work with attachment pages

Added an admin option to allow the plugin to display the simple reach bacon
code on attachment pages.