Google requires 404 pages to be ad-free. I have hooked a site-wide 729px ad in genesis_before_loop. How do I remove it on my 404 page (or anywhere else for that matter)?http://goldbuyeru.com
What code did you use to hook it in?
You can add the conditional tag to exclude it from 404 pages.
Please copy the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Dynamik has a custom css area which includes conditionals functionality. I added
! is_page(874) && ! is_page(908) which adds the ad on all pages except 404 page (which is set up with a php redirect) and my google custom search results page.
Thanks for the help.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?