Title: Modifying HTML in wordpress
Last modified: August 30, 2016

---

# Modifying HTML in wordpress

 *  Resolved [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/)
 * Hello I’m new to the site,
 * I know the **HTML is retrieved my the php code** found in the “Editor” and then
   displayed. If I use my inspection tool I can modify the HTML as I need it but
   then come time to change it in WordPress its all php.
 * Where can I find this HTML that is retrieved and modify it in such a way to get
   the desired results?
 * Thanks

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

 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516607)
 * I am currently going through my entire site to do some cleanup and make a few
   additions/changes by copying from the Dashboard Page/Post editor “Text” mode 
   into my own editor and then doing a copy-and-paste from there back into the WordPress
   editor. For one set of pages, I am even using `<pre>` and `</pre>` to display
   nothing other than exactly what I put there.
 * Is that the kind of thing you are asking about? If you do something like that,
   just be certain to never go back into “Visual” mode at the Dashboard editor with
   any given page or WordPress will re-do certain things on that page in its own
   ways.
 *  [Jason King](https://wordpress.org/support/users/jasoncharlesstuartking/)
 * (@jasoncharlesstuartking)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516609)
 * What exactly is the desired result?
 * Which specific bit of code do you want to change? And to what?
 * By the way, it’s not really safe to change code using Appearance > Editor. Suggest
   you use FTP client software instead.
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516635)
 * Id like to be able to redirect the page displayed one logged in (picture below).
   But, my general question was is it possible to change the HTML and not the php
   files? Where are the files that the php retrieves so I can modify them that way
   so that when they’re retrieved it changes the output.
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516638)
 * 
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516640)
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516642)
 * Sorry for the above blank posts…. apparently we cant delete posts here. I was
   trying to post the picture link that isn’t working. Anyhow… yes Id like to know
   where I can find the HTML files to be modified. Thanks
 *  [Jason King](https://wordpress.org/support/users/jasoncharlesstuartking/)
 * (@jasoncharlesstuartking)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516645)
 * There are no static .html files. That’s not how WordPress works.
 * The content of all the posts and pages is stored in a MySQL database. Remember
   when you set up WordPress it needed a database? That’s why.
 * WordPress and your theme are comprised of PHP files.
 * These PHP files pull in your posts’ content from the database and display it 
   as html code in visitors’ browsers.
 * So depending on what you want to alter, you either do so via the WordPress dashboard(
   if it’s content) or by editing the theme’s files (if it’s not).
 * Your theme is stored within a folder called wp-content/themes on the server. 
   You can edit its files by using FTP.
 * But which file(s) do you need to alter? No idea, you’d need to tell us what you
   want to do.
 * There’s no link to a picture in your last message, so sorry, still don’t know
   what you’re trying to achieve.
 * But if you want to redirect people to a particular page once they’ve logged in(
   I think that’s what you meant) then you could try a plugin called [Peter’s Login Redirect](https://wordpress.org/plugins/peters-login-redirect/).
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516655)
 * That’s exactly what I needed to know Jason. Thanks so much. Im going to try that
   plug in.
 * This is a pic of the WC Vendor page id like to redirect.
    [http://lessontap.com/wp-content/uploads/2015/09/Change-logged-in-page.png](http://lessontap.com/wp-content/uploads/2015/09/Change-logged-in-page.png)
 *  Thread Starter [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * (@ramochoa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516703)
 * Thanks

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

The topic ‘Modifying HTML in wordpress’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [ramochoa](https://wordpress.org/support/users/ramochoa/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-html-in-wordpress/#post-6516703)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
