Title: Edit html code from php file
Last modified: August 21, 2016

---

# Edit html code from php file

 *  [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * (@teeshiu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/)
 * Hi I’m trying to edit the html codes of my site on wordpress, but all the files
   I have are in php format. When I opened it up with Dreamweaver attempting to 
   change it, the codes turn out to be different from how I inspect elements from
   my site. (in php code I suppose.)
 * Can someone please tell me how can I edit the html codes from the php files? 
   I have no knowledge in php at all..
 * Thanks in advanced.

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779143)
 * Sorry, your question is too vague. Please give an example of some PHP code that
   you need to find HTML form.
 *  Thread Starter [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * (@teeshiu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779144)
 * Sorry. Here’s the PHP code:
 *     ```
       <?php get_header(); 
   
       if(get_option('ocmx_home_page_layout') != '') $layout = get_option('ocmx_home_page_layout'); else  $layout = 'blog'; 
   
       // Load the home page template according to the user's selection under Theme Options > General > Home Layout
       get_template_part('/functions/'.$layout.'-home');
   
        get_footer(); ?>
       ```
   
 * And the HTML code I would like to edit:
 * `<li class="no_display active" style="background-image: url(http://www.willinovaproductions.
   com.au/wp-content/uploads/2013/05/0523_jimnat_FINAL.jpg); display: list-item;
   background-position: 50% 50.34168564920273%;background-repeat: no-repeat no-repeat;"
   >`
 * Thank you!
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779146)
 * Which theme are you using?
 *  Thread Starter [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * (@teeshiu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779147)
 * I’m using a theme called “Dynamo” bought from Obox Theme.
 * Here’s the link of the demo
    [](http://obox-design.com/demo-theme.cfm?theme=dynamo)
 *  Thread Starter [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * (@teeshiu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779148)
 * [http://obox-design.com/demo-theme.cfm?theme=dynamo](http://obox-design.com/demo-theme.cfm?theme=dynamo)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779149)
 * The PHP code you posted does not contain any `<li>` HTML, it does however call
   three files through the “get_header”, “get_template_part” and “get_footer” functions.
   You need to discuss what files are being brought in with the people who sold 
   you your theme. We aren’t given access to commercial themes.
 *  Thread Starter [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * (@teeshiu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779150)
 * Ok, I will try asking them then.
 * Thank you very much!

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

The topic ‘Edit html code from php file’ is closed to new replies.

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [tee.shiu](https://wordpress.org/support/users/teeshiu/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/edit-html-code-from-php-file/#post-3779150)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
