Support » Themes and Templates » How to remove ads from 404 error pages

  • Hello,

    For god sake please someone tell me how to remove the ads that are showing in my website in the head section and also at the sidebar widget from 404 error pages? I am using icynets simplic theme. I have asked several questions on the theme support but actually they didn’t replied on those question.So is there any other person here who can help me to solve this problem? It’d be a great help for me.

    Thank You

Viewing 2 replies - 1 through 2 (of 2 total)
    1. Goto your themes folder e.g. wp-content/themes/icynets-simplic
    2. Open the file header.php on editor
    3. Goto line 67 where it says icynets_simplic_header_area()
    4. Now wrap everything in a condition e.g. <?php if( !is_404() ){ icynets_simplic_header_area(); } ?>

    Remember that this is a hack and everything will be replace with the new code when the theme updates.

    Thread Starter usafreebiesdaily

    (@usafreebiesdaily)

    Hey thanks for the reply.So there isn’t any permanent solution? and what about the widget area ad? and exactly how to wrap it? i don’t understand that exactly where i put this code. Anywhere in header.php?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove ads from 404 error pages’ is closed to new replies.