Search Results for 'child theme'

Results from the Forum
Bogdan B.
tagDiv Staff

Hello,
Please disable all plugins except visual composer, clear cache and reset cdn files. Also if you have custom modifications revert them to the theme defaults, and if you use a child theme, please activate the main theme. Check again afterwards.
Let us know how it goes.
Thanks.

Bogdan B.
tagDiv Staff

Hello,
Please disable all plugins except visual composer, clear cache and reset cdn files. Also if you have custom modifications revert them to the theme defaults, and if you use a child theme, please activate the main theme. Check again afterwards.
Let us know how it goes.
Thanks.

adriatikxhelo8
Participant
#0

Hello. Today, I decided to update my theme from newspaper 6.4 to 6.5.

I have already a child theme installed. My questions is this:

– After the update, I need to create another child theme? Or just install the current one? So after the update I need to activate newspaper 6.5 or child theme?

All the best.

pgmast
tagDiv Member

For those who need reference for the above problem:

“I’ve checked your site and noticed that you’re using an older version of child theme. I’ve deactivated the child theme and now your site it’s displayed fine: http://screencast.com/t/OQUgDXxms
If you want to the the child theme make sure you install it from the path downloaded from themeforest as we changed the system which enqueue the scripts iwith child theme: http://screencast.com/t/ZqF03pIRnC8”

Catalin
tagDiv Staff

Hello anhbloginc,

The child theme is most useful when you want to do some additional customizations in theme. The idea of creating a theme right after you’ve just purchased one that you like might seem a little weird. However, when using a child theme you can make changes to the theme without altering the original theme’s code. If you create a child theme you’ll make a completely different set of files that you’ll use without ever having to touch the original theme. This will make it so much easier when it’s time to update and it will make it so that you don’t accidentally damage the original theme. Also, if you mess up the child theme you can just revert back to the original, or parent, theme. It’s most useful to use a child theme when you’re customizing a theme. Most of the themes that WordPress offers for free, like their twentysomething series, are simple. With a few adjustments they can fit your purpose, much better. If you use a child theme, you’ll easily be able to revert back to the original theme if you make a mistake, or even if you just want to change something back to the way it originally was. Some themes aren’t really meant to be customized, since they’re purchased for a specific reason.

Thank you for your understanding!

Catalin
tagDiv Staff

Hello atw101,

In order to achieve the best results after you will install the latest update you have to follow some rigorous steps like this -> you have to delete both of your themes, child theme, and main theme. All your customizations from your Newspaper 4 child theme will do not work because all the files from this were changed in Newspaper 6 and as the main theme and also you lose all changes.

Newspaper 6 is a whole new theme so an update from 4 to 6 may cause the same issues as switching to another theme (but we did try to maintain compatibility where ever possible).

Always make a full backup of your current installation – https://codex.wordpress.org/WordPress_Backups and then do a clean update, meaning that we recommend that you delete the old version of the theme before uploading the new one – https://forum.tagdiv.com/how-to-update-the-theme-2/ update also the plugins that come bundled with the theme files from the /plugins folder. In the “how to update” guide is specified that you will have to run the script that will import from database your settings.

The shortcodes have been changed so old ones will not work anymore. Please note that old files customization or custom CSS will not work with the new version and you will have to adjust or re-add them.

Bottom line is that newspaper 6 is a whole new theme built from scratch.
Unfortunately, you will have to clear your agenda and spare a bit of time to adjust all your settings to the new version of the theme.

If you have already Newspaper 6 and you want only to do the update to latest version, you should make this without any problem. All your customization are recorded in the database which is not affected by this update.

Hope this helps and let us know how it goes!

Thank you for the message!

anhbloginc
tagDiv Member

So, what’s purpose of child theme? In many other WordPress themes, it use to do customization. When a new update come, just need to update the main theme.

Catalin
tagDiv Staff

Hello anhbloginc,

Please notice that if your customized files from your child theme are changed in the update, all the information/customization from these kinds of files will be overwritten. Before doing the update, you have to check the changelog and see how files were changed in the update and you can replace it only these files. If your changed files were changed in the update, unfortunately, you will have to re-customize again after doing the update.

Thank you for your understanding!

Catalin
tagDiv Staff

Hello anhbloginc,

Please notice that all the modification wich you have done in your child theme, on the next update, the code will be overwritten. All of the files which you have in your child theme will be changed in the new update, you have to replace it with the updated file and you have to start again to configure it.

Thank you for the message!

anhbloginc
Participant
#0

Hi,

I’ve read a few documents but didn’t understand some points. So I open this thread to ask:

1. If I want to custom header, just copy some files that belong to header and paste in the child theme folder and then active the child them, right?

2. If the question #1 is right, then in the future, there is a new update for these files, do I need to update the files on child theme? Basically, when I copy, they are the same, but after updating the new version, the files of the main theme are different with the child theme.

I’m sorry if my sentences aren’t clear. For example: I want to add a custom_ads in the header. According to what I have read from here: https://forum.tagdiv.com/the-child-theme-support-tutorial/, I need to create a new folder Newspaper-child and copy header.php into it. And then paste the customization code in here.

