Search Results for 'child theme'

Results from the Forum
Mariolino_dg
Participant
#0

Hello
I have to update wordpress and the theme.
I have a child theme, do I have to update that too?
how can I not lose my changes?
thank you very much

tageldart
tagDiv Member

Is there a downloadable child theme for 9.5 from TagDiv that we can just use, as I have had the same issue.

dynamicom
Participant
#0

Hello,
I’m using big grid flex 6 for the higher section of my homepage. I want to display the tags of a post within this section, but it seems it’s doesn’t possible in the theme panel. How could I modify the theme-child templates in order to do that?

thank’s!
m

distressedmullet
tagDiv Member

nm..i poked around and did it by a child theme mod. was just curious if you all had a cleaner way…like with you API or something. Thanks

Bogdan B.
tagDiv Staff

Hello,

Sorry but the category color is individual for each category no matter if there is a child-parent relation between them
These colors however do not work on modules and blocks. Only on posts. The theme blocks were never designed to grab the color from the posts. The category tag color is set for all blocks at once. If you want to change it, you can use a custom css code like this example: https://forum.tagdiv.com/topic/change-the-category-color-in-the-home-page/

Thank you!

Bogdan B.
tagDiv Staff

Hello,

The child theme needs the smaller version of the functions file as this file has a special implementation in the child theme. The small file is required instead of the big file .

Thank you!

Pixels
Participant
#0

Hi,

Within Theme panel / Categories / Per category settings, we’ve the possibilty to set CATEGORY TAG COLOR ON POST PAGE.
2 questions :
– Is there a way to make the child categories inherit the color of the parent category ?
– This tag color setting works on Category & post pages but not in blocks used on custom pages such as homepage. How can I set this custom color on tags showed in blocks ? If it requires a custom modification of standards modules (on child theme), how can I get the category color information ?

Thx

Francis

jayjay
Participant
#0

A while ago I created a child theme with the files available in the /code/ folder. In this folder was also the functions.php file with just a few lines of coding. This file is now in my child theme folder. Everything is working fine btw. When I look into the ‘regular’ functions.php file from the latest Newspaper update, I see a much bigger file with more lines of coding. Should I copy this to my child theme or can I stick to the small file which is in my child theme folder for a while now?

Thanks for your help.

Calin
tagDiv Staff

Hi,

With out header builder the only way will be to make some changes in theme files, but if you can not do this changes in a child theme after theme update this changes will be override.

Thank you for your understanding!

arvindk
tagDiv Member

Fixed:

I had edited my header in child theme. I removed the header file and it fixed it. Thanks!!

distressedmullet
Participant
#0

Hi, I’m looking for how you change what’s displayed on block7 for a custom post type. Currently, the “post date” is what’s being displayed as the date, and I want to display the “event” date for the EventCalendar tribe_events CPT in the block. Can you point me to how to do this in Newspaper? I assume i need to modify some PHP in my child theme? Thanks in advance!

Calin
tagDiv Staff

Hi,

Now you need to make a new child theme with the actual header in it and set the code write by you for header from old child in the new one, this should work.

Thank you!

Calin
tagDiv Staff

Hi,

Please check first in Theme panel custom css -> https://www.screencast.com/t/iF1VIq1nkE
if is not there you can check in wp-content>theme>newspaper>style.css -> https://www.screencast.com/t/GETAyYbWc if you are using child theme please check in it this file; if you are using some demo please check in that demo too for example lets say that I use the animal demo -> https://www.screencast.com/t/5Hz8CZKU

Thank you!

Dimitris73
Participant
#0

Hello.
I’ve created a child theme for Newspaper. I don’t have custom post types, but do I have custom taxonomies for posts.
I’d like to add a “top post style Grid” to taxonomy.php, archive.php, tag.php and author.php so that all archives have a consistent look. Please check the screenshot to clarify:
https://drive.google.com/a/webgalaxy.pro/file/d/1lfD0bXgP50ZI63RuEYdWJURnE-Q2vxrN/view?usp=drivesdk
I don’t need the “top post style Grid” to be selectable in the backend (like you have for post categories). All I want is to add grid 5 (or 7 – I haven’t decided yet) in taxonomy.php, archive.php, tag.php and author.php over the “ARTICLE DISPLAY VIEW” by adding some code there.
What code do I need?
Thank you

Simion C.
tagDiv Staff

Hi,

If it works without the child theme active, then it would be safe to say that the child theme is responsible.

Before an update, if you use a child theme, please check the files that have been modified by us. There is always a list of them here – http://prntscr.com/ml066e
https://themeforest.net/item/newspaper/5489609

In the latest update the header.php was modified
https://tagdiv.com/td_deploy/Newspaper/changed_files_9.2.1_9.5.html
So the old file from the child theme may cause problems. You would need to copy the new file in the child theme and redo the modifications/additions that are needed.

