Tagged: , , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19485

    I’d like to edit the html code on my home page but my tabs only show View and Text. How do I see the HTML code on the pages? Thanks.

    #103871

    Hey CD,

    If you are using a shortcode, the only way to see the combined html would be to publish the page and then view the page source. Same with a template made with the Template Builder.

    You can construct your own code in the Text view (used to be called HTML before wordpress 3.5) and use any of the theme classes/id’s as needed.

    Regards,

    Devin

    #103872

    Thanks. I need to edit the <head> section of the home page. I have published the page. How do I view the page source? The Text tab does not give me the information separating the head section from the body. I need to edit the head section. thanks.

    #103873

    I found the View Source page but I can only view it, not edit it. The Google Analytics for my site is not working and Google Webmaster Tools will not verify my site. I have pasted the code with the ID in the Template Builder where indicated but apparently Google is not seeing. They say I have to paste the code in the header section of the home page. I cannot seem to get into the html of the home page to paste it. Thanks.

    #103874

    I figured it out. Thanks anyway.

    #103875

    Glad you were able to figure it out :)

    Just to give a little bit of extra information that might help, WordPress doesn’t quite work that way. When you add information into the visual editor for a page or post, its only going to get output using the function the_content or the_excerpt or something like within a php file.

    For the construction of any given page you will be using the header.php file which creates the top of the page (header) the footer.php (the footer area) and possible the siderbar.php and then one of the other files for main pages content.

    So for your question, you would be able to add the google webmaster code to either the header.php or the footer.php to make sure it showed up on any page of the site.

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘View HTML code’ is closed to new replies.