To add AdSense to a WordPress site, you can follow these steps:
Sign up for a Google AdSense account: If you don't have a Google account, you will need to create one.
Verify your website: Log in to your AdSense account and add your WordPress site as a new property. You'll need to verify that you own the site by adding a code to your WordPress header or using a plugin.
Install a plugin: There are several AdSense plugins available for WordPress, such as Quick AdSense and Ad Inserter, which make it easy to add AdSense to your site. Choose the one that works best for you and install it on your WordPress site.
Create ad units: Decide where you want to display ads on your site and create ad units. AdSense provides a variety of ad formats, including display ads, link units, and more.
Add the ad code: Copy the ad code provided by AdSense and paste it into the WordPress plugin. You can also use the plugin to control the placement and appearance of your ads.
Get reviewed: After you've added the code to your site, AdSense will review your application and check that your site complies with their policies. This process can take up to a few days.
Start earning: Once your site is approved, your ads will start appearing and you'll start earning money. You can monitor your earnings and performance in the AdSense dashboard.
Note: Google AdSense has strict policies and guidelines, so be sure to read and follow them carefully.