• Hello, I want to edit a theme a little bit, but I can’t find the .XHTML file, where is it. The one that loads when you go to the homepage.
    I am using Google Chrome with a FireBug-like feature and there I can check some stuff but I don’t know where is the stuff I am looking at.

    Regards

Viewing 15 replies - 1 through 15 (of 16 total)
  • What Theme are you using/wanting to edit?

    Thread Starter electrox73

    (@electrox73)

    The theme is called motion…link

    Here are all the files in the current version (1.16) of the Motion Theme:
    http://themes.svn.wordpress.org/motion/1.1.6/

    Generally speaking, WordPress Themes do not have .xml files. WordPress Themes are comprised of .php files that are parsed by the server, which outputs the XHTML.

    What, exactly, are you wanting to edit?

    Thread Starter electrox73

    (@electrox73)

    That’s the problem I don’t know what’s the name of that file…but I can view it, it looks like this:

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    Thread Starter electrox73

    (@electrox73)

    Sorry but I don’t know how to use Pastebin, this is my site and view the source code there because I can’t paste it here.

    The file I want to edit is basically the main XHTML file of the whole site.

    Regards

    The file I want to edit is basically the main XHTML file of the whole site.

    too general – which part/lines/words/tags/section of that page do you want to edit?

    the html output of a wordpress site is usually generated on the server, by the output of several php template files:

    maybe this explains the workings of a wordpress site:

    http://yoast.com/wordpress-theme-anatomy/
    http://codex.wordpress.org/Stepping_Into_Templates

    if you want to change part of the html structure, you need to identify the template file where this part of the html was generated; and edit this template file.


    pastebin:
    click on the link http://pastebin.com/
    – this opens a page with a big area where you can write or paste your code into;
    – scroll down and press ‘submit’;
    – you then get a new address in the top browser address bar;
    – copy this address/url and post it here in your reply.

    Thread Starter electrox73

    (@electrox73)

    Like line 278, the second last one
    And 57-59

    Here are all the files in the current version (1.16) of the Motion Theme:
    http://themes.svn.wordpress.org/motion/1.1.6/

    What, in those files, do you want to edit?

    Thread Starter electrox73

    (@electrox73)

    I don’t know which are the files, that is the problem.

    that is the trouble already – if i paste the html of your link into dreamweaver, i only get 213 lines.

    can you post the text here to make it clearer?

    or copy a few lines before and after the code you want to change, and post it here directly (please use the ‘code’ button to mark the code)

    Okay then: what is the specific content that you want to change? Text color? Footer text? What, specifically, do you want to change?

    Thread Starter electrox73

    (@electrox73)

    The ad that is below the footer. I want to change its class

    And the code starts with <div class="dulezite"> and there is this code above it:

    <div id="adminbarsearch-wrap">
    				<form action="http://www.pentagramranger.6f.sk" method="get" id="adminbarsearch">
    					<input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" />
    					<input type="submit" class="adminbar-button" value="Search"/>
    				</form>
    			</div>
    		</div> 
    
    		</div><!-- /wrapper -->

    The Motion Theme does not add a <div class="dulezite"> or any adverts below the footer.

    Are you using any Plugins that add this code?

    Thread Starter electrox73

    (@electrox73)

    No, my webhost does that. It automates the process of installing WordPress and adds an ad to the bottom.

    No, my webhost does that. It automates the process of installing WordPress and adds an ad to the bottom.

    Then this isn’t a WordPress/Theme question. If your webhost is adding that content, then you should probably ask them how to change that.

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

The topic ‘Where are XHTML files?’ is closed to new replies.