Title: Inserting PHP Code
Last modified: August 18, 2016

---

# Inserting PHP Code

 *  [donbruce](https://wordpress.org/support/users/donbruce/)
 * (@donbruce)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/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?
    Thanks ================= 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](https://wordpress.org/support/users/include/) “[http://www.thebloglinkexchange.com/link.php?userId=349&#8221](http://www.thebloglinkexchange.com/link.php?userId=349&#8221);;?
   >
 * 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)

 *  [cre8d](https://wordpress.org/support/users/cre8d/)
 * (@cre8d)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/inserting-php-code/#post-303664)
 * Log into your WordPress account, click on Presentation > Theme Editor > Sidebar
   Template and then add the code there.
 *  Thread Starter [donbruce](https://wordpress.org/support/users/donbruce/)
 * (@donbruce)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/inserting-php-code/#post-303671)
 * 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.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/inserting-php-code/#post-303672)
 * 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.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/inserting-php-code/#post-303672)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