Thanks

Joss
Participant
#0

Hello, I am building a site and when today I have updated the theme, the site does not load. There is a white page and that’s it. With the child theme it does not work, while if the parent theme is active everything is ok. What is the problem? Please answer me as soon as possible, it is urgent.

Ps. When I entered the editor to take a look, I received this error message:

Error at line 45 of the wp-content / themes / Newspaper-child / header.php file. Correct and try to save again.

 Unchaught Error: call to undefined method td_api_header_style :: _ helper_show_header () in wp-content / themes / Newspaper-child / header.php: 45
Stack trace:
# 0 wp-includes / template.php (688): require_once ()
# 1 wp-includes / template.php (647): load_template (‘/ home / sxmodist / …’, true)
# 2 wp-includes / general-template.php (41): locate_template (Array, true)
# 3 wp-content / themes / Newspaper / page.php (7): get_header ()
# 4 wp-includes / template-loader.php (74): include (‘/ home / sxmodist / …’)
# 5 wp-blog-header.php (19): require_once (‘/ home / sxmodist / …’)
# 6 index.php (17): require (‘/ home / sxmodist / …’)
# 7 {main}
threw

Sorry for my English

Simion C.
tagDiv Staff

Hi,

There should be 4 by default. You seem to only have 2 for some reason. Check in the customize section – http://prntscr.com/mkxfz3http://prntscr.com/mkxez9
http://prntscr.com/mkxfj8
Or do it with a code in the theme or child theme functions file
https://docs.woocommerce.com/document/change-number-of-products-per-row/

Thanks

Simion C.
tagDiv Staff

Hi,

If you checked and it’s not in the theme pane, then it could be in the theme files. Reinstalling the theme will provide fresh files. If it’s still happening after trying this, maybe a child theme is active, or a plugin is responsible.

fgrenier
tagDiv Member

Hi Simion,

Yes I want to use it from the theme child or plugins though.

Thanks to you I found this solution working within a plugin you have to put in your td-bespoke-plugin.php:

add_action('widgets_init', function() {
    return register_widget(new td_block_widget( 'td_block_bespoke' ));
});
  • This reply was modified 7 years by fgrenier.
Simion C.
tagDiv Staff

Hi,

I remember trying to add a block as a widget a while back, but not through a child theme
https://forum.tagdiv.com/topic/registering-custom-widgets/
I don’t think it is possible from a child theme. Not all them files are supported to be used in a child theme.

If you use the tagDiv composer, now there are flex blocks which have a great deal of customization options, so maybe the result you achieved with the block you added can be achieved with a flex block.
With the cloud library you can design templates and create them entirely with the tagDiv composer, bypassing the need to use widgets
https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
https://affiliate.tagdiv.com/#/load/All

Thanks

ppbub
tagDiv Member

realized this was due to child theme.

fgrenier
Participant
#0

Hi,

Please could you tell me how to build a widget from a block I created with your api?

For sure it’s working if I edit directly td_page_builder_widgets.php and I add it here but it’s not working from the child theme.

Best regards,

Calin
tagDiv Staff

Hi,

This update comes with the opportunity to build your own header, something that was not possible until now, so if you have in child theme changes make for header is possible that those now longer to work.
What you can do is to change the header in child theme with the header for current header and set the code there ( the old one with the new one).

Thank you!

Calin
tagDiv Staff

Hi @mgargano,

Maybe you want to say if is still use this function td_api_header_style::_helper_show_header(), if is so then the answer is no, that function is not longer use, that function was made for default header, now the v9.5 include the Header Builder and the header file was change, this is one of the disadvantage using child theme ( custom elements ) you need to follow the theme updates and check if the child is still compatible.
Here is the list with the modified files -> https://tagdiv.com/td_deploy/Newspaper/changed_files_9.2.1_9.5.html
-> https://www.screencast.com/t/VJqI0ip0pOA

This is a major update, you’ll need to make a new child theme after current theme and set in it the changes from the old one.


@paperweight
we recommend to be made via FTP.
Is possible that Envato Market API to have some delays on available updates.

Thank you for your understanding!

Simion C.
tagDiv Staff

Hi,

So the theme requirements are as mentioned in the guide but after the theme is updated the website crashes. Usually this is related to insufficient wp-memory. We recommend a value of 256M for most websites, when possible. If this is not allowed by your host then there could be various problems and there would be nothing we can do about it
https://forum.tagdiv.com/requirements-for-newspaper/

Try to deactivate all plugins, if you use a child theme deactivate it. Then update the theme again, also update the theme plugins.

Viewing 25 results - 7,401 through 7,425 (of 12,866 total)