changed conditional check to load gallery for magazine
removed gallery code and added in short code check