January 17, 2013 at 2:11 pm #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.January 17, 2013 at 2:18 pm #103871
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.
DevinJanuary 17, 2013 at 6:24 pm #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.January 17, 2013 at 7:00 pm #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.January 17, 2013 at 7:26 pm #103874January 17, 2013 at 7:59 pm #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.
The topic ‘View HTML code’ is closed to new replies.