Hello,
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
So the problem is not caused by the child theme or plugins, in the staging website. The website is still not functioning correctly, there are missing resources
– https://www.screencast.com/t/3RJ6gVi0o
The theme stylesheet seems not to be found on the server, so it is not loaded. I suggest you contact your hosting and ask them to take a look at those 404 not found errors.
Regarding the main website, please send us an email at contact@tagdiv.com and provide admin login so we can take a look. Make a full backup before. Include a link to this topic in the email.
Hi Simion,
Ok so I am still having difficulties. I don’t know what is happening here at all. I have tried to remove all possible CSS associated with the header as per last post –
I have deleted all possible CSS associated with this (I think) but it must be hiding somewhere. I checked 3 places 1. Live CSS, 2. Theme Panel Custom CSS, 3. Customizer CSS. When I use the google inspector tool it the CSS class is included in a file called (index):
This is what I am currently looking at https://snag.gy/8M16Oc.jpg
Everything was working ok expect for the background image CSS that wouldn’t go away (and still won’t)
This is the website – https://www.thechildhoodlife.com/
Anywhere else I should be looking?
Thanks
Shane
Hi,
If it works without the child theme then the problem is there. That must mean that you are loading old theme files that were modified, and those modifications do not work with the latest theme. We include a list if modified files with each theme update
– https://www.screencast.com/t/bhJiZiR30c2Y
If you modified one or more of those files and it has also been modified by us in an update, there could be problems.
Try to remove files from the child theme one at a time while checking if this solves the problem. You must identify what the cause is. Also check code in the functions file of the child theme.
Thanks
Hi Simion,
I have one last issue. There is an overlap with the header and where I have set the CSS as the background image. You will see exactly what I mean once u resize the browser and watch the header.
I have deleted all possible CSS associated with this (I think) but it must be hiding somewhere. I checked 3 places 1. Live CSS, 2. Theme Panel Custom CSS, 3. Customizer CSS
Anywhere else I should be looking?
This is the website – resize and you will see what I mean – https://www.thechildhoodlife.com/
Thanks
Shane
Hi Simon,
I deactivated all of my plugins and ruled that out as an issue. Here is the site plugin-free on staging: https://greenerideal.staging.wpengine.com/
The search still doesn’t work.
I tried running the core theme rather than the Child theme and search works there, so it must be a modification made to a Child theme in the past. However, whatever that change is worked until the 2nd most recent version of the Theme.
Can you help me identify what files I should be looking in that may have caused this issue?
Thanks,
Ian
Hi Simion,
I have tried what u said and I cannot achieve that.
I am using style 10. I uploaded the logo (banner) for for style 10 but it did not come out with proper resolution. Bear in mind the image that I used is 1326 x 276 here https://www.thechildhoodlife.com/wp-content/uploads/2018/05/Childhood-Life-Logo-Background-1349-x-276.jpg
I tried uploading in the style 10 logo module you are referring to and it stretches out and loses major resolution. I tried using “Cover”, “Full Width” ect and I couldn’t get it the way I wanted.
I am afraid to undo some of the CSS I have placed in Theme Panel > Custom > CSS and on the Live CSS toolbar. Is there any way that you could have a look at this for me?
I have spent a day trying to figure this out. I would really appreciate if someone could take a look at this for me.
Thanks
Shane
-
This reply was modified 8 years by
Daltai.
Hi,
You can copy it in the child theme and add the code in it, between the head tags
– https://www.screencast.com/t/DQePJjbCd
Thanks
Hi,
To use the child theme he theme provides you simply have to upload it in the themes folder
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Then you can activate it and there would be no problem.
I just tested this and it works properly. Usually problems with the child theme are created when the child theme is renamed, or the main theme is renamed. Or by code entered in the child theme. Or modifications to the default code found in the child theme functions or stylesheet files.
So upload the child theme – https://www.screencast.com/t/7IkAZtZrD
Activate it – https://www.screencast.com/t/6fqJNajtfX
Hi,
Some of those suggestions almost always solve the problem. Deactivating all plugins (except theme plugins) remove theme modifications and code entered in the theme panel temporarily, deactivate the child theme. Clearing caching and CDN if used.
If you tried those suggestion to no effect, we could take a look. Send us an email at contact@tagdiv.com and provide admin login access. Include a link to this topic in the email.
Note that currently the website is not working properly, it fails to load for a few minutes, then there are a lot of errors
– https://www.screencast.com/t/F6Ipt3j3
Contact your hosting provider or server administrator to check what is happening.
Thanks
Hi
I need to add the Adsense code to the <head> area. I have already created a child theme. What is the best way of doing this – should I move header.php over to the child theme folder?
Thanks.
Hi all,
I’m trying to add a Child Theme for Newspaper v8.7.5
This is my structure:
/Newspaper-child
functions.php
style.css
Here’s my functions file:
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001);
function theme_enqueue_styles() {
wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', TD_THEME_VERSION, 'all' );
wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), TD_THEME_VERSION . 'c', 'all' );
}
);
And my style.css
/*
Theme Name: Newspaper 8 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
*/
When I try to activate the child theme, everything breaks. What am I doing wrong?
Hello,
I want to add a custom class inside the logo tag.
For example:
mycustomclass" href="<?php echo esc_url(home_url( '/' )); ?>">
<img class="td-retina-data mycustomclass" data-retina="<?php echo esc_attr($td_customLogoR) ? />" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?>/>
How do I add the mycustomclass class like above without changing the file? I know I can change the code in logo.php file and use it in my child theme instead, but I’d prefer using a function code like this:
add_filter ('get_custom_logo','change_logo_class');
function change_logo_class($html)
{
$html = str_replace('class="custom-logo"', 'mycustomclass', $html);
$html = str_replace('class="custom-logo-link"', 'mycustomclass', $html);
return $html;
}
What should I change custom-logo and custom-logo-link tags with?
Thanks in advance!
Hi,
The search link is not working, also the more from author link in posts is not working, block pagination, maybe others.
There seems to be a javascript error in the page. That is usually caused by plugins or code entered in the theme panel, theme files or child theme.
I see that all the links are opening inside a new tab, how exactly did you do that? try to temporarily remove the plugin or modification made and return to default. Maybe that is what is causing the links to not function correctly.
Thanks
Hello Chris,
Maybe your images are stuck in opacity 0. This usually happens on a js error caused by plugins or customization or other external optimization tools. Please disable all plugins except visual composer or TD Composer, clear cache and reset CDN files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functioning of the theme.
Hope this helps and let us know how it goes!
Thanks for the message!
Hi,
For such an old version you most likely used Visual composer. Please deactivate the tagDiv composer after you update, this will be activated automatically when the theme is updated or installed (since it’s introduction in 8.0).
When both are active there could be layout problems.
Also it is important to check the available resources in the system status panel
– https://forum.tagdiv.com/requirements-for-newspaper/
Update by FTP, this is the most reliable method
– https://forum.tagdiv.com/how-to-update-the-theme-2/
If you have code in the theme panel, or you use a child theme, deactivate them because the code could be outdated. After the update do not make any modifications to the theme files. Clear caching, clear CDN if used, clear your browser cache as well.
You can use the manual activation if asked again
– https://www.screencast.com/t/NXhtb0Vtn
Thanks
Hi,
Unusual issue to say the least. You could create a child theme, add code to the functions in the child theme. That will not be lost if you for example update the theme. A child theme is not difficult to install
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks
Hi,
Also please check the theme system status requirements panel
– https://forum.tagdiv.com/requirements-for-newspaper/
If you renamed the theme or created a child theme with a different name, return them to default. Let us know.
Thanks
Hi,
All other plugins and WordPress are up to date, and the theme and theme plugins are not. Older theme and plugins may not work with the latest WordPress. There were many fixes made after a few WordPress updates, in the theme (above version 8.0) so you are missing those.
So that theme version with it’s plugins and latest WordPress may simply not work properly. However that may not be the cause of the problem you are describing. Images not loading could be server related or caused by possible conflicts of plugins or maybe theme modifications or child theme.
You could check with the browser inspector by inspecting a page where there are problems, eventual errors are displayed in the console.
Thanks
Hi,
I would like to change the youtube icon at the top of the header to a subscribe button that looks something like this https://ih1.redbubble.net/image.271482322.5737/flat,800×800,070,f.u5.jpg
Surely if I add the header.php file to the child theme folder and make the edit there everything should be ok?
I have a screenshot here of what I am trying to do – https://snag.gy/W5ftG8.jpg
Can someone suggest what would be the best option here.
I created a child theme for some customizations as per your tutorial. I am noticing an issue with the td-composer “icon” element when editing a page. The icon menu on the left sidebar is full of blanks.
To recreate the issue:
* Set up a Newspaper-child theme and select it as the active theme. I’m using Newspaper 8.7.5, composer 2.3
* create a new page, editing in td composer
* drag the “icon” element into a row. this is the green icon element from td-multipurpose now embedded in composer.
* click the icon in the page to open the edit form on the left side. click the tiny icon on there to pull up the menu to choose a new icon. this is the menu which will have a bunch of empty place holders.
Diving into the browser debugger, I discover that the following resources are being requested directly from the child theme, which results in a 404 not found error:
/wp-content/themes/Newspaper-child/images/icons/newspaper.woff?15
/wp-content/themes/Newspaper-child/images/icons/newspaper.ttf?15
/wp-content/themes/Newspaper-child/images/icons/newspaper.svg?15#newspaper
/wp-content/themes/Newspaper-child/font-newspaper.css
The tutorial does not say we need to copy these over.
If I symlink the images directory and the css file to the originals in the parent theme directory, the td-composer icon element shows the icons in the menu when editing.
Is this the correct solution? Did I miss some setting in the child theme that controls this? Or is this a bug in the theme or td-composer?
Hello,
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
Hello,
The theme is constantly verified across all browsers.
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
Hello,
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
Hello,
Yes, the image from the child theme was not changed as well as the texts in the comment of the child theme. It will not prevent it’s proper functionality though.
Thanks.