I am working on trying to include the attachements plugin as part of a theme package.
1. I have added the whole “attachements” folder to my theme folder
2. I’ve added the following to my theme functions file.
//Include Attachements Plugin http://wordpress.org/extend/plugins/attachments/
require_once dirname(__FILE__) . '/attachments/index.php';
This shows up the attachements fine in the pages/posts at the bottom, but when I go to add a new attachement it pulls up the screen, I am able to select the image and the modal window closes but no attachment is shown on the page like it does when the plugin is just activated.
I am wondering if it might have something to do with permissions as well. I am running this on a multisite setup where I have to set up permissions manually. Are there any special permissions that I need to think about? Thanks so much for your help or thoughts.
- The topic ‘Include Attachements Plugin in Theme’ is closed to new replies.