Title: Can&#8217;t edit theme source code
Last modified: February 12, 2023

---

# Can’t edit theme source code

 *  [SCOT DENHALTER](https://wordpress.org/support/users/scotnik/)
 * (@scotnik)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/)
 * in viewing a page or post, residual Intrace elements appear that are not visible
   after saving customization. At the top of the screen is an image of a living 
   room. At the bottom are two blocks I do not want to appear.
 * I think I have found these elements in the source code, but I can’t delete them.
   I copied the code and pasted it into Visual Studio. I can edit the code there,
   but cannot copy and paste the edited version over the source code in the WP theme.
    -  This topic was modified 3 years, 3 months ago by [SCOT DENHALTER](https://wordpress.org/support/users/scotnik/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-edit-theme-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Yoga](https://wordpress.org/support/users/yogajegstudio/)
 * (@yogajegstudio)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16464134)
 * Hi [@scotnik](https://wordpress.org/support/users/scotnik/) 
   Could you make the
   page published?So I can check what causing the issue.Also I don’t recommend to
   edit the theme’s files directly, this can cause an issue when there is a theme
   update. Because all the changes you’ve made could possibly be missing after an
   update.
 *  Thread Starter [SCOT DENHALTER](https://wordpress.org/support/users/scotnik/)
 * (@scotnik)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16464150)
 * [https://celluloidsouvenirs.com/home/john-the-scots-written-reviews/](https://celluloidsouvenirs.com/home/john-the-scots-written-reviews/)
 * The post is published and the site is live, but I was logged into the site. Maybe
   that was the problem, The above link is a page, not a post, but it is marred 
   by the same image at the top and block elements at the bottom.
 *  [Yoga](https://wordpress.org/support/users/yogajegstudio/)
 * (@yogajegstudio)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16467872)
 * Hi [@scotnik](https://wordpress.org/support/users/scotnik/)
 * It’s because your pages used default template.
   _(Templates are located in **Dashboard-
   >Appearance->Editor**)._
 * The default **Page** template contains header, footer, hero and page’s content.
   
   Which mean, if you trying to add a full page layout from library, it will be 
   loaded inside the page’s content hence why it looks like that.If you need to 
   make the page’s content full _(without using the default template)_, You can 
   switch the page’s default template into **Blank Canvas**.Here is a screenshot
   reference :
 * ![](https://i0.wp.com/i.ibb.co/Hh04W6W/image.png?ssl=1)
 *  Thread Starter [SCOT DENHALTER](https://wordpress.org/support/users/scotnik/)
 * (@scotnik)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16482232)
 * The editor didn’t give me template options. Turns out I had to go to Dashboard
   > Pages >Quick Edit to find template options, but I wouldn’t have thought to 
   go there without your advice. So, thank you. My pages now look like I wanted 
   them to.
 * Now I just have to figure out how to fix the same problem with my posts. Unfortunately,
   Quick Edit on a post does not give me a Template option field in which I can 
   choose “Blank Canvas.”
 *  [Yoga](https://wordpress.org/support/users/yogajegstudio/)
 * (@yogajegstudio)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16485918)
 * Hi [@scotnik](https://wordpress.org/support/users/scotnik/) 
   In that case, you
   might need to edit the Single template directly in **Dashboard->Appearance->Editor**.
   Inside the Site Editor click the WordPress logo, then choose option Templates,
   and then choose the Single template.Please check this screenshot :
 * ![](https://i0.wp.com/i.ibb.co/Zc8gbfX/Screenshot-2023-02-20-at-09-35-22.png?
   ssl=1)
 * Remove the part that you don’t want to use.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Can’t edit theme source code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/intrace/1.2.1/screenshot.jpg)
 * Intrace
 * [Support Threads](https://wordpress.org/support/theme/intrace/)
 * [Active Topics](https://wordpress.org/support/theme/intrace/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/intrace/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/intrace/reviews/)

## Tags

 * [blocks](https://wordpress.org/support/topic-tag/blocks/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * 5 replies
 * 2 participants
 * Last reply from: [Yoga](https://wordpress.org/support/users/yogajegstudio/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/cant-edit-theme-source-code/#post-16485918)
 * Status: not resolved