Hello McMullen,
If code above doesn’t help, then please provide us with link to the page and wp-admin access in Private Content.
Regards, Robert Hall.