I have the following problem – I installed Attachements plugin, attached file to post and added your code snippet to content-single.php (theme Twentyeleven). But when I go to see this post, I get the following error message:
Fatal error: Class 'Attachments' not found in ...\wp-content\themes\twentyeleven\content-single.php on line 24
What am I doing wrong? Should I modify something in your code snippet, or should it work out of the box.
- The topic ‘Class 'Attachments' not found’ is closed to new replies.