Added conditional to social share buttons function call due to recent plugin update bug. Probably should have done this in the beginning.