2020年4月30日 星期四

disable adsense on 404 pages in wordpress


My client got adsense policy violation for 404 pages since the static adsense code appeared in the widget of sidebar. Therefore, we run few lines of code to disable the adsense in 404 pages.