• Hi,

    I have ads on the side of my pages in the sidebar. Trying to remove them can’t find where. Someone else coded them into the php, but I don’t know php.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try looking in sidebar.php.

    post your sidebar.php contents

    Thread Starter Gekko74

    (@gekko74)

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I have a similar problem can’t remove a tutorial like header from my new feature page…it says change in the php..its hardcoded?

    @summer Haven: It is considered impolite to interrupt another poster’s thread. Please post a new topic.

    Thread Starter Gekko74

    (@gekko74)

    These are some of the files created, I understand include files but can’t find where the “include” command was put. I think the custom ads are ref. css files. But the css files are not listed in the Edit feature on the right.

    front_page.php (front_page.php)
    iframe-featured.php (iframe-featured.php)
    iframe-raw.php (iframe-raw.php)
    iframe-training.php (iframe-training.php)
    iframe-updates.php (iframe-updates.php)
    include-sidebar-bio.php (include-sidebar-bio.php)
    include-sidebar-training.php (include-sidebar-training.php)
    include-sidebar.php (include-sidebar.php)
    links.php (links.php)
    page-bio.php (page-bio.php)
    page-custom.php (page-custom.php)
    page-videos.php (page-videos.php)

    Thread Starter Gekko74

    (@gekko74)

    Better still, can I replace the sidebar.php file with a default one? I don’t mind resetting all the side bars.

    WordPress doesn’t ‘include’ files. Perhaps you need to review Theme_Development to get a better understanding of the templating system.

    @gekko74

    We still need the sidebar.php script to be able to help.. it looks like you may have tried to post it but it was blocked.. if thats the case please make sure you put the code in backticks ‘ ‘ . then it wont get blocked.

    @summer Haven

    I would head Esmis advice. Ive been on these forms enough to see him solve probably 1000000000 problems. Also your problem is completely different. Gekko is asking for help removing ads from sidebar. not a header.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Need to remove custom php code from sidebar???’ is closed to new replies.