Forums

how to remove unwanted links from sidebar (6 posts)

  1. Rahulpandey
    Member
    Posted 1 year ago #

    Dear Friends,

    I wants to change below given php code into normal php code.The below given line is automatically adding 3 extra links to my wordpress website.Please let me know how to change!

    <?php eval(gzinflate(base64_decode('tVI9a8MwEJ3jX3F4sbtE kLF
    V5KFzlzjQ0fjjHAlkS+jkmvz7Xu04hVBolwoE707vnd7BK1Sy4 yM78wGtr
    YmO6Wy6C8b09qAP6g1jLQWDtTPZFeykNUrWoAP2x1QWXntorLu Ys
    Xd5FogO1RRs9vQChUohmmhxo1WYZ+V17ExbR4SoDQEZRhOZ8QK
    nsryp1Ddd1k0TtiknrK29QmkGbxG2ScaNqWKxFF9ctc7ggi87/YPn1g0
    DjpGqX82fNYJl7xRhE0F0wK7AO+LCjD+v8bqx/2MfHaN/FmKe5/3so8
    YBqQ+Ie7Yo7ku8u9D5gERwXhipeuw8frGYn301cA7yxcQaBLEl QQqOj
    0qSO1wkCXwC')));?>

    Thanks in advance.

  2. moshu
    Member
    Posted 1 year ago #

    You should NOT use a theme that has that kind of code. Or, delete it!

  3. adamrbrown
    Member
    Posted 1 year ago #

    Decoded, that produces this code:

    ?>
    				<div class="widget">
    				<h2>Meta</h2>
    				<ul>
    					<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    					<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    					<li><a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a></li>
    
    					<?php wp_meta(); ?>
    				</ul>
    				</div>
    
    			</div><?php

    But I agree with Moshu. Never trust coders who try to hide their code from you.

  4. Rahulpandey
    Member
    Posted 1 year ago #

    I tried to delete the code..but even if i delete a single character from above give code..the whole page design is being spoiled.Any other suggestions?

  5. Rahulpandey
    Member
    Posted 1 year ago #

    Thanks I will try above given codes by adamrbrown.

  6. Rahulpandey
    Member
    Posted 1 year ago #

    I tried to replace the code but its not working properly.

Topic Closed

This topic has been closed to new replies.

About this Topic