I’m not sure I’m adding it in the right place. I tried adding it as a code snippet and that didn’t do anything. I also tried adding it right after the php I added in a GP element (hook) to limit the carousel to posts with the same category as the current post. That also had no effect. I blame my lack of knowledge of php.
Sorry to keep bugging you.
Have a great day!