Search Results for 'child theme'

Results from the Forum
Calin
tagDiv Staff

Hi,

If you are using a standard header and not a cloud header, then the file will apply -> https://i.imgur.com/GbY36NR.png but in some case you need to copy some more files, I recommend to copy all files from plugins\td-standard-pack\Newspaper\parts\header in themes\Newspaper-child\parts\header and check the results!

Thank you!

Calin
tagDiv Staff

Hi V3N0M,

That element can not be set in child theme, but it can be edited in main theme file -> wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_author_box.php for example -> https://i.imgur.com/LKQEiRR.png -> https://i.imgur.com/sHkWfDA.png
Also there is not easy to make a new element for tagDiv Composer, you need to have very good knowledge about our theme builder and how as made.

Thank you for your understanding!

Vlad S
tagDiv Staff

Hello !

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Vlad S
tagDiv Staff

Hello !

Please make sure that you have accomplished all the system requirements as in our documentation here: https://forum.tagdiv.com/requirements-for-newspaper/

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Calin
tagDiv Staff

Hi TechieBraj, I think that you do not understand, the tagDiv Standard Pack and tagDiv Composer are both theme plugins and both of theme have the same root for the theme (those plugins have inside them a theme folder that can be overwrite in child theme, when were made these changes only the standard plugin has the theme folder but now tagDiv Composer has too) therefore the files from wp-content/plugins/td-composer/legacy/Newspaper and wp-content/plugins/td-standard-pack/Newspaper -> https://i.imgur.com/lOCdZnT.png
For example if you want to set in child theme the default post style, you just need to copy those two files wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php and single.php in wp-content/themes/Newspaper-child/loop-single.php or if is a them style need to be copy from wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-1.php and single_template_1.php in wp-content/themes/Newspaper-child/parts/single

Hope this will help you better!

Vlad S
tagDiv Staff

Hello !

Please make sure that you have accomplished all the system requirements as in our documentation here: https://forum.tagdiv.com/requirements-for-newspaper/

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Vlad S
tagDiv Staff

Hello !

When updating please make sure that you are updating and re-activating the plugins too. If this still doesn’t work we recommend you the manual method to update: https://forum.tagdiv.com/how-to-update-the-theme-2/

For child theme you can take a look in our guide here: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you !

roshan
tagDiv Member

hello how do i add code inside <head> i am using the child theme.writing anything in header.php is not working properly

maltardesigns
Participant
#0

Hi,

I have copy file from
plugins\td-standard-pack\Newspaper\parts\header\top-menu.php
to
themes\Newspaper-child\parts\header\top-menu.php

Then I have changed required information. But this is not getting effect from child theme file.

Can we override this file? it’s possible or not?

I wating for your review.

Thanks

V3N0M
tagDiv Member

Hi, Calin,

Yes, it’s a little confusing, but I think once i understand it, and it works, I’ll be able to handle it 🙂

I have now adapted the file “wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php”, but no change appears on the author’s box. I tested it in the main-theme and in the child theme, removed the author-box and added it again, but nothing changes. Of course, all cache plugins are deactivated, too.

Wouldn’t it be the easiest to create a complete own block for the tagDiv Composer? (In the composer it is called “Single Post shortcodes”). To avoid confusion or misunderstandings when naming elements like modules, blocks, etc. I have attached a screen to show exactly which element I want to replace/rebuild.

https://prnt.sc/ujzhai

Br

  • This reply was modified 5 years by V3N0M.
TechieBraj
tagDiv Member

Hello,

This important point is written in that blog article:-

Only theme files under this folder i.e. wp-content\plugins\td-standard-pack\Newspaper can be changed using the child theme:- https://prnt.sc/ujk85e

And “td-composer” is a plugin file, so do you think we can override plugin files with a child theme? If yes then how? A sample child theme is already installed which was provided in the theme files. Suppose I have to add this place in the child theme: wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php then how can we override this place in child theme?

Also, I went to this code file here: https://prnt.sc/ujkae5 but i don’t know what to edit here to remove popup login and add a custom Login/Register link. Can you please guide me?

Thank you!

avincomp
Participant
#0

Hello,

I am using Newspaper theme version 10.3.4

I found that an update is available with version 10.3.6.1 but when I made the update my site was broken and a WordPress warning message shown. So, I made a roll-back.

How can I get the latest updated theme without any error?

Also, I have made some customization with the theme as per my requirements. So how can I create a child theme and keep my customization separate from the parent theme?

Can you make the current theme update and create a child theme for me?

