This code looks identical to the code in this post. Is this some sort of WordPress plugin that hasn’t been updated by the author?
This code looks identical to the code in this post. Is this some sort of WordPress plugin that hasn’t been updated by the author?