I have a site with two type of user role, administrator and author.
I have a dive class name "site-shop-wrapper" which I want to show only to posts added by the administrator and hide it for all other posts added by authors.
So basically I need a function to check the post author role and if it was not an administrator, then remove the div by class name.
I am new to WP and don't know much about it, any help with bee appreciated.