Support » Fixing WordPress » Inserting PHP Code

  • I’m trying to do this, but have no idea where/how to find the page I should be inserting this to. Do I go to my CPanel & find a page (which?) & edit/insert from there?
    You can activate your account by adding your unique PHP code inside your blog template. The best place is to add it in the sidebar template so the links will appear in the sidebar along with the other links.

    First you do is copy your unique code here below:

    <?php @include “”; ?>

    Copy the selected code and place it somewhere in the sidebar template where you want to display the links.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Log into your WordPress account, click on Presentation > Theme Editor > Sidebar Template and then add the code there.

    Thanks, but I don’t see how I can edit the side bar…I see this line at the bottom of the screen……

    If this file was writable you could edit it.

    Use yout FTP client to make it writable = chmod 666.

    Edit. Or, better edit it on your computer in a plain text editor and upload it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inserting PHP Code’ is closed to new replies.