- This topic has 5 replies, 2 voices, and was last updated 7 years, 8 months ago by Mahesh.
-
AuthorPosts
-
August 16, 2016 at 12:50 pm #97315EdwinParticipant
Hi, I am not able to find the HTML template. I need to insert the google snippet for recaptcha.
I thought I would find it here: public_html/wp-content/themes/adventurous-pro
But no luck. I am stumped, would you clue me in please?
August 16, 2016 at 4:40 pm #97330MaheshKeymaster@mmhgloba: I don’t quite get what you mean. Can you please clarify more.
Regards,
MaheshAugust 17, 2016 at 7:37 am #97386EdwinParticipantI want to install google recaptcha verification on my comments and also contact me page.
my website is mm2hglobaltravel dot com
googles instructions state this for client side integration:
Paste this snippet before the closing </head> tag on your HTML template:
and then:
Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
I want to confirm the locations to place the snippets properly.
I am unable to locate the HTML template in cpanel files. I believe it may be accessible from wp-admin but I am not sure where.
Also, please clarify the location to place the snippet for the contact me and post comments.
Thank you I hope this clarifies my question.
August 17, 2016 at 10:32 am #97399MaheshKeymaster@mmhgloba: Sorry but WordPress doesn’t work that way. It doesn’t have separate html template as the actual html. For first snippet, you can add it to
header.php
file before line 30 which will be before</head>
tag or go to Dashboard=> Appearance=> Customize=> Webmasters Tools=> Header Footer Codes and add the code snippet in Code to display on header.
And for the other snippet, which goes after footer, I guess you’ll need to put it incomments.php
. The comment form displayed with this file.
You’ll need to create child theme for this. You can find more details on creating child theme HERE.
If you are not familiar with coding/programming, I recommend you to hire a customizer.Regards,
MaheshAugust 17, 2016 at 10:59 am #97403EdwinParticipantI have already created a childs theme. I would like to install recaptcha in comments and also the contact me page. Not only for comments.
I inserted the 1st snippet per your instructions.
August 17, 2016 at 2:38 pm #97431 -
AuthorPosts
- The topic ‘HTML Template’ is closed to new replies.