awkward_clam Posted December 14, 2010 Share Posted December 14, 2010 Hey, I have a downloaded theme which appears to have hidden spam link in the footer somewhere, but I'm having a hard time locating the source. Here is the site: www.yourvancouvermortgagebroker.ca At the very bottom of the source, you can see: <script type='text/javascript' src='http://www.yourvancouvermortgagebroker.ca/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.47'></script> <script type='text/javascript' src='http://www.yourvancouvermortgagebroker.ca/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.2'></script> <a href ="http://wp2blog.com"><img src="http://www.yourvancouvermortgagebroker.ca/wp-content/themes/Minimal/images/blank.gif" height="1" width="1" /></a> </body> </html> I've tried de-activating the plugins and it's still there (so it's not a plugin). I've also changed themes and it disappears, so it's only this theme. Here is functions.php: <?php require_once(TEMPLATEPATH . '/epanel/custom_functions.php'); require_once(TEMPLATEPATH . '/includes/functions/comments.php'); require_once(TEMPLATEPATH . '/includes/functions/sidebars.php'); load_theme_textdomain('Minimal',get_template_directory().'/lang'); require_once(TEMPLATEPATH . '/epanel/options_minimal.php'); require_once(TEMPLATEPATH . '/epanel/core_functions.php'); require_once(TEMPLATEPATH . '/epanel/post_thumbnails_minimal.php'); $wp_ver = substr($GLOBALS['wp_version'],0,3); if ($wp_ver >= 2. include(TEMPLATEPATH . '/includes/widgets.php'); ?> and footer.php: <div id="footer" > <div id="footer-content"> <ul id="bottom-menu"> <?php global $is_footer, $page_menu, $category_menu; $is_footer = true; elegant_init(); if (get_option('minimal_home_link') == 'on') { ?> <li <?php if (is_front_page()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php _e('Home','Minimal'); ?></a></li> <?php }; ?> <?php if ($category_menu <> '<li>No categories</li>') echo($category_menu); ?> <?php echo $page_menu; ?> </ul> <!-- end ul#bottom-menu --> </div> <!-- end #footer-content --> </div> <!-- end #footer --> </div> <!-- end #page-wrap --> <?php include(TEMPLATEPATH . '/includes/scripts.php'); ?> <?php wp_footer(); ?> </body> </html> Where should I look from here? The link switches every once and a while if that's relevant. I've tried a full text search of all the files for the actual link and it never shows up. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/ Share on other sites More sharing options...
denno020 Posted December 14, 2010 Share Posted December 14, 2010 I don't understand what you're trying to get rid of? The Copyright notice? I didn't have anything that looked like SPAM underneath the bottom navigation menu. I'm using Google Chrome if it matters. Denno Quote Link to comment https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/#findComment-1147061 Share on other sites More sharing options...
awkward_clam Posted December 14, 2010 Author Share Posted December 14, 2010 I'm seeing this code from 2 different computers at the very bottom: </script> <script type='text/javascript' src='http://www.yourvancouvermortgagebroker.ca/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.47'></script> <script type='text/javascript' src='http://www.yourvancouvermortgagebroker.ca/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.2'></script> <a href ="http://themes.weboy.org"><img src="http://www.yourvancouvermortgagebroker.ca/wp-content/themes/Minimal/images/blank.gif" height="1" width="1" /></a> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/#findComment-1147063 Share on other sites More sharing options...
awkward_clam Posted December 14, 2010 Author Share Posted December 14, 2010 have no idea who weboy is, and that link changes to different random foreign sites Quote Link to comment https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/#findComment-1147064 Share on other sites More sharing options...
awkward_clam Posted December 14, 2010 Author Share Posted December 14, 2010 Just replaced the theme from another source, it's gone. Quote Link to comment https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/#findComment-1147146 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.