Search Results for 'child theme'

Results from the Forum
neversettle
Participant
#0

This theme does not seem to support child themes 🙂

Documentations says you do, but the inherent structure does not support the standard WordPress override every file structure. The biggest current impact for us is that the /wp-content/themes/Newspaper/includes/td_wordpres_booster.php file does NOT respect it’s child override file here: /wp-content/themes/Newspaper-child/includes/td_wordpres_booster.php.

We had modified that for specific needs. This edit ONLY works in the theme itself. The same edit in the child theme is disregarded and NOT loaded. With the way it is today – the theme is NOT fully child compatible – and the functionality we need is only possible by a direct theme mod.

This themes documentation for child themes is the old out-dated way of including parent theme CSS in a child theme. The latest best practice method seems to work anyway after some experimenting, so that should not be an issue for us, but still the suggested method is no longer applicable.

So as it sits the only way we can maintain our updates is to keep modifying the main theme files, every time we update the theme were forced to re-add our updates until this is resolved. If you can please help that would be greatly appreciated as the theme documents and markets child theme compatibility.

sjlabar
tagDiv Member

Hello,

Thank You for replying to my thread. I don’t have access to my themeforest account. From where i can get the theme update beside that ?

I am using a child theme with some customization, is this issue may be due to that ?

Regards,

upgrade81
tagDiv Member

Hi Lucian,
thank you for your answer.
Yes i get this error when i try to activate the child theme.
The child theme that I use is the one provided. There is still not any theme modification added (for this I need a child theme 🙂 ) The verion of the theme is the 1.7, and I had followed the instruction from the guide.
When I try to activate the child theme i get the message that i posted above. One time line 99 (and after that i try to block the function on line 99), one time line 119 of the function.php. If i block both the function is activating the child theme but (naturaly) give me problem with the widget.
I hope that the informations could be helpful.
Thanks

  • This reply was modified 11 years by upgrade81.
Lucian
tagDiv Staff

Hi,

You get this error when you activate the child theme? Please provide more details on this and also let us know what theme version you use.
Also make sure that you use the child theme provided in the files that came with your theme and also make sure that you remove any code/modification added to it and configure it using the instructions from this guide: https://forum.tagdiv.com/child-theme-documentation-newsmag/

Thanks

upgrade81
Participant
#0

Hi everybody.
I have a problem with the child theme creation. When I try to generate a child theme I get this message :” Fatal error: Cannot redeclare _verify_isactivate_widgets() (previously declared in .mywebsite./httpdocs/wp-content/themes/Newsmag-child/functions.php:14) in .mywebsite./httpdocs/wp-content/themes/Newsmag/functions.php on line 99

I dont find out how to risolve this issue.
Hope somebody can help me with it.
Thanks guys
(sorry for my english, is not my language)

Alin [tagDiv]
tagDiv Staff

Hi,

Please make sure that you use Big Slide properly on one row, I have checked your site and seems that you use it in two columns: http://screencast.com/t/MSuAZn0H5ab Also if does not appear please filter another category, just to see if it works.

1. Please try this custom css in Theme Panel > Custom CSS: http://screencast.com/t/q22b4NdUk4

.ajde_evcal_calendar .calendar_header {
border-bottom: 2px solid black;
}
.ajde_evcal_calendar #evcal_head.calendar_header #evcal_cur {
background-color: black;
color: white !important;
font-size: 22px !important;
padding: 0 5px 1px;
}

2. Please use Chrome inspector tool to inspect and change the font via custom css: http://screencast.com/t/burWdY67 Also for post title font(tagdiv blocks) use option from Theme Panel > Custom Typography – http://screencast.com/t/fIch5iU7uLyj and for other widgets you will need to change that via custom css – http://screencast.com/t/C8o68GcjNLsl
For load more button font you will have to use css: http://screencast.com/t/BsYdtEL55

.block-child-cats a{
font-family: Roboto;
}
.widget_categories ul li a{
font-family: Ubuntu;
}
.td-load-more-wrap {
font-family: Roboto ;
}

3. Please edit a module that use excerpt, take a look how is made and copy excerpt to the module that you want to add it – http://screencast.com/t/d0fagpyMjF also maybe you will need some css customization.

4. Please try this without any plugins active, leave only Visual Composer plugin enabled, also clear cache an check if you still have this issue.

5. Please use this custom css for this: http://screencast.com/t/jhsNTU3p

.home .widget_categories ul li a .td-cat-no{
display: none;
}

Thanks!

mpindado
tagDiv Member

Hi, you should actually put it in functions.php after parent theme has been setup, something like this:

add_action( ‘after_setup_theme’, ‘child_after_setup_theme’ );

function child_after_setup_theme ()
{
td_api_module::update_key(‘td_module_1′,’file’,get_stylesheet_directory() . ‘/XXX-RELATIVE-PATH-FROM-CHILD-THEME/td_module_1.php’);
}

Best regards

mpindado
tagDiv Member

Thank you so much!

I see then modules may be redefined in this way in child theme:

td_api_module::update_key(‘td_module_1′,’file’,get_stylesheet_directory() . ‘/override/modules/td_module_1.php’);

bhcrow
tagDiv Member

I had similar question few days ago, and got this answer:

Alin [tagDiv]
#44002
Apr 7, 2015 at 8:48 am

Hi,

Please note within the latest theme version we have changed the child theme system (for which we will have a documentation available soon) and because of that at the moment module and parts files can’t be overwritten via child theme. Until then please make you change in the main theme file.
Sorry for the inconvenience!

Thanks!

mpindado
Participant
#0

Hi, module redefinition is not working in child theme as 1.7 version.