Right?

The question is, when any new update come and need to change header.php, do I need to update the header.php in the child theme too?

Is there any solution to customize the theme and don’t need to worry about update overwrite?

Thank you.

Andrei L.
tagDiv Member

Hi

During the update process all themes files are deleted and replaced by the new theme files so all customizations will be lost. You can avoid that by using the child theme and make your customiztions there. For more details about child theme usage check our documentation: https://forum.tagdiv.com/newsmag-child-theme-support/ also WordPress official documentation could help: https://codex.wordpress.org/Child_Themes

Regarding the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.

Hope this help.
Thanks!

pajura
Participant
#0

hi there,

I need to show the time next to the date of posts/pages.
How can I do that without hacking the theme?
I use a child theme.

thanks!

Ilse
tagDiv Member

Thank you, Andrei.
The thing was that I had never installed a child themre, therefore didn’t know where to put it. But that solved my issue, I was putting the child theme inside the parent folder. Thanks again.

cstibi
tagDiv Member

Hi, I have found in RevolutionSlider, that have to insert this code at the end of child theme / header.php:
<?php putRevSlider(‘slider_alias’); ?>
Using single side is the same than a static image (I have tried, it’s ok)

There is an insert code to insert slider into frontpage: <?php putRevSlider(‘slider_alias’, ‘homepage’); ?>

What do you think, is there a php code with insert slider into all pages, but no homepage?

thanks
cstibi

Catalin
tagDiv Staff

Hello manojkhatri,

Unfortunately, our theme has not been designed to overwrite this kind of file. For more information about our child theme support, please consult this documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please notice that only these kinds of files can be overwritten by the child theme.

Thank you for your understanding!

Catalin
tagDiv Staff

Hello manojkhatri,

If you want to add more theme option in the theme panel you have to alter the code from wp-booster/wp-admin/panel. As you can see in our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ these kinds of files can not be overwritten by the child theme. Unfortunately, if you want to create more theme option you can do that only in the main theme.

Thank you for your understanding!

Andrei L.
tagDiv Member

Hi

The child theme install process it’s the same as for any theme. It can be installed vie WordPress or simply upload it via ftp in /themes folder: http://screencast.com/t/IxtnJmkPAH81 For more details about child heme usage please check our documentation here: https://forum.tagdiv.com/newsmag-child-theme-support/ and also WordPress official documentation might help: https://codex.wordpress.org/Child_Themes

Thanks!

cstibi
tagDiv Member

Hi Bogdan, thank you for this great tutorial!

How can I do that the all site has a header banner similar like this?
(simple picture or defined revolution slider)

Have to edit my child theme / header.php file?

thanks,
cstibi

  • This reply was modified 10 years by cstibi.
manojkhatri
Participant
#0

We have made some custom changes in the td-module.php but these are not recognised in the child theme and so we have to replace the file in the main theme. Any reason why it doesn’t work in child theme? Can we make it work from child theme?

manojkhatri
Participant
#0

Is it possible to add more theme options in the theme panel using child theme? If yes, how?

Ilse
Participant
#0

Okay, so I don’t know if I’m being a complete ignorant about this but its my first time creating a child theme. Anyways, if I’m getting it right all I have to do to install the child theme is to put the Newsmag-child folder inside the Newsmag theme, and that folder is already provided in the files (and I don’t need to overwrite file since I won’t be customizing them) so all I have to do is to actually copy that (with only those 2 files inside) inside the parent, then install the theme and that’ll do it. I put a screenshot inside the child folder to know if it is working but right now testing it, it seems exactly the same as if I’m running the parent theme.

Can anyone help me to figure this out? Or to clarify me if I really need a child theme if I’m not willing to mess with the core code, or if I’m just going to add just a few CSS lines?

bipulalam
Participant
#0

In visual editor there is space with sidebar border which is making my writing space small. I want to remove that space. I know it is because of my settings where I have chosen right sidebar, but in visual editor I don’t want to show it.
In my child theme’s css, I have tried this but not working –

html .mceContentBody {
width: 100% !important;
}

I am using latest version of Newspaper. Please suggest.

Catalin
tagDiv Staff

Hello @aro_007, @sushilk,

Please ensure that you do not have any additional customizations in your child theme which may affect the theme behaviour and also, please try to disable all the active plugins, leave just Visual Composer, clear all cache and install only the plugins that come bundled with our theme. Since the error is encountered only in your child theme and in the main theme everything works as expected, it means that the child theme (the customizations of this files) is the culprit. I have tested on my side using a default child theme and everything seems to work as expected.
If you try my advice and then your problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so I can further inspect you setup page. Also, please provide the link of this topic so I can know who you are and what the issue is.

Thank you for the message!

sushilk
tagDiv Member

Hi, I’m having the same issue, I too have a child theme. Glad to hear that you were able to solve it, there’s hope for me as well. Can you explain what you mean by “reset on WordPress build”?

drae
tagDiv Member

Hello Catalin,

The child theme is the most up to date version that was bundled with the latest theme from ThemeForest.

Please assist.

Viewing 25 results - 11,176 through 11,200 (of 12,866 total)