- NewsmagChild theme support
- NewsmagWhat’s included in Newsmag theme package
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
I don’t use child theme though,can that patch work with out…
I never used v6, just went straight to v6.1 and am waiting until the next release after v6.2 since I’m sure one is coming very soon to fix that title issue you experienced. But it’s been happening the whole time, on both the main and development sites I run.
I can’t figure out why, though. The child theme is so bare and includes nothing to alter the images at all. There’s likely a function somewhere in the parent theme that is causing it, but the developers are the only ones who know for sure.
Here’s a patch to hold us over until they fix the child theme issue. In Advanced CSS enter these values:
Desktop –
.td_block_18 .td-column-2 .td-module-thumb {
height: 378px;
}
iPad Landscape –
.td_block_18 .td-column-2 .td-module-thumb {
height: 350px;
}
That fixes the problem in a backwards way and keeps everything responsive for all devices. Hopefully we can get a true fix soon, though.
/*CHRISTOPHER's CUSTOM MODS - slim version */
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action('wp_head','print_emoji_detection_script',7);
remove_action('wp_print_styles','print_emoji_styles');
function no_errors_please(){
return 'You appear to be up to no good. Please stop now!';}
add_filter( 'login_errors', 'no_errors_please' );
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
This is the combined block of code (including the emoji removal mentioned above) that goes at the END of the functions.php file.
@neotrope Not sure why you said that code can’t go into the child theme. I’m running the child theme and inserted this into the functions.php file inside the child theme directory and it’s working spectacularly. Do you mind elaborating on why you emphasized that so much?
Thanks for codes @neotrope and @fudoki
Not sure how this helps since this applies without any modifications to the child theme, but it only happens when the child theme is active. Switching to the parent theme only removes this grey bar and the resizing.
I hear you Chris. And I’m reconsidering. I mean, the child theme works flawless on the main site (NP4), just something not configured the right way on NP6.
Lucien, now that we know the site works when I activate the main theme, does that help triangulate what could be incorrect in the child theme?
Hi,
Please make sure that you update also the child theme, you can find it in /code folder – https://forum.tagdiv.com/whats-included/ it should solve this issue.
Thanks!
Thanks Alin,
will this work if I copy the header-style-1.php file to my child theme parts/header folder?
Hi,
You can make this change in the main theme for the moment, we will try to make more files to be editable by child theme in a future version.
Thanks!
I have changed memory as such:
define('WP_MEMORY_LIMIT', '96M');
no change.
It is a clean install, am using main theme not a child theme. I have turned of all plugins besides VC. As for the logo problem, I have uploaded it to the media library with WordPress admin panel so it changes the path successfully on the Theme Panel and saves just fine but then when I view the site, no changes have taken place even after I clear my cache in browser. I can change it only if I upload it directly in cPanel or FTP it in but I shouldn’t have to do that lol. And nothing else I do in Theme Panel reflects any changes either, I can modify top bar, header, ad codes and pretty much everything else and even tells me it has saved successfully but then when viewing the site… no change.
Did you increase memory in your wp-config.php file?
Did you do clean install vs just move it ?
Use main theme, not child theme.
Turn off all plugins except VC.
Make sure you changed the domain name in anything which used that, like internal links to images, etc.
I personally don’t use child theme due to CSS redirect and unexpected gremlins…. oh, like in this case 🙂
Hi Alin,
I am having the same problem and I am using the child theme. I am using 6.2 (latest release) and all plugins are updated and being used. Tested turning off all plugins as well. It works great in the main newspaper theme when I change it to that theme, but it breaks when I activate the child theme. I think there is an issue with the child theme. I have tested different grids in the lower main content areas and they appear to work. It is that first grid at the top of the page.
You can use my test site to test.. http://test.paleoctopus.com
Not trying to Hijack your thread Mark.. 🙂 Just thought I can help us both get the answer a little faster as I have already done a bunch of testing and we are having the same issue.
Cheers,
Will
Thanks Lucian,
When I switched to the normal theme, the posts populated. So something’s definitely incomplete with the child theme’s setup.
One thing I haven’t done yet is implement the API part of this new theme.
The instructions are a little too technical for me. But could this be the reason the child theme isn’t working right?
Here’s an image of the child’s functions.
(I’m about to install 6.2)
Thanks again for the help.
Hi,
You have to make this change in the main theme as this file cannot be overwritten by child theme – https://forum.tagdiv.com/child-theme-documentation-newsmag/
Thanks!
Hi,
If you have made any customization to theme files with or without using the child theme please remove theme and test this again, let us know how it goes and if possible and you can’t manage to find the reason of this happening please provide wp-access so we can have a closer look at this and provide your admin login details via email at contact@tagdiv.com and also provide a link to this tread so we can know what this is about.
Thanks
Thank you for the tip about ordering subcat in the megamenu !
How could I apply it in the child theme context ?
-
This reply was modified 11 years by
funworks. Reason: just wanted to activate notification :)
Hi,
I tried this update in the child theme by copying the file td_config.php onto Newsmag-child/includes/ folder, but without success…
Hi,
Do you use the latest version of the theme 6.1? Also please make sure that the plugins that come with the theme files are also updated(speed booster if you use it). If you use child theme please check this also with the main theme.
Please let me know, also provide your site url.
Thanks!
Hi,
Please access this link – https://forum.tagdiv.com/theme-panel-general-presentation/ the old documentation still exist, but we have removed from the menu because it creates confusion.
Also about child theme please send an email at contact@tagdiv.com with your request, also paste a link to this topic so we can know who you are.
Thanks!
Hi lighterside,
I’ve checked your site and the posts Chris also mentioned: http://dev.lightersideofrealestate.com/real-estate-life/cool-stuff/tiny-house-bestie-row and found that pages html structure ends unexpected: http://screencast.com/t/KRNumYJIcOhW
Also check switching to the main theme as test if this still happens as I see you’re using the child theme: http://screencast.com/t/PAG6UxPwXDbv
If no errors appear and still can’t find the reason of this you should check your error.log file, there should be some useful information there related to this.
If you have access to your error.log file, please paste a copy here so we can take a look. You can find it via ftp or c-panel. If you don’t have access to it ask your host provider for a copy.
Thanks
Hi,
1. Unfortunately at the moment we don’t have an official documentation regarding theme’s regular child system and right now just files that are located in theme’s root can be overwritten using the child theme, this means posts template files(in this case just the default post template the single.php file as for the other ones we have some issues which we’re trying to fix as soon as possible), page templates, category/archive/author.. templates as well as the header and footer templates.
For modules and headers/block/modules and so on.. we’ve added the API based system about which you can find more detailed info here: https://forum.tagdiv.com/the-child-theme-method/
We also have this in our attention and plan to improve the child theme overwriting system in the near future. We hope to offer the possibility of overwriting most of theme’s files using the child theme and for that we have to find the best solution for it and the right implementation.
2. You can remove the default google fonts from the config file here: http://screencast.com/t/wmxKL4rF which can’t be edited using the child theme. Sorry!
Thanks for the message!
Hi,
1. You will need custom work to achieve that, here you can find and alter the code to block bottom ad – http://screencast.com/t/sb35p9Xb9 unfortunately we cannot provide any type of custom work at this time, sorry!
2. Did you also updated the child theme? Please try Emil solution from this topic – https://forum.tagdiv.com/topic/big-grid-1-and-2-problems-on-newspaper-6-and-6-1/#post-55607
3. Please make sure that you delete the old version of Social Counter, then install and activate the new version of the plugin – http://screencast.com/t/qScPww6guj6 and make sure that it is the latest version – http://screencast.com/t/Mwqpwjj9rtM
Thanks!
Also i need old version of child theme, in last downlaod i found only main theme archive
Also ref Child Theme issue…I’m using 6.1….
See staging:
http://www-statter911-com.firstarriving.staging.wpengine.com/
Time to add mine into the mix here. I just updated so I’m using Newspaper v6.1 and the child theme.
I opted to go for sleek design attributes and dug apart the default styles. Features include:
- Transparency on all container backgrounds
- Full size fixed background image representing my site’s primary subject (Dallas Cowboys NFL Team)
- Custom widget title blocks
- Custom link colors on post templates with darker headers
- Custom sharing buttons; removed default Pinterest button and replaced with a Reddit button
- Using Open Sans and Roboto in a few places like menus and widgets, and using Merriweather for content and some titles, but Oswald for all headings and most titles.
I’m pretty pleased with how it came out and, of course, thanks go to tagDiv for revamping the theme in such a way that this was so easy to do. Seriously loving the speed of the theme, even with ads and outside javascript like an audio player loaded.
Comments and feedback welcome.