1. I can only get the layers to display and be searchable if they are uploaded to ArcGIS Online. When I reference the map services on our AGS in the code it doesn't work. Is it because we are still using AGS 10.2.2 or will this not work with map services perhaps?
It is a conflict between ArcGIS and two JS files from WordPress.
Standalone, the ArcGIS map code doesn’t generate a JS error. But mix it in with our WordPress framework and BAM! JS error. It is one of these two files:
Error Message: “TypeError: b is undefined (masonry file 11:43)”