How to see my index.php when I View source?

Discussion in 'WordPress' started by charlyms21, Mar 18, 2010.

  1. #1
    I have a website which is using CSS gallery theme.
    I dont have a home.php
    So I would like to do customization in my index.php
    Can you explain to me how do I view my index.php and compare it with others index.php while viewing their source so that I can get my website closer to his.
    thanks
     
    charlyms21, Mar 18, 2010 IP
  2. bweller

    bweller Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're not going to be able to view any PHP source from a website in your browser. PHP is a language that is interpreted on the server-side of the HTTP transaction.

    This means that the PHP is already turned into (X)HTML by the time it is parsed and displayed by your browser.

    You can view your own source code for your WordPress installation by FTPing to your ./wp-content/themes/yourthemename/ directory where yourthemename is replaced by the directory name of the active theme.

    Hope this helps.
    -Ben
     
    Last edited: Mar 22, 2010
    bweller, Mar 22, 2010 IP