- NewsmagChild theme support
- NewspaperChild Theme Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewsmagWhat’s included in Newsmag theme package
- NewspaperHow to Update the Newspaper Theme
- NewspaperWhat’s Included in the Newspaper Theme Package
- ApiThe Theme API
- NewspaperFlex Block Settings Guide
- NewspaperPrimary Category: Build a hierarchy for your website
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
- NewspaperBreadcrumbs
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
Not using a child theme, nope.
That’s fine, thanks for your help so far!
are you using the child theme?
I’ve got to head out for about an hour. I can help more when I get back.
Hi Guys,
Could you please tell me how to use the LESS Compiler in my child theme?
I copied the less_files directory as well as the td_less_compiler.php to my child directory.
Then I told the compiler to echo $less->compileFile("less_files/main.less", "child.css") and then I was going to import child.css into style.css.
Then I tried to require_once('td_less_compiler.php') in my archive-blog.php template file, thinking that this would make it so it only compiled when I went to my ‘blog’ custom post type archive. That fails with an error about the include path.
What am I doing wrong?
Sorry about that! Actually in 3.0.1 I messed up again. If you can replace in style.css newspaper with Newspaper it will work.
When I’ve tested it on windows it worked with n instead of N but on linux hosting it will fail.
Stefan
open Style.css in the newspaper-child
in Template, change it from 009 to Newspaper
Before
Template: 009
after
Template: newspaper
and it will 100% work 🙂
Hello, the update to 3.0.1 on the child theme to activate it loses the CSS style I can do to fix it?
Thank you!
Yes sort of – see my other topic about this – https://forum.tagdiv.com/topic/top-menu-bar-colour/#post-6012
I had to add to me child style sheet and set the same bg colour as the theme options panel bg colour.
Yes I do have other plugins.
It seems that the css was loading my custom theme options settings after the default css was already visible for a second. Not sure if that makes sense.
I added the top nav bar, and the main nav bar colours to my child style sheet so the effect is hidden. (i.e.. nav bar starts blue instead of grey so we don’t see it ‘change’).
Still on my home page – I see my headings change from a large font down to the smaller size chosen when the page loads. I imagine the same solution will work – but this means I am bypassing the admin theme panel all the time now.
Hello,
We make a loot of changes in V3, we change the file structure, more organized.
What you can do is to use Winmerge is free, this compare 2 files and show you modifications.
In V3.0.1 we improve Theme Child.
Thanks for the message!
so do you recon copying the footer.php to the child theme and editing that would be the best way to do this ?
Hi TagDiv,
We just downloaded the V3 version and this time the Patch Folder is missing,
Please provide it in your next release as we added a lot of bespoke functionalities to your theme (because we could not override everything from the theme child).
Regards,
Fabien
Hello,
We will fix this today! Thanks for reporting this!
A mi me ha pasado exactamente lo mismo ¿?
When trying to use the new Child Theme I get a message: Theme 009 not found?
It’s in themeforest’s queue 🙂
The new ad system
( please escuse the english… and quality, Radu A. will get better at this 🙂 )
http://www.youtube.com/watch?v=OYCUHzcrUeU
Panel tour
http://www.youtube.com/watch?v=OzUa-_FtsGw
The full update list
In this update we invested a lot in the user experience, back end of the theme and overall quality of the code. After 415 code commits to our source, this is the biggest update yet to the newspaper theme. Even with the added features the theme is faster than ever due to our WordPress Booster framework and a lot of code improvements.
* New panel
* New intelligent ad system ( you have to see it live to understand how easy is to use )
* New setting to allow disabling of ads on each device type
* New documentation
* New ad spot at the top of the content
* New ad spot at the bottom of the content
* Added support for the AdRotate plugin
* Added offset support on all the blocks and on the loop templates
* Added an unique article system that makes sure you have unique articles on the homepage regardless of what template and blocks you use
* Added support for background click ads
* Tool to import the category settings from version 2
* New theme framework (WordPress Booster) – documentation about the framework coming soon
* WordPress booster – major fixes and improvements in the way it interacts with WordPress. We fixed all the incompatibility issues with most of the plugins.
* WordPress booster – 10% less memory consumption (We spent a lot of time in xDebug and memory profiling tools)
* WordPress booster – 15% faster (The framework dynamically loads only the needed code for each page and we take full advantage of WordPress object cache)
* WordPress booster – new category settings api
* WordPress booster – new advertising api
* WordPress booster – new settings api
* WordPress booster – new faster and smarter datasource api
* The security of the theme has been audited by us and improved
* We reorganized the theme file structure
* tagDiv Speed booster plugin V2 – It now works with google ads and with bbpress plugin
* New child theme that includes the WordPress Boster framework
* All the modules can we overwritten by the child theme
* More parts of the site can be overwritten by the child theme now
* fixed bbpress sidebar issues
* fixed sidebar issues on page template with the right sidebar
* fixed category background image problem when the theme didn’t had any other settings
* fixed category background color layout issue
* fixed bbpress style issue
* added footer text color setting
* added top menu text color setting
* added sub footer text color setting
* usability fixed small targets on mobiles, the theme has now a perfect usability score on google pagespeed
* fixed random appearing issue that affected the javascript of the page ( uniqid() function from php is not reliable ).
Thanks for the update Radu,
I am very happy to hear that you are aware of the issues and that a fix is near release.
Hello,
I’m aware that the theme is does not fully support child themes. We are releasing this week a major update to the theme and one of the remaining issues is better child theme support. We want to load the framework before child themes.
We also have in plan to load the modules via locate_template so that they support child themes.. but it will take us at least two weeks to release that feature.
Sorry for the inconvenience… and hopefully with this week update I will fix most of the child theme issues,
Radu from tagDiv
Hi Guys,
First off, awesome theme. It is the only theme on the market that got close to being able to present our content in the way we want.
I’ve been working on creating a child theme based on Newspaper for a Hawaii-based travel agency for the last couple months. I have a few questions about best practices and what I might be doing wrong in my child theme creation. As comprehensive as the theme is, there is still need in our case to make changes that are not possible given the theme options. 🙂
It appears to me that the theme is really a framework in itself and doesn’t play well with the child themes concept. Is this a correct assumption?
In my child theme I have parts/archive-header.php that was copied from the same directory in the Parent. This file works as expected. Now I want to customize the header on the home page. I find out that that is parts/header/header_style_2.php. So I copy that file to the same directory in the child, but only the html in the document renders, not any of the conditional code result. It seems like this is because the Parent Theme’s classes are not able to be called from there. Which, for instance, is why $td_customLogo = td_util::get_option('tds_logo_upload'); is empty so the logo does not render.
How do I include the parent frameworks’ classes in my child theme?
Second question: I have edited the td_module_1.php(and a few of the other app/module files) to add my own custom_post_type_render() method to that class that I call from the child theme loop file. Is there a way that I can do this in the child theme directory so I do not have to modify the Parent Theme files?
Thanks a bunch,
Tom
Hi, the “next” pages work on both of my sites running theme with only the core set of plugins (no Jetpack!), plus using AddThis, AdSense ads, and no insert of ads in content (only header + sidebar).
Usually this “error” is from modifying a page, using a child theme with a bad addition to the functions file, or a conflicting CSS element from another plugin.
On one of my old themes, I also had another navigation plugin running from a prior theme and forgot to turn that off, and so it broke it.
Not sure if any of that helps. But it does work properly on both our test magazine site and a live production site (2004 site updated for 2014 with this theme) without any trouble, which implies a local issue vs a theme specific issue.
On another theme I found going to the admin > settings > permalinks and resaving the permalinks actually helped. Which is bizarre, but there you go.
-
This reply was modified 12 years by
simchris.
Hello,
The best is to use the Child theme. What you have to do is to activate the Child theme and add you custom css, should work.
Check you css to be correct or use !important if the css not work.
Thanks!
Thanks!
Its a site I am developing on a sub-domain
http://develop.alltomtrav.info
Whats the best? To do it in original CSS or the Child Theme?
It seems that I can not get the Child Theme to work…
-
This reply was modified 12 years by
Stefan.
Hi, Radu
that would be awesome. I switched from using the child theme so as to not impact my pagespeed adventures, and so the custom CSS I put at bottom of style.css didn’t have an impact in the way the child/style.css did. Being able to tweak a few things here or there with either a custom.css file, or perhaps more appropriately these days a “hook” to drop some code in the head at bottom before the body tag (Woo Themes does this fairly well, btw; they have all these little ‘hook’ locations to drop in code, although it does add a slew of if/then crap; disclosure we’re trying to ramp up your theme to replace Woo Canvas!).
So for us to be semi-done and in full “go mode” my laundry list of stuff needed is simply:
1) Google async alignment in top bar
2) websafe fonts option – which would save me hacking that one
3) custom.css injection hook in head, to over-ride couple of minor things (like making the author box bio text size smaller, when making the post side larger so the author bio isn’t over-large from the base adjustment)
4) not critical; but option to have a local image for author box (add new user meta field for ‘author image’ — we used to do this on our in house theme, not difficult) to not pull gravatar and save some bandwidth from external site — if you wanted to wow the kids, you could add a “grab my image from gravatar” option 😉 Peeps love the “automagical” stuff.
Otherwise, for us — you’re done! I’m hoping the v3 won’t introduce new issues, but right now we’re very happy.
BTW: for ‘web safe’ fonts, Adobe came up with some really quite brilliant ‘stacks’ of the best font mix to use across Mac, Windows, iOS, Android, et al. They can be found in Dreamweaver, and possibly their help system – but if you need those, just let me know. Much nicer than the old skool ‘Helvetica, arial, sans-serif’ stack. 🙂
Ooops: one more.
For those who are testing for speed-speed-speed and want to fix all their “you could optimize image xyz” warnings. I actually wrote an article on this once upon a time on my old site no longer seen anywhere since it was behind a login.
BASICALLY:
1) backup all your images
2) install the wp regenerate thumbnails plugin
3) check your wp settings > media and make sure the S / M /L sizes match what is being used by theme so you don’t end up with more thumbs than needed (seriously this is the #1 mistake folks make with thumbnails in general)
4) add the following code to your functions.php file in the theme root at the end –or– in your child theme (TIP: stop using a child theme)
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
5) run the regenerate thumbnails plugin under wp admin > tools
Voila!~ go rerun your speed test with Google and magically no more “you need to optimize image xyz to save 5kb” crap.
If your images don’t look as sparkly as they did, you can always delete the thumbs, put your original images back, and then try changing the “50” to “60” if you prefer.
For all those thumbnails all over the place “50” is recommended setting, and this uses both the built-in function of wordpress for images which hooks into the image mod stuff on the server. UPSHOT: when you make this change to your functions.php file – ALL YOUR FUTURE IMAGE THUMBS will be compressed automatically.
No more extra plugin to do that unless you really want to.
Simple. Easy. Quick.
I second this emotion. I was actually trying to make the post story titles 48px and was limited to the 40px. I suppose simple fix is just adding css adjust for that at bottom of the main style.css ?
Since we’re not using a child theme, where *is* the best place to insert custom CSS ? I don’t think there is a hook to put custom style inline with the head to override the main style. I tried to over-ride something by putting at bottom of the main style.css, but I guess I need to do mods for each viewport section.
Thanks Christopher. I took a look at mod_pagespeed, but it doesnt look like it could do anything for me at this point. I’m already on a VPS that runs Plesk 11 with nginx as a reverse proxy. I’m letting nginx handle all php scripts and serve static and dynamic content. Gzip compression is enabled and i enabled browser caching through nginx with the expiration set to two weeks. I’m running WP Super Cache as well to create pre cached pages and i use EWWWW Image Optimizer to optimize all images. I also optimazed all theme and plugin images with that plugin. You might want to look it up, imo it really is a better plugin than smush.it and so. I use the simple minify plugin to minify all javascripts and i my pagespeed currently toggles between 85 en 92 for desktop, depending on my server response time and between 70 and 80 for mobile. The only red warning i still get is to defer javascript and css (moste google fonts, and 3 theme css files: bootstrap, style.css and child theme style.css) to below the fold, but i have no experience on how to do that. Im really pleased with the pagespeed right now, but more tips (besides using a CDN) are welcome!
Thanks for you responce anyway 🙂