Thanks,
S Sushant,
avincomp

Calin
tagDiv Staff

Hi,

For mobile version you need to edit this file -> wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php
Unfortunately the file for desktop version is a cloud element and it can not be set in a child theme, it must be set back after theme update, but the file for mobile version is a standard one and it can be set in child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you for your understanding!

Calin
tagDiv Staff

Hi,
Yes, there is a quick fix for this problem:
Add a fix in theme files, for this you need to go on wp-content/themes/Newspaper/includes/wp-booster/wp-admin/js/tagdiv-theme-plugins-setup.js and replace the jQuery(window).load(function () { from line 234 -> https://i.imgur.com/agaEJWA.png with jQuery(window).on("load", function () { -> https://i.imgur.com/zBFX5Ye.png also you need to do the same on this file wp-content/plugins/td-composer/assets/js/js_files_for_wp_admin.min.js but since this file is minify you can replace the code inside it with this one ->https://pastebin.com/YTiYVfU4
These warnings will be fix for the coming updates!
Make sure that all theme settings are as in our guide ->
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Let me know the results!
Thank you!

Calin
tagDiv Staff

Hi,

Make sure that all theme settings are as in our guide ->
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Make sure that allow_url_fopen = On;
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/
-> https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive
If there is still a problem, please provide some more details and some screenshots.

Thank you!

Calin
tagDiv Staff

Hi V3N0M,

The old theme functions was set in two plugins tagDiv Standard Pack and tagDiv Composer, from these two plugins you can set the files under the wp-content/plugins/tagdiv-plugin/legacy/Newspaper in in child theme.
Noe if you want to edit the elements that are in tagDiv Cloud Library, these can not be set in child theme, for example changing this file -> wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_author_box.php will work only in theme plugins files and is a cloud element. Editing this file will work in child theme wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php

Hope this is make sens.

Calin
tagDiv Staff

Hi, did you get some errors or the page is block when you try to upload an image?
Make sure that all theme settings are as in our guide ->
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Make sure that allow_url_fopen = On;
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/
-> https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive
If there is still a problem, please provide some more details and some screenshots.

Thank you!

Vlad S
tagDiv Staff

Hello !

Please make sure that you have accomplished all the system requirements as in our documentation here: https://forum.tagdiv.com/requirements-for-newspaper/

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

TechieBraj
tagDiv Member

Hello,

Any way to replace these code permanently so that even after updating it will not be lost? e.g. Adding code in Child theme?

I did this and cleared the cache: https://prnt.sc/ujel2j

These code change doesn’t affects “Sign in/Register” popup in mobile. The popup is still coming in mobile: https://prnt.sc/ujelus

Thanks!

Calin
tagDiv Staff

Hi,

Make sure that all theme settings are as in our guide ->
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Make sure that allow_url_fopen = On;
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/
-> https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive

If the problem still persist please check these guides for Generally 500 errors are internal server errors – https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
https://wordpress.stackexchange.com/questions/312292/how-to-stop-a-500-error-on-the-wordpress-theme-folder
https://wordpress.org/support/topic/google-search-console-reporting-a-500-error-on-my-theme-folder/
-> https://forum.tagdiv.com/topic/wp-supercache-causes-500-internal-error-and-cannot-deactivate/

Let me know the results!
Thank you!

V3N0M
tagDiv Member

Hi Calin,

I have not yet fully understood the principle. Creating the Childtheme was no problem, but the Composer is a plugin, and the ‘Single Post Author Box’ is defined in the plugin. But I cannot overwrite plugins in a Childtheme or code elements for a plugin. Or can I?

I also extended the code in “wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php”, but it doesn’t seem to run. Does this file only serve as a base and must be compiled whenever changes are made? How can I tell the compiler that there are new changes? Even after removing and adding the module in the manager no changes are shown.

Br

Vlad S
tagDiv Staff

Hello !

Please make sure that you have accomplished all the system requirements as in our documentation here: https://forum.tagdiv.com/requirements-for-newspaper/

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Calin
tagDiv Staff

Hi,

Usually this issue is related to a firewall or security module which blocks admin-ajax.php request. Please verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module which blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Hope this will help you!
Let me know the results!

Vlad S
tagDiv Staff

Hello !

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Vlad S
tagDiv Staff

Hello !

You can save your elements by right clicking on them as you can see here: https://www.screencast.com/t/d6xz2kG8Q4QH If this doesn’t work for you, please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Viewing 25 results - 3,026 through 3,050 (of 12,866 total)