Google search console code in homepage

Posted in: Newsmag
Post count: 20

Sorry for my english
I need to insert the google search console code in the homepage of Newsmag. I tried to insert in index file, in header file, in page file of the theme, but Google don’t verify the code.
What page I can edit to insert this code?
Thank you
Filippo

Post count: 35449

Hi,
If I understand correctly you’ll like to change the theme search with the one from google, if is so, then you should have a code for google search; do you have a guide where is specified the place where this code need to be set ? most of the time this code need to be set in search file of the theme, in our theme this file is on this path -> wp-content/plugins/td-composer/legacy/Newsmag/search.php
Also there are other methods for this, here is a guide for how to do it -> https://www.wpbeginner.com/wp-tutorials/how-to-add-google-search-in-a-wordpress-site/
Thank you!

Post count: 20

Sorry Calin,
I have a difficult to explain.
Please, I wish to know how I can edit my home page html.
Thank you
Best regard
Filippo

Post count: 35449

Hi filippocatania,
Ok, now I understand, you want to edit the homepage, normal our theme was 3 page templates, now depends one the one that you have set -> https://i.imgur.com/d1QvjpE.png these files are on this path wp-content/plugins/td-composer/legacy/Newsmag/page.php -> https://i.imgur.com/8yn5gyr.png or if you are using the latest posts -> https://i.imgur.com/uI50hCj.png then you need to edit this file -> wp-content/plugins/td-composer/legacy/Newsmag/index.php
Hope this will help you!

Post count: 20

Thanks Calin!
now everything is clear, I understand correctly.
Have a good day!
Filippo

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.