No search results were found in Documentation!
Hi,
Thank You for reply.
Only think that i add is this in global java
// Anonymous "self-invoking" function
(function() {
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);
// Poll for jQuery to come into existance
var checkReady = function(callback) {
if (window.jQuery) {
callback(jQuery);
}
else {
window.setTimeout(function() { checkReady(callback); }, 100);
}
};
// Start polling...
checkReady(function($) {
// Use $ here...
});
})();
jQuery(document).ready(function()
{var imavidea=false;
var imafacebookvidea=false;
//Ovdje ide facebook embed code
var facebookembedlink='<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FVideoCraftStudioProduction%2Fvideos%2F825894130902546%2F&show_text=0&width=560" width="560" height="315" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>';
//Ovdje ide youtube video link
var videolink="https://www.youtube.com/embed/tsPGxI4J4FI";
if(imavidea)
{
jQuery(".td-big-grid-post-4").html(jQuery(".td-big-grid-post-3").html());
jQuery(".td-big-grid-post-3").html(jQuery(".td-big-grid-post-2").html());
jQuery(".td-big-grid-post-2").html(jQuery(".td-big-grid-post-1").html());
jQuery(".td-big-grid-post-1").html(jQuery(".td-big-grid-post-0").html());
jQuery(".td-big-grid-post-1 img").css({"height":"100%", "width":"100%"});
if(!imafacebookvidea){
jQuery(".td-big-thumb").append('<iframe width="100%" height="100%" src="'+videolink+'?autoplay=1" frameborder="0" style="position:absolute; top:0;left:0; right:0; bottom:0; z-index:10" allowfullscreen></iframe>');}
else
{
var facebookispravljen=facebookembedlink.split('"400"').join('"100%"');
facebookispravljen=facebookispravljen.replace('overflow:hidden"','overflow:hidden;position:absolute; top:0;left:0; right:0; bottom:0; z-index:10; "');
jQuery(".td-big-thumb").append(facebookispravljen);
}
}
// jQuery("li.comment section.content").each(function(){jQuery(this).html(jQuery(this).html().replace(/<br/g, '<br/><br'))});
jQuery("body.single article header").first().append('<div class="sharedaddy sd-sharing-enabled">'+jQuery("div.sharedaddy").html()+'</div>');
setTimeout(function(){jQuery("#gk-content-top").css({"max-height":"500px","margin-bottom":"0"});},1);
setTimeout(function(){jQuery("#gk-banner-top").css({"transition":"all 1s","-webkit-transition":"all 1s","-ms-transition":"all 1s","-o-transition":"all 1s"}).css("margin-top","0");},1);
jQuery("#gk-mainbody-top #widget_gk_nsp-24 .gk-nsp-arts img").each(function(){var sors= jQuery(this).attr("src"); sors="wp-content/uploads/"+sors;jQuery(this).attr("src",sors);})
}
);
jQuery("#gk-inset").before('<div id="youtube_responsive-4" class="box widget_youtube_responsive">'+jQuery("#execphp-6").html()+'</div>');jQuery("#execphp-6").hide();
/* jQuery(document).ready(function(){
var a=jQuery("#execphp-6").html();
jQuery("#execphp-6").html("");
jQuery("#youtube_responsive-4").html(a);
})*/
Here is my system status: http://prntscr.com/h3orse
I have updated theme, and this is happend before update, i think update is not problem.
Hi!
What would be the best way to load Ads on Categories, Authors, Tags and such pages, using the already defined Ads on the Theme settings?
Modifying the code wouldn’t be an issue, I’m using a child theme
Regards
Hi!
I’m trying to modify the Desktop, Tablet and Mobile sizes for the images on the iOS slider.
I tried modifying the file Newspaper-child/includes/td_module_slide.php Line 35
From
$buffy .= $this->get_image('td_1068x580);
To
$buffy .= $this->get_image('td_1250x580');
However it throws this error on the frontend:
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_1250x580 is not set.
/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Tried to find the function to register it on td_api.php but could not find it.
Thanks!
The CSS works as expected.
I spoke with WooCommerce’s support earlier this morning, and they mentioned that the product loop that gets added by default to the store’s front page is defined by the product-archive.php file in TagDiv’s file hierarchy.
I need to know what code to place in the child theme’s functions.php file so that the product loop does not appear at all on the shop’s main page.
Hello,
Just a thought but are you sure your users don’t have adblock on? Happens to me all the time.
If not, please try to 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!
Hi there
I can’t find a child theme for NP 8. Now all changes to my style.css within the child theme for NP7 won’t affect the new theme.
Please advise.
Regards
I find it easier to edit the main files and keep track of changes; then reapply to new theme update if needed; less messy than working with child theme which might ALSO need to be updated with major theme update — which defeats purpose, in my mind anyway.
I followed those instructions, and then realized that the lightbox checkbox I needed to activate wasn’t available in WooCommerce Product Display settings.
So I added the following snippet of code to the Child Theme’s function.php file:
add_action( 'after_setup_theme', 'yourtheme_setup' );
function yourtheme_setup() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
}
I adjusted the ‘yourtheme’ to ‘newspaper’. Please let me know what this needs to be if that’s not accurate.
It broke the site. I’m now getting the following error:
Parse error: syntax error, unexpected ‘3’ (T_LNUMBER) in /home/robywebd/public_html/cet/wp-content/themes/Newspaper-child/functions.php on line 31
Hello 🙂
For customizing I need to edit index.php and header,footer.. etc php files. (copied to ftp child-theme folder)
Actually at my last work with bootstrap theme I had to make child theme and have very complex and uncomfortable situations..
I don’t know whether to work without child-theme or not.
If it has no problem then I’m willing to use and edit original theme files freely.
Is there any problem about child-theme(updates, etc..)?
Hi,
That would have to be done by creating as mentioned, copies of the theme taxonomy.php file found in the main theme folder. Use your available taxonomies names when creating the copy in the child theme. An example
– https://www.screencast.com/t/8wAwEJpXm
– https://www.screencast.com/t/2mTSbkfE
Now you can customize this created copy, it will be used to display the taxonomy page. Taxonomy pages cannot be customized like default category pages, in the theme panel. There could be more support for custom post types added in future theme updates, but I cannot say for sure.
Thanks
Hi,
There were changes to the functionality of the way products display, I believe in version 3 of the plugin. You will have to add the code mentioned in this topic, in the main theme (or child theme) functions file
– https://github.com/woocommerce/woocommerce/wiki/Enabling-product-gallery-features-(zoom,-swipe,-lightbox)-in-3.0.0
This will produce the result you need, clicking on the gallery images will display the images as the product image
– https://www.screencast.com/t/qwSeUaVcX21
– https://www.screencast.com/t/z5yeSzsW
Thanks
Hello cantonjester,
Please check the following useful tutorial here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ to find all the details for Child Theme Support. All of these tasks you should do it yourself because we cannot provide custom services at the moment, sorry!
Thanks for your understanding!
Hi,
Something like that could be available in a future theme update, but for the moment the functionality is that some modules display an excerpt, others do not. The modules can be customized through a child theme. So you could make the customization in a child theme, that way you will not lose theme in case of theme update
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
If you manged to implement the excerpts in those modules as shown, you could color them specifically fro those modules
– https://www.screencast.com/t/1BDz8BqaX
.td_module_mx20 .td-excerpt {
color: yellow
}
Thanks
Thank you for the reply!
A couple things:
1) How is the solution you provided going to affect *ONLY* the scenario I described? Again, I only want the functionality (hyperlink opening in new tab) to occur on the WooCommerce product page.
2) How would I affect these changes in the Child Theme, and not in the main theme files?
The answer was given here: https://forum.tagdiv.com/topic/how-to-create-a-child-theme-for-newspaper-theme/
Read carefully this manual: https://forum.tagdiv.com/the-child-theme-support-tutorial/
A sample child theme (with style.css and functions.php files) is available in the /code/ folder in the package that you downloaded form Themeforest:

