Support » Fixing WordPress » How to delete wp_footer?

  • Resolved ouassim95

    (@ouassim95)


    In order to get the wordpress dashboard bar to work, I realized I needed to execute the <?php wp_footer(); ?> in my footer.

    Except when I did, it displayed a bunch of crap I don’t want down there in my footer.

    How do I execute this function but remove all the useless crap it displays.

    This is the crap i am talking about:

    <a style="margin:-20px 0 0;" href="http://themes.weboy.org/" title="Free WordPress Themes"><img style="padding:0;border:none" src="http://i46.tinypic.com/350ux5f.png" height="1" width="1" alt="Free WordPress Themes" /></a><div style="margin:-20px 0 0;">
    	<a href="http://themes.weboy.org/"><img style="padding:0;border:none" src="http://i46.tinypic.com/350ux5f.png" height="1" width="1" alt="WordPress Themes" /></a>
    	<a href="http://goo.gl/LXJT"><img style="padding:0;border:none" src="http://i46.tinypic.com/350ux5f.png" height="1" width="1" alt="" /></a></div>

    Here is a list of the plugins i am using, maybe that will help you.
    Contact Form 7
    Google Analyticator
    Login Logo
    My Snippetess
    PC Robots.txt
    SubHeading
    Wordpress SEO
    WP-PageNavi

Viewing 8 replies - 1 through 8 (of 8 total)
  • edit theme’s footer.php

    You should never remove wp_footer many plugins and functions will rely on it. Extra stuff in your theme is because you’ve got a bad theme, the link doesn’t even work. I’d suggest searching for the text in the theme files and just removing the whole function or getting a new theme from the repository on this site. While there is sometimes a small link to the theme author site it’s typically very small and easy to remove by just searching for the text in the theme.

    Thread Starter ouassim95

    (@ouassim95)

    Ye i did that and i searched in all the theme files but i could not find it,
    Can it maybe something that is in one of those plugins.

    Thread Starter ouassim95

    (@ouassim95)

    Look this is the code for the theme footer.php

    <!-- Start Footer -->
    	<div id="footer">
    
    		<!-- Start Footer Left -->
    		<div class="footer" id="footer_left">
    	  	<p>Copyright &copy; 2009 <?php bloginfo('name'); ?> - All rights reserved</p></div>
    		<!-- End Footer Left -->
    
    	</div>
    	<!-- End Footer -->
    
    </div>
    <!-- End Wrapper -->
    
    <script type="text/javascript"> Cufon.now(); </script>
    		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
    		<?php wp_footer(); ?>
    </body>
    </html>

    The problem is this:
    <?php wp_footer(); ?>

    I know that i cant delete it because it is necessary for the plugins

    have you tried the theme’s functions.php? Maybe the code is hooked into wp_footer

    Thread Starter ouassim95

    (@ouassim95)

    Yes I have searched in all folders using the program EasyFind for mac. But it cant find anything

    tried searching for base64_decode?

    Thread Starter ouassim95

    (@ouassim95)

    Thanks for all your advises, i solved it by demanding a new and clean copy of the theme. the problem was that the publisher decoded the code.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to delete wp_footer?’ is closed to new replies.