Child theme

Posted in: Newspaper
Post count: 16

Hello
I repeat that I am new to WordPress and I apologize if my questions are too basic. My experience is more with Joomla.

1.Is it necessary to always create a child theme? or in which cases do you have to create a child theme?
2. When I install Newspaper X and I do it without the content (demo), but with the structure, will I have no problems copying the structure and modifying it? or should I start everything from zero?

Post count: 27744

Hello,

1. We usually recommend only in extreme cases to use the child theme, usually with Pro Prebuilt Website you can customize it with tagDiv Composer without using the child theme.
2. Yes, you can use the prebuilt website but please notice that if you editing the content that is coming with the prebuilt website and you want to try another prebuilt website those changes that you made on the content from the first prebuilt website will be lost. We recommend to make your own content (if you can copy-paste the content that comes from a prebuilt website and this way will not be lost), or you can use the elements, cloud template from tagDiv Cloud Library.

You can check more about the prebuilt website from our guide: https://forum.tagdiv.com/demos_introduction/ -> https://forum.tagdiv.com/cloud-library-templates/

Thank you!

Post count: 16

Ok, I need to connect my website to Adsense. I’ve already tried a Google plugin called Site Kite but it didn’t work for me. I need to copy the code that Adsense sent me to make the connection. My understanding is that that code is pasted into header.php. If I do that, when updating the Newspaper theme will the code entered be lost?

Post count: 27744

Hi,

For this wasn’t necessary to use a child theme, usually the AdSense code need to be set between head tags, this can be set in our theme in Theme Panel -> Analytics/Js Codes => https://prnt.sc/10jk7fq
Also, our theme already has set the general code for Adsense.

Thank you!

Post count: 16

I already did exactly that, but when in the Adsense account I click on the “I already copied the code” box, Adsense gives me a message code not found on the website and does not allow me to continue

Post count: 18283

Hello !

Please try to manually insert the code into the theme header here: https://www.screencast.com/t/wIhzukajT

Please make sure to place the code before </head>

Thank you !

Post count: 16

and to modify the header.php I don’t need to create a child theme first? Won’t I have the problem that when updating the theme the adsense code disappears and the ads also disappear?

Post count: 21065

Hello!

Yes, you are right. I will suggest you to make a child theme first and modify the theme of plugin files from there, so that you don’t lose the changes when updating our theme.

Thank you!

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