Title: Adding HTML to front page?
Last modified: August 20, 2016

---

# Adding HTML to front page?

 *  [pjager](https://wordpress.org/support/users/pjager/)
 * (@pjager)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/)
 * Hi.
 * Want to link my wordpress site to my Google+ account. To do this, I need to add
   a line of html code to the front page of my site. Never done this before. Tried
   using a text widget but this didn’t work.
 * Any guidance appreciate.
 * Thanks

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

 *  [curlybracket](https://wordpress.org/support/users/veganist/)
 * (@veganist)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605542)
 * Can you show us the piece of code? Is this just a link or is it a kind of meta
   tag or script?
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605550)
 * You need to grab (copy) the code snippet from Google, <meta …… />, then edit 
   header.php by pasting this snippet just above </head>.
 * To edit header.php:
 * Admin Dashboard>Appearance>Editor>Make sure you current theme is selected at 
   top right>look on right column for the file header.php and click on it>look for
   the line with </head> in the editor>place cursor just before </head> and paste
   the code>update/save>now go to your site and view the source code…you should 
   see this meta tag in the source just before </head>
 *  Thread Starter [pjager](https://wordpress.org/support/users/pjager/)
 * (@pjager)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605551)
 * 
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605571)
 * Please be aware that any changes you make to a theme file such as header.php 
   will be overwritten when your theme is updated – for this reason, it’s strongly
   recommended that you use a Child Theme for these kinds of changes – [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605572)
 * Oh I see…yes, above was for things like google analytics…It seems that Google
   + just provides a url to your page…
 * You can add this in a text widget but it needs to be in the form of an a href
   tag:
 * `<a href "yougoogleurlhere">Me on Goole+</a>`
 * [http://www.w3schools.com/html/html_links.asp](http://www.w3schools.com/html/html_links.asp)
 * You could also upload and image and use it instead of text:
 * [http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_image_link](http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_image_link)
 *  Thread Starter [pjager](https://wordpress.org/support/users/pjager/)
 * (@pjager)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605573)
 * Thanks for the answer but for a relatively inexperinced person like me, Google
   don’t make it easy to link themselves with such a popular platform as WordPress.
 * All I really want to do is have my picture appear with my search results on google.
   Is there an easy way with wordpress? Or, with the answer I gave early is there
   a way to add a piece of google code into my front page coding ?
 * Thanks
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605576)
 * Maybe this? [http://wordpress.org/extend/plugins/google-plus-authorship/](http://wordpress.org/extend/plugins/google-plus-authorship/)

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

The topic ‘Adding HTML to front page?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/adding-html-to-front-page/#post-3605576)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
