Title: How to edit my source code?
Last modified: August 18, 2016

---

# How to edit my source code?

 *  [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/)
 * Hello,
 * I have a calendar on my blog (www.yunglee.com) that doesn’t look quite right.
   The person who created the CSS for the calendar told me how to change some things.
   However, I need to edit the html on my page. How do I go about doing this?
    I
   mean, I right click my home page, choose view source and the code in there is
   what I want to change. I tried doing this in the theme editor but its not the
   same code. I’m guessing it has to do with PHP which I have no experience with
   at all. PLease help if you can. THanks.
 * Yung

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/how-to-edit-my-source-code/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/how-to-edit-my-source-code/page/2/?output_format=md)

 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199150)
 * If you’re on WordPress 1.5, go to “Presentation => Theme Editor”. From there 
   you have all of the files in your theme and can edit it right there.
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199151)
 * [http://codex.wordpress.org/Editing_files](http://codex.wordpress.org/Editing_files)
   will also help you.
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199152)
 * Hey coldforged, I really like your site by the way…if you’re the same guy i’m
   thinking of.
    Anyhow, the theme editor doesn’t display what the actual source
   page displays so I can’t edit what I’m trying to edit. Weird eh?
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199154)
 * Thanks, I’m sure mine is the site you’re thinking of since it is obviously a 
   thing of beauty which is admired by all :). Oh, I kill me.
 * Well, your templates will be different from the resultant HTML generated by WordPress.
   The templates tell WordPress how to generate the look of your site, so those 
   templates are filled with PHP that won’t show up in the eventual HTML if you 
   view source.
 * Your calendar will typically be in the `sidebar.php` file. However, if the person
   who created your CSS told you to modify how the calendar is created that will
   be tricky… the calendar — if it’s a typical WP calendar — is generated dynamically
   inside a function. It’s not static HTML.
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199155)
 * oh bbbbbbooooooooo….
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199156)
 * so CAN it be done? If yes, how? : )
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199157)
 * It would help if we knew what you wanted to change.
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199160)
 * Okay, on my blog, there’s a section at the bottom of the calendar that looks 
   out of place. Actually, it shouldn’t even be there. The person who helped me 
   with the CSS said that it could be because of the footer in the HTML source code
   since her blog using the same calendar CSS looks fine. I wanted to edit this 
   to see if that is the cause of the problem but I can’t edit to remove the footer
   in the section of the calendar : (
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199164)
 * The sidebar can be edited via the Sidebar Template (usually sidebar.php) and 
   the footer can be edited via the Footer Template (usually footer.php).
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199171)
 * For the particular theme I’m using (Landzilla), there is no sidebar.php or footer.
   php file. And, I’m not trying to delete the actual footer but if you view the
   source, in the section where the calendar is, there is a footer tag there that
   I want to remove.
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199172)
 * It must be in the main `index.php` then.
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199176)
 * well, yes, I put the calendar div id in the main index.php. The sidebar info 
   is located there too. I guess I just need to find a way to edit the static html.
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199177)
 * That’s just it, you can’t edit the static HTML because it doesn’t exist. WordPress
   generates the content dynamically every time it’s requested.
 *  Thread Starter [yung_chi_lee](https://wordpress.org/support/users/yung_chi_lee/)
 * (@yung_chi_lee)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199178)
 * Ohhh I c : (
 * <h2>Calendar</h2>
    <div id=”calendar”> <?php get_calendar(); ?> </div>
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/#post-199179)
 * Precisely.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/how-to-edit-my-source-code/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/how-to-edit-my-source-code/page/2/?output_format=md)

The topic ‘How to edit my source code?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 6 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/how-to-edit-my-source-code/page/2/#post-199440)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
