used class centre to controlling the featured image

Signed-off-by: schnnmbr <sachingopalakrishnan@gmail.com>