1. Fresh install newsmag 1.7 and demo data
http://www.screencast.com/t/giPj5wWn8rq

2. Fresh install&activate child-theme newsmag 1.7: Main menu breaks (???)
http://www.screencast.com/t/pubDxQRAa

3. Redefinition of td_module_1, copy from parent to child-theme and modify
http://www.screencast.com/t/mfrF1ynjfc
http://www.screencast.com/t/uqsG9qVMI

4. Modify homepage to use block3 (module1). The parent theme module1 is used. No child redefinition
http://www.screencast.com/t/NuXMh44s
http://www.screencast.com/t/A2jWipKK8diX

Best regards

bukavu
Participant
#0

Hello,

Great theme,

I will ask many questions as I’m not really an expert, if you don’t mind.
I’m using child theme and would like to add shadow at the sides of the full website, between the background image and the full website.

Thanks.
I did searches but was not successful.

Lucian
tagDiv Staff

Hi,

The file from the root of the theme, including the header.php file in which you can find the head tag can be overwritten via child theme so you can use it to alter it: forum.tagdiv.com/child-theme-documentation/

I understand, it might occur due to cache so make sure you test it without any other plugins active, just the Visual Composer plugin, empty all caches, and also purge files if you use cdn then test again.

If this still happens please provide wp-access so we can take a closer look at this and send us you wp-admin login credentials at contact@tagdiv.com and also provide a link to this tread so we know who you are.

Thanks

itrejomx
Participant
#0

Hi guys, back with more need of assistance. I am trying to add a Facebook remarketing pixel to the <head></head> section, but I don’t want to edit Newspaper header.php file directly, is there any other way to add it? I am, of course, using a child theme.

Another thing, I’m having a bit of trouble with a visual composer item: youtube video playlist. On the backend, its been added, on the frontend, it just doesn’t show up. Can anyone help me debug this?
notes: -it was working perfectly, just disappeared one day.
-we installed sumome plugin for clicks heatmaps, but after we noticed it made the playlist disappear, we deactivated it.
-playlist came back for 1 day
-we deleted sumome and other unused plugins just in case.
-playlist never came back

simchris
tagDiv Member

Also note re speed that using “childtheme is a CSS redirect and is actually slower than loading the main theme directly. Using ANY child theme increases chances of seeing “flash of unstyled…” issues.

Jens H.
tagDiv Member

Have downgraded to 1.6 and VC 4.4.2 and it still doesn’t work

Disabled ALL plugins – Rebooted server – Enabled only VC 4.4.2 and theme with no child theme. Still doesn’t work.

It’s really bad that I cant find the root cause to this problem.

It came after 1.7 upgrade.

Alin [tagDiv]
tagDiv Staff

Hi,

Please try without any plugins active leave just Visual Composer active, empty cache and check if you still have this issue. Also make sure that your child theme is update to the version of the theme.
Please provide your site URL so we can take a look.

Thanks!

saibharath
Participant
#0

Hi,

After activating child theme i am getting the following text in the right and corner of the theme

Following text is displayed in right and corner in top menu section

Newspaper is your news, entertainment, music & fashion website. We provide you with the latest breaking news and videos straight from the entertainment industry.
We are your all-access pass to all the A-List stars around the globe.
Contact us: contact@tagdiv.com

Kindly help to remove this section.

Thanks
Bharath

Alin [tagDiv]
tagDiv Staff

Hi,

@loano1 try to search also this rgba color – http://screencast.com/t/Cx6XHHejv
( rgba(77, 178, 236, 0.7) )


@khancept
You can try to make those changes in child theme or if you will try this in the main theme you can make a backup of you file(of your theme recommended).

Thanks!

khancept
tagDiv Member

Hmmm..

I think my priority is SPEED first before LOOKS. Might just have to suck it up and deal with it.

Thanks for the suggestion. If I was to make those changes in style.css of the CHILD theme, would it work just as well? I’m concerned about future upgrades when changing code on the original theme.

Alin [tagDiv]
tagDiv Staff

Hi,

Please note within the latest theme version we have changed the child theme system (for which we will have a documentation available soon) and because of that at the moment module and parts files can’t be overwritten via child theme. Until then please make you change in the main theme file.
Sorry for the inconvenience!

Thanks!

bhcrow
Participant
#0

I disabled showing author names, because i dont need it on site. I need it only on one specific category and one block for columnists. I use block 12 (module 11) on my home page to show latest post

is there a way to do this?

EDIT: i copied td_module_11.php to my child theme (includes/modules) but my editing doesnt make any changes

wpdiv
tagDiv Member

If it works then i am really happy with the results!

For your kind information version number does not make any difference and child theme works well even without version number. As of my concern issue related to CDN. If you purge the cache in your CDN, might be it works earlier without any issues.

partnowjess
tagDiv Member

It was the version number! The packaged child theme said version 1, but the stylesheet itself says version 444. Those had to match, then the child theme worked!

partnowjess
tagDiv Member

My master theme is Newspaper, here:
http://seattleglobalist.com/wp-content/themes/Newspaper/style.css

But now I see! Maybe it’s because of the Version 444 typo that the child theme is not working?

wpdiv
tagDiv Member

Here i noticed that you have renamed your master theme as ‘edge14ref’

So your child theme css should contains below code to activate child theme.

/*
Theme Name: Newspaper 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: edge14ref
Version: 1
*/

@import url(“../edge14ref/style.css”);

/* —————————————————————————-
Your custom style…. here 🙂
*/

Other if you wanna work with your existing code what you have current in your child theme, rename your master theme folder into ‘Newspaper’

Good luck..

Viewing 25 results - 12,151 through 12,175 (of 12,866 total)