Title: Source code éditing
Last modified: August 30, 2016

---

# Source code éditing

 *  [danicolas07](https://wordpress.org/support/users/danicolas07/)
 * (@danicolas07)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/)
 * Hi ! First, i’ll tell you that i am not a coder, i am learning…
 * I took a look at my source code and it did not look very good. I used «Dirty 
   Markup» and it cleans the html wich gave a better look to the source code.
 * Now, i searched for days how or where to replace the previous code with the new
   one. With what i read, because the code contains html, css, java… there different
   files we have to look at.
 * So, my question is : is there someone who can explain me how/where to replace
   the source code i found with Google’s tool to see code ? Thanks and sorry if 
   i maybe made english mistakes, i’m french canadian. Strangely, i learn better
   reading in english. 🙂 Thank you.
 * Dan

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817000)
 * If you want WordPress to work you cannot willy-nilly replace source code. Code
   problems might come with plugin conflict or with your own entries for posts, 
   pages or widgets.
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817018)
 * What exactly are you trying to do? The source code is the end result of everything
   you put into your site.
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817023)
 * [@danicolas07](https://wordpress.org/support/users/danicolas07/)
 * To update code from you can see in Google Chrome Inspector (I adviced some people
   to do that), then you have to physically modify files in a theme folder, like.
   css files or .php files.
 * For example, you use a theme called “magazine-theme”.
    You’ll have to search 
   your hard drive for wp-content/themes/magazine-theme and a file called style.
   css or so.
 * Edit it with a good webdesigner text/code tool (sublime on mac, pspad on pc for
   example, there are tons of good tools). Then, once file is saved, upload it on
   your webserver at the right location to overwrite the current file. Then push
   refresh button on your browser, to see changes.
 * Hope it helps,
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817027)
 * Wrong. Unless at every upgrade you want to break your site. For changing css 
   use a child theme. Look it up at wordpress.org (Sorry not on my computer.) Do
   not change php files.
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817028)
 * [@kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Not “wrong”, in any case (parent or child theme) and according to question, it’s
   the same approach (with different urls).
 * Subject is mainly how to work with files and edit them, not X or Z URL.
 * If you can guess question is from a parent or child theme, I buy your advice 
   🙂
 *  Thread Starter [danicolas07](https://wordpress.org/support/users/danicolas07/)
 * (@danicolas07)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817069)
 * Hi everybody! Sorry for the delay. Thank you for your explanations.
 * [@questas_admin](https://wordpress.org/support/users/questas_admin/)
    I want 
   to have «clean» source code for SEO. I know that the source code is the result
   of everything… But i was hoping that there was a way to find where i can edit
   code.
 * [@digico](https://wordpress.org/support/users/digico/) paris, thanks, i’ll try
   your trick and [@kmessinger](https://wordpress.org/support/users/kmessinger/),
   i have a child theme where i put changes, not to lose everything when an upgrade
   appears.
 * It would be long to explain how i work, what i do… Just say again i am a «debutant»,
   i use Elegant Themes (drag & drop), i use a child theme to change code in style
   sheet, header, footer etc… I’m able to change code to have what i need, media
   queries too…
 * If you take a look at kmessinger site’s source code (example). Everything’s well
   aligned : «meta», «link», «ul»… all together… And if you want to take a look 
   at one of my site source [http://extensionscl.com](http://extensionscl.com) You’ll
   see that i have a lot to learn… 🙂
 * Maybe you’ll tell me: «go back at the beginning of wordpress, you don’t know 
   how to build a site», it’s OK. But maybe someone can tell me few things or direct
   me to a link where i could learn rapidly… what to do ?
 * Sorry for this long message, but do you think that with source code like mine,
   i’ll be penalized by Google? Thank you very much for your help and understanding.
   Maybe one day, i’ll be as good as you are. I learn by myself… One day at a time.
   Dan

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

The topic ‘Source code éditing’ is closed to new replies.

## Tags

 * [editing](https://wordpress.org/support/topic-tag/editing/)
 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [danicolas07](https://wordpress.org/support/users/danicolas07/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/source-code-editing/#post-6817069)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
