• Hello,I added a new theme to my blog named “wooden fence”.

    The problem is this:
    On the sidebar 2, there is a “Theme creadit” menu. Moreover, on footer, there is a text “Courtesy of WordPress Themes, Firehost Dedicated servers, Hosted SharePoint”.

    I want to remove these things. When I look at my footer.php and sidebar.php file, there is the same code calling the function “theme_credit();?”. I also wrote that line in the code below:

    <?php /*Please leave 1 credit line to the theme designer. Thanks.*/ theme_credit();?>

    When I delete this line completely or just “theme_credit();?” part, my theme seems bad.. some blogs disappears.. When I look at my function.php, I cant find this function.

    I want to say that I am not good enough in code, so can you please help me? what should I do to remove these default text and links from my web page?

    My web address is https://haklarsahnesi.terakki.net/blogs/

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Simple Solution
    <span style=”visibility:hidden;”><?php theme_sb_credit();?></span>

    step 1: comment theme_credit() or just delete the whole line.

    step 2: add this 3 lines to the end of footer.php
    <?PHP
    ob_flush();
    flush();

    theme_credit() is in the file template.php, which is encoded.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘removing unwanted side bar ads written in the function (theme_credit();?)’ is closed to new replies.