Please send the codes for style.css and functions.php
PLEASE post down the file codes for style.css and functions.php!
I truly need help to set the child theme.
Hi,
You should try using the following code and place it in Theme panel -> Custom CSS area.
The code is ->
.td-image-gradient:before{
display:none;
}
.td-grid-style-1 .td-module-thumb a:last-child:before{
display:none;
}
The result is here -> https://www.screencast.com/t/dDrBAj2bu9
Thanks for your understanding!
Hello,
Out of nowhere our theme settings will no longer save this past week. For instance, if I turn off the footer and hit save, the panel will notify me that the save was successful with the checkmark. However, if I refresh the page, the footer is still on — it didn’t save.
What I have done:
– Deactivated all plugins except the TD Composer.
– Reverted to the parent theme as to eliminate any of my child theme additions.
– Verified that all settings are correct in the system status. (input_variables = 5000, execution_time=60, memory limit = 64_
– At one point I was seeing a php error that said I had reached the byte limit for the mysql call, but I increased that amount and haven’t seen the issue since. I see no php errors currently.
– I did notice that the admin-ajax call that you seem to be saving the settings with is returning 0.
Apache/2.4.27 (Amazon) PHP/7.0.21
Wordpress version 4.8.2
Any help would be appreciated.
Zach
Now everything is updated on the main theme incl. plugins, but the child theme still shows Newspaper 7 and the site isn’t working. Please advice!
I downloaded the latest version and installed it, but visual composer isn’t updated to the latest version. My child theme is still showing Newspaper 7 and the site isn’t working.
Hi guys,
I just find out that the main theme has been auto updated for some reason to Newspaper 8. My child theme was still Newspaper 7. I only switched to the 8 to see how things look and then switched back to the child theme, but it’s no longer working… bit.ly/2vj1QS2
Hello,
Sorry for the delay. Please note the support hours on the top right of this screen.
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!