Jump to content

Trying to remove spam link from footer.


awkward_clam

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/221591-trying-to-remove-spam-link-from-footer/
Share on other sites

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>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.