- NewsmagChild theme support
- NewsmagWhat’s included in Newsmag theme package
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
I am looking for the same functionality as vasik. I found this:
// Add External Link to Featured Image with Custom Field
add_filter('post_thumbnail_html','add_external_link_on_page_post_thumbnail',10);
function add_external_link_on_page_post_thumbnail( $html ) {
if( is_singular() ) {
global $post;
$name = get_post_meta($post->ID, 'ExternalUrl', true);
if( $name ) {
$html = '' . $html . '';
}
}
return $html;
}
and use a custom field on the post page but this isn’t working. I have added this code the my functions.php in my child theme. I assume that maybe there is a script in the theme that is overriding this functionality. Would it be possible to get a small amount of guidance on this. I would very much appreciate it.
What I am trying to do is have the covers to the magazines uploaded as the featured image and have them link to the digital flipbook online. It would be great if this could work.
Hi, there.
How can we override the templates of the mobile version of the website in the daughters of the theme (child-theme)
Hi,
The problem in the case above was with the child theme. The child theme contained footer files which have changed in the main theme when the options was introduced. So if you use a child theme check if it contains theme footer files, these would be outdated if you used an older theme version before.
How to remove style.css files from speedbooster plugin?
I edited speedbooster and removed these lines from td-speed-booster.php
`/**
* here we move the css
*/
function css_mover() {
//if ($this->td_theme_name == 'Newspaper') { }
// wp 011 - Newspaper 6
$this->move_style_to_footer_queue('bbp-default-bbpress'); //bbpress old
$this->move_style_to_footer_queue('bbp-default'); // bbpress
$this->move_style_to_footer_queue('contact-form-7');
if ($this->is_ie === false) {
// move style.css theme style
$this->move_style_to_footer_queue('js_composer_front');
$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('td-theme-child');
$this->move_style_to_footer_queue('td-theme-woo');
$this->move_style_to_footer_queue('td-theme-demo-style');
$this->move_style_to_footer_queue('td_live_css_frontend');
$this->move_style_to_footer_queue('td-theme-bbpress');
}
$this->move_style_to_footer_queue('font-awesome-four');
//@todo test on newsmag
$this->move_style_to_footer_queue('woocommerce_prettyPhoto_css'); //on product page
$this->move_style_to_footer_queue('woocommerce_frontend_styles'); //old woocommerce?
$this->move_style_to_footer_queue('woocommerce-layout');
$this->move_style_to_footer_queue('woocommerce-smallscreen');
$this->move_style_to_footer_queue('woocommerce-general');
//$this->move_style_to_footer_queue('bp-legacy-css');
//google fonts
$this->move_style_to_footer_queue('google-fonts-style');
//move revolution slider css
$this->move_style_to_footer_queue('rs-plugin-settings');
$this->move_style_to_footer_queue('genericons'); //still rev slider
//$this->move_style_to_footer_queue('js_composer_front');
}`
But still having the same issue.
-
This reply was modified 8 years by
TechieBraj.
-
This reply was modified 8 years by
TechieBraj.
-
This reply was modified 8 years by
TechieBraj.
-
This reply was modified 8 years by
TechieBraj.
Hey guys,
I need to extend the td_module_single_mob class but cant work out how to elegantly register my module.
I know the mobile theme doesn’t support child themes (yet), so if I could register my module in the mobile/functions.php file that would be great.
Currently I am adding my module in mobile/includes/td_config_mob.php…
td_api_module::add('td_ba_single', array(...));
…but I’d prefer to leave as small a footprint as possible in the parent theme – just adding a few lines to mobile/functions.php. Hopefully that’s doable.
Thanks,
TP
Hi,
That is not normal, the theme panel is not working properly. Maybe the theme did not install right, try reinstalling it and check if this fixes the issue. Also deactivate all non-theme plugins, if you use a child theme deactivate that as well.
Hi,
Indeed, there are quite a few problems with the website. The structure is missing essential elements such as the header and there are errors
– https://www.screencast.com/t/AcUYjuMZWrj
You can first try the basics. Deactivate all plugins except theme plugins and check if this fixes the situation.
Remove any theme modifications you might have made, custom code added in the theme panel or theme files, deactivate the child theme if used.
If this has no effect, reinstall the theme. By FTP would be most recommended
– https://forum.tagdiv.com/install-via-ftp/
Hi,
That code seems to have an extra “}” from what I can see, maybe that is why it is causing problems. Valid code entered in the theme or child theme functions file should not cause any issues.
As a side note, if you bump or reply in your own topic after the initial post, this will delay our answer. We answer from oldest to newest, so doing this will renew the topic.
Thanks
Hello lizdi2018,
We have added this suggestion to our list of improvements and we will take into account to the next updates. Another alternative for you would be to make these changes in Child Theme because the header.php and functions.php are overwritten in the child theme, as you can check in our documentation from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks for your understanding!
Hi,
Looks like WPBakery is conflicting with post template. When using it at posts the texts miss the lines breaks and go behind the sidebar. Can you advise how to solve the issue.
I’m using:
Newspaper Version: 8.7.1 with child theme (demo ID: lifestyle)
WPBakery Page Builder Version 5.4.7
Thanks in advance!
I have a bunch of customizations that I need to add to the functions.php file, but every time I do it causes a HTTP error 500. I have used many other themes and never had an issue with adding code to the functions.php file.
One of the items I’m trying to add, is listed below:
if (!current_user_can(‘manage_options’)) {
remove_menu_page( ‘jetpack’ );
}
}
add_action(‘jetpack_admin_menu’, ‘hide_jetpack’);
What do I need to do in order to add functions and actions to the functions.php?
In that post they show – https://www.screencast.com/t/YxekSyZwKuiC
But in others they are missing for me as well
– https://www.screencast.com/t/AFom8G40e
Seems there is a visual issue, the ads are there but not visible. The lazyload animation seems to be broken due to some errors probably
– https://www.screencast.com/t/XVxPFTbDU
I could give you a code to make the ads visible
– https://www.screencast.com/t/DdHbGGbuL
You can enter that in Theme panel->Custom CSS
body.td-animation-stack-type0 .post ins img {
opacity: 1;
}
But you could try to find what exactly is causing this problem. Start by deactivating all plugins if possible as a quick test, leave only theme plugins active. Clear the cache and check if this has any effect.
Check code entered in theme panel, theme files and child theme. Something is creating this conflict.
Hello,
1. Please remove your customization made to the ticker. There is quite a bit of code change on your end that affects the news ticker.
2. This could be a plugin conflict so please disable all plugins except the page builder and yoast, 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!
Hello Sirius Pro,
Please notice that’s the normal theme’s behavior, as you can see on our demo preview here -> https://www.screencast.com/t/UrOCP8faJCIR Also, if you want to hide this, you should use the code below and place it in Theme panel -> Custom CSS area.
The code is ->
.td-crumb-container span:nth-child(3){
display:none;
}
.td-crumb-container i:nth-child(2){
display:none;
}
The result is here -> https://www.screencast.com/t/ZHfsJ8nJb
Hope this helps!
Thanks.
Hi,
That would be the default design for the big grids. There are many big grid designs to choose from. For example style 4 does not feature a dark gradient.
But if you want to use style 1 and remove the dark overlay, enter this code in Theme panel->Custom CSS
.td-grid-style-1.td-hover-1 .td-module-thumb a:last-child:before {
display: none;
}
It will remove the overlay for most grids once entered
– https://www.screencast.com/t/qk23uiqFo
The mobile modal window in which the menu will be displayed, has settings in the theme panel
– https://www.screencast.com/t/nn6YduNBf
You can set a background color or gradient for the modal window, so you can set a white background color and also color the text red.
Thanks
Glad it worked. All the post template files can be customized in a child theme, so that is possible. A child theme is provided in the theme package
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
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!
I also tested it on my test-server, which use the same child theme as on my main-website and there it work. For example: http://community.awayfromlife.com/fgggggg/amp/
Best regards,
Simon
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!
Hello Catalin,
how can I update a child theme? I thought it’s enough when I use an updated parent theme – there I use the current version.
If I deactivate the child theme, the AMP-version of tagDiv is still faulty. It seem that It display the standard header among other errors (like the amp-version will not open autmatically when you surf mobile).
I would be very happy if you help cause I will be in a few days in vacation and don’t want to lost my SEO-Ranking and also visitors.
Thank you!
Simon
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!
Hello AWAY FROM LIFE,
I have inspected your website and I did not get any error. Also, I have checked your source page and I saw that you are using an old theme version (Newsmag 2.0 version) with the child theme. If you want to achieve well results you should update the theme to the latest version of it, switch the theme to the main theme, clear all the caches and check the results.
Thanks for your understanding!
Hi,
Can you help me with deleting the tag base from breadcrumbs?
https://porady.org/dziecko
Now is: Porady.org > Porady > Dziecko
What i need is: Porady.org > Dziecko (the same as at category page)
I have a child theme but i cannot find function which is responsible for that.
I have had real problems getting the Newspaper theme onto my server and running. I used WP dashboard(appearance-themes- upload theme) and got the response ‘the link you followed is expired’ This happened once the upload reached 100%. I changed the PHP settings to allow larger files and longer to upload, but not luck. WP is fully updated and freshly installed on server.
I then tried using FTP Filezilla to import the theme. However i now have the error on the WP that says:
Newspaper Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.
i have tried importing both the Zip and the uncompressed into the Themes folder in WP on my server. WP recognizes that it is there but not usable!
Please can you let e know what i am doing wrong or send me a version that will work!
Many thanks
Hello jessejin,
It could be a temporary problem with your opacity. Maybe your images are stuck in opacity 0. This usually happens on a js error caused by plugins or customization or other external optimization tools. Please disable all plugins except visual composer, 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 functioning of the theme.
We recommend using our TD COmposer because all of the major improvements in the future will be made on this plugin.
Hope this helps and let us know how it goes!
Thanks for the message!