To verify the WordPress website use the Yoast SEO plugin. Login to Google Search Console and get the Google verification code.
Google Verification Code can be found under Google Search Console->Settings->Property Settings->Ownership verification.
Direct link to google search console verification is https://www.google.com/webmasters/verification/home
Following are the Google Verification Methods
Google Verification Methods
HTML file upload
Domain name provider
Google Tag Manager
This article uses HTML tag verification method for illustration.
In HTML tag there will be a meta tag element like,
Content is the Google Verification code. Copy the content from meta tag and paste in Yoast SEO google verification code text box.
In WordPress Admin Dashboard navigate to Yoast SEO Plugin. Plugin is available under Plugins->Yoast SEO or Directly in Admin Dashboard as SEO
Click Webmaster Tools in Yoast SEO and navigate to Google verification code text box. Now paste the HTML tag meta content in text box. Press Save changes and you are done.
To avoid manual errors instead of typing the verification code copy the verification code and paste in Yoast SEO google verification code text box.