In reply to Ahmad Awais.

@mark-k Here is my answer: http://wordpress.stackexchange.com/a/247514/8521