remove the ads at the foot of my show page

ads comes from the theme,and all files of the theme in /wp-content/themes/themename.

I get the footer.php in this directory,edit it in file editor, comments off the link of all the ads.

Save, then refresh the page.OK,done.