$ is not a function error in WordPress occurs when jQuery runs in no-conflict mode. Fix it by replacing $ with jQuery or wrapping code in jQuery().| GS Plugins