- NewsmagUsing other ads
- NewsmagSidebar ads
- NewsmagImport / Export theme settings
- NewsmagRequirements for Newsmag
- NewsmagNewsmag documentation
- NewsmagHow to update the theme
- NewsmagBlock settings tutorial
- NewsmagIntroduction
- NewsmagPage Menu
- NewsmagMega menu
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagTheme thumbs
- NewsmagBackground introduction
- NewsmagVideo playlist
Hi everyone
On the topic of “PageSpeed,” I have already answered the same questions 50-100 times the past year and they are all covered in the “sticky” thread found in the Newspaper forum.
I am no longer providing any help with PageSpeed issues, as this is all covered in the sticky topic for advanced users; and for newbies, the settings/docs provided by TagDiv for the theme docs (link right side of page) will get you to the 80+ stage right away. If your score is below that then you *did not* follow the theme docs or this topic on the basics for speeding up your WORDPRESS install.
WordPress optimization is widely covered on the net â itâs not theme specific.
You need to have
a) fast hosting; $3/month accounts or âfreeâ hosting are crap.
b) have gzip/deflate running on server
c) you need to set expiration headers in your htaccess (noted in docs)
d) you need to have an image optimization strategy (noted in docs); either via plugin and/or changing optimization setting in functions.php (covered in the sticky topic.. why not READ through it??)
e) you need to optimize your dbase regularly (wp-optimize plugin)
f) you need to limit use of things which call CSS, JS, fonts, ads, counters from OTHER SITES.
g) you need to test/explore refine some kind of caching system on the server or from a WP plugin (noted in docs)
h) high quality hosting will add mod_pagespeed
i) you need to look at manual minification of main style.css file
j) limit number of ad networks
k) limit number of plugins wherever possible
j) limit total number of images/thumbs loaded on post pages to something like 10 total; not 30+
k) use fewer module types to limit number of image sizes/thumbs; use text modules also.
When testing site with something like GTMetrix.com *READ* the information provided with examples and solutions. Only YOU can fix your own website, why ignore the info provided as so many on this forum(s) seem to do?
Advanced users:
a) local caching/loading of gravatars (I provide solution in the sticky thread)
b) mod_pagspeeed and mod_spdy if site loading via https (I offer help on that in the sticky thread and other discussion on mod_pagespeed; search forum)
c) optimization of font loading, hack theme to remove calls from headers/footers to Google and load via style.css; -or- use ONLY web-safe fonts and no Google fonts. (I also describe how to do this in sticky thread; although might need update based on current location of font calls with theme evolution/updates)
d) manual minification of other files, such as main theme functions files
e) optimization of wp-config.php file with comment removal, add paths to base URL/directory and theme directory by name (I show example in sticky thread)
f) add expiration type/ttl for custom icon font loaded by theme (betcha forgot that one!)
etc.
Learning to optimize your WordPress site is UP TO YOU TO LEARN. Itâs not part of the theme. The theme supports very good speed rating IF YOU DO THE REST. The theme cannot fix your server, optimize your htaccess file, speed up time, or transport you off this rock. Google is a great resource to FIND hundreds of articles from the past decade on optimizing WordPress. Youâre not the first person to do it.
Chris out.
(I am adding this here, as many don’t look at the sticky thread and/or folks in the Newsmag forum never saw that. Even so, most posting “my score is 40” clearly did NOT follow the basics found in theme docs.)
#1 TIP: don’t worry about render blocking elements until EVERYTHING ELSE is done. Those last items really only impact your last couple of points. I have 95 score with Newsmag without full optimization of the fonts or minification. It’s doable!
Hi everyone
I have already answered the same questions 50 times the past year and they are all covered in this thread.
I am no longer providing any help with PageSpeed issues, as this is all covered in this sticky topic for advanced users, and for newbies, the settings/docs provided by TagDiv for the theme docs (link right side of page) will get you to the 80+ stage right away. If your score is below that then you *did not* follow the theme docs or this topic on the basics for speeding up your WORDPRESS install.
WordPress optimization is widely covered on the net – it’s not theme specific.
You need to have
a) fast hosting; $3/month accounts or “free” hosting are crap.
b) have gzip/deflate running on server
c) you need to set expiration headers in your htaccess (noted in docs)
d) you need to have an image optimization strategy (noted in docs); either via plugin and/or changing optimization setting in functions.php (covered in this sticky topic.. why not READ through it??)
e) you need to optimize your dbase regularly (wp-optimize plugin)
f) you need to limit use of things which call CSS, JS, fonts, ads, counters from OTHER SITES.
g) you need to test/explore refine some kind of caching system on the server or from a WP plugin (noted in docs)
h) high quality hosting will add mod_pagespeed
i) you need to look at manual minification of main style.css file
j) limit number of ad networks
k) limit number of plugins wherever possible
j) limit total number of images/thumbs loaded on post pages to something like 10 total; not 30+
k) use fewer module types to limit number of image sizes/thumbs; use text modules also.
Advanced users:
a) local caching/loading of gravatars
b) mod_pagspeeed and mod_spdy if site loading via https
c) optimization of font loading, hack theme to remove calls from headers/footers to Google and load via style.css; -or- use ONLY web-safe fonts and no Google fonts.
d) manual minification of other files, such as main theme functions files
e) optimization of wp-config.php file with comment removal, add paths to base URL/directory and theme directory by name
f) add expiration type/ttl for custom icon font loaded by theme
etc.
Learning to optimize your WordPress site is UP TO YOU TO LEARN. It’s not part of the theme. The theme supports very good speed rating IF YOU DO THE REST. The theme cannot fix your server, optimize your htaccess file, speed up time, or transport you off this rock. Google is a great resource to FIND hundreds of articles from the past decade on optimizing WordPress. You’re not the first person to do it.
Chris out.
Hi,
Is there a way to disabled the article ads in a single post only while keeping it enabled on other posts? Is there a shortcode that can be used?
Thank you!
I have a related question. We are getting ready to launch our new site with the Newspaper theme and although the theme is incredible with a tone of options we are struggling to figure out how to place non-adsense ads into the header and other locations.
In the past we used SH Slideshow which simply used a shortcode, I tried that and it didn’t work. I also have the option of using a PHP script (<?php shslideshow(1); ?>), this also didn’t work.
I installed Simple Ads Manager but it’s a Widget based system and I can’t figure out how to get a widget into the header ad space.
Can you help?
92% isn’t bad for GTmetrix
http://gtmetrix.com/reports/www.toppcnews.com/xZneVEc2
It’s more useful to test a “post” page than your home page, as the home page has many more images and queries than a story; and you don’t want the home page to load for a story in SERPS anyway, you want story to load under a search.
Try the above link, but with one of your post pages.
You cannot do anything about the ads loading from Google, or some other things. You have no control over stuff being loaded off somebody else’s server.
Hello Guys,
We are working on a bug fix and are testing the newspaper theme heavily. We have run into what we think might be a bug with the theme.
I know this may come as a surprise, but it only involves Internet Exploder, I mean Explorer. đ
The homepage loads fine in most desktop and mobile browsers/OS combinations we have tested, but in the following browser/OS combination, we are getting a blank homepage, with no content. It works in many IE browser versions, but these particular combinations of versions will only load the homepage (partially) and only in compatibility mode.
Windows 7 / IE 11 (works fine with IE 8,9 and 10 on Windows 7)
Windows XP / IE 7 (works fine with IE 8 on Windows XP)
We are testing with browser stack. All other Windows and Internet Explorer browser combinations seem to work properly.
See our screenshots:
Windows XP / IE 7: https://files.secureserver.net/0sgqcFSS2KZwer
Windows 7 / IE 11: https://files.secureserver.net/0sZx0BxpmARvKf
When using with the two combinations listed above, we have to manually activate compatibility mode to get the site to load and it only loads partially. The smaller article thumbnails on the right, don’t show up when in compatibility mode.
Any ideas?
The site: http://fishfarminginternational.com
We are still digging into this, but thought this might be something you are already aware of and might be able to save us some time if you have any suggestions or perhaps someone else has had a similar issue.
Thank you!
Hi support,
the old revision, my homepage have the description tag(see picture) http://bizzaviet.com/wp-content/uploads/2015/01/Does-not-have-description.jpg. But when I update the new revision, my home page doees not have (Other page is ok). I dont understand. Can you help me?
please fix it for my website http://bizzaviet.com
I am using WordPress SEO of Yoast
Thanks
Hi Lucian,
Yes this issue is as well present in your demo site in iPads. When I try to click on the “Tech” link which should take me to (demo.tagdiv.com/newspaper/category/tech/phones/) it does not work. It only displays the mega menu below it. The same is true for menu titles Lifestyle, Travel guides, and video. Others I see have the “#” assigned which would link to nowhere.
Thank you,
Franklin
hi,
i mean (google adsense) like other banners, you can see on my page http://www.crnjaci.com by banners (720×90, 320×100,…, that is google ads and i am asking: it is possible to put that banners on backgrounds (like 300×600, in google ads code) ? not url link and pictures
5. You can add a block to an individual row and set margin/border to the column: http://screencast.com/t/AlOEmZ9psE
For widgets you have to use custom css.
6. If you refer to the Latest Articles sidebar will be the same on all pages. The Theme doesn’t have an option for that area, it’s only possible with custom modifications on the code but unfortunately it’s not an easy task.
7. The theme was initially designed with an fixed grid layout and changing it would not be easy as it needs changing the width value for all elements on pages and for this you would need custom work, so the full width will hide the sidebar automatically.
8. You have to modify the template (404.php), you can check the other templates (post, pages) to see how the sidebar is defined.
9. Please edit type.less to change font for quotes in Panel: http://screencast.com/t/t5MpFmFpt
In backend the quotes have color of the Theme, how you can see that in the less file. Also you can change that in what color you want.
10. You can change the Latest posts number from Homepage Loop Filter:
http://screencast.com/t/c94aDRWFp6h
http://screencast.com/t/XDP3mHWtyZ
Or leave that field empty and change the number from Settings > Reading: http://screencast.com/t/dcAgP2WPWN
11. Google adsense should not load, do you refer to something else? please provide more details.
Thanks!
Hi,
I’m not sure what you mean. You just need to add a background image and an url to open when clicked, you don’t need to use a specific size.
If you refer to other adsense spots please make sure that you set it right and give it a while. I have also tested this and works just fine:
config: http://screencast.com/t/IbEuOBqrIT
result: http://screencast.com/t/58Scx4bxa0
Please let me know if this is not what you’ve meant, provide more details and also send your site’s URL.
Thanks
This is a common problem with CSS and custom over-rides from control panels.
It’s also called the flash of unstyled text with fonts, where the same issue happens.
Basically, what happens is that the original CSS loads for a moment, then the “over ride” color you’ve specified is loaded, and in some cases for a split second, depending on speed of server and other factors, you may or may not see that.
This is not unique to any specific theme, but simply how the web works when you’re not actually editing the MAIN style sheet which is loaded first.
This is basic CSS/HTML knowledge.
But basically, the way to fully remove that issue, is to edit the style.css file and change the class for that element to the color you wish. Fairly simple. Just do a search in text editor or programmer editor and locate the style class and change the color code. Then you don’t need to put into the CSS box in the theme panel. Downside is you have to do this each theme update, but ideally this would also be the point in time where you minify the CSS anyway. And if you’re optimizing your site for Google fonts, you’d actually put the calls to the fonts at bottom of your style.css and remove them from the theme functions files. But that is a bit advanced.
Hope that helps đ
REMINDER ON PAGE SPEED SCORES :
Test your site with AdSense turned “off” as this gives you a false negative score which Google takes into account when seeing the “actual” score for any ranking purpose.
Meaning if you have a desktop score of 93 with no ads, and 89 with AdSense running; Google is not going to really penalize you those 4 points simply based on the advertising which is from their own system.
So normal practice for Pagspeed optimization:
1) test and optimize with the following OFF
a) AdSense
b) Disqus/Livefyre
c) Jetpack
d) Social “counters”
e) AddThis, etc.
2) optimize based on this base setup.
3) slowly turn on the other external elements, and then choose the trade offs of features vs score.
e.g., should you choose local comments or Disqus ? Test with both, and choose features vs speed.
Should you choose social “counters” or simple share buttons. Does anybody care how many shares you have? Can you gain a point turning those “counters” off ? Do you need to put the counter widget on EVERY page, or just the home page?
Do you need to have 20 thumbnails per post? Maybe set a limit of 10 images per page as a baseline optimization target. Consider using more text in the sidebar than all images?
If you’re above 90 with ads and such turned off, you’re fine. Over 85 for mobile, you’re fine. If under that, and you have fully optimized your site, then you have to take away some features to reach the desired “number.” Simple as that.
Taking a look at that so far, I would say it should do what is may say it does, but also some problems noted in the comments from users where people can still detect things, so may have limited value. It seems cheap enough, and if you’re more interested in that vs theme features, why not buy it and try it.
Also note if you’re using Visual Composer, you would likely not be able to hide that fully, and I see some issues from their support with things like contact forms.
I’m also doubtful that the tagdiv speed booster will work with that plugin.
What we do to hide a lot of WP stuff is using Yoast to hide some stuff, but then we run mod_pagspeed which hides all comments, we hide the versioning via functions.php, and we remove the pingback script. In most cases we also move the uploads folder. So, you might hide all the other stuff and people could still search for sites with xmlrpc.php or license.txt — did you remove that already? How about readme.html ? Is that still on your site?
There is also some bbpress style sheet data and woocommerce code you likely would need to manually remove from the functions and td booster functions.
There is no “one click” or “one plugin” way to fully hide WordPress. People who want to hack your site could likely figure it out through various methods. However, it’s better to concentrate on other security measures and only use highly validated plugins and code, vs trying to fully hide use of WP. With all the VIP sites now running WP (time magazine!), etc., there are much bigger fish in the sea than there used to be.
I would advise “caution” on a live site.
On a test site, why not just try it out ?
-
This reply was modified 11 years by
simchris.
Hi,
I’d like to add to this question and see if there’s a way to change the code to display a different ad for $adcounter == 2 and $adcounter == 4 instead of using the same ad code. I’d like to display adsense on one and a different ad company on the other
Yes, that was adblock indeed. Thanks for quick help.
Just out of cusiosity – I’ve assumed that custom ad is just another div with an image, so it shoudn’t get flagged by adblock. In this case it’s prabably wrapped in some magic adsense-sensign code… Is there an easy way to remove such code and get ads treated as an ordinary image slider?
Showing ok here.
Do you have Adblock or any other browser add ons that block ads?
gtmetrix score very good. page speed grade %95 yslow grade %91.
i do not use adsense or other ads. i tried to reinstall this theme but same problem. đ
-
This reply was modified 11 years by
Finland.
hello Lucian, thank you for your responce.. i habe another question is it possible to add text before the add adsence such as on the picture http://screencast.com/t/BuMdU7Wy
we would like to add header for each banner to make sure we are not violating adsence rules..
cheers mate
Hi,
All those blocks you’ve mentioned work fine on your page: http://screencast.com/t/GQN6ytO9ZCA2
If you refer to the thumb images that don’t look right, like in this two cases: http://screencast.com/t/I0dX14CbP then please note that this happens because of the cropping function and to somehow avoid this you could an image near to the aspect ration of the thumbs in which you want it to look well. You can read more about aspect ratio here: http://digital-photography-school.com/aspect-ratio-what-it-is-and-why-it-matters/
You can also read more about function which creates the thumbs and WordPress cropping here:
1. http://codex.wordpress.org/Function_Reference/add_image_size
2. http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Also note that if you decide to change some thumbnails sizes youâll need to regenerate thumbnails again in order to apply changes.
I saw that you use the Default page template and block 13 for Latest article. You also can use âPagebuilder + Latest articles + Paginationâ that Lucian refereed and your Latest articles will be automatically added on your page with your sidebar like you want: http://screencast.com/t/YK4uHRkthO
After you set the page template, you can set the layout and the sidebar position for your Latest article: http://screencast.com/t/mMRar9DuB
Result: http://screencast.com/t/qWaRffzf3
If you want to use a block for your Latest Articles(what you use now), you can add a sidebar using Widgetised sidebar block like this: http://screencast.com/t/NIvBfOkMq
Result: http://screencast.com/t/xUptQ5vby3uy
Also you can use another block for your Latest Article:
http://screencast.com/t/BoSBS6lU
http://screencast.com/t/7KOJG4jyO
http://screencast.com/t/1vYj3yXFAu
Result: http://screencast.com/t/U6N3B5CS
Regarding ads you can follow our guide: https://forum.tagdiv.com/ads-system-full-guide/
Also is useful our documentation: https://forum.tagdiv.com/newsmag-documentation/
Hope this helps!
Hi. I do not use adsense but, other non responsive banners. If i paste code in header section (728×90), I have of course a good result for desktop, but in mobile version, that banner is (of curse) half cutted on the right.
How cain I modify css in order to fit banners in mobile version?
Thanks.
CHRIS!
You are right. This is something to do with responsive.
Under ADVANCE USAGE, there is an option to give the AD SIZE. IF I make it 300 x 600 – the ad loads perfect.
If i make it auto – then some other size ad is getting loaded.
I think the “popular posts” is “all time” and not just past 7 days; at least the last time I used it — it’s how popular ANY post has been over the last week, not posts created in the last week.
There is no simple way to import the old reads; in our case luckily we were using a counter for “hits/reads” which already was writing to a custom user meta field.
So, in our case we just went into the booster folder and edited the “reads” php file, to load from our existing “views” data field vs the newly created “post_views_count” field.
So, if you have an existing field like “views” or “read_views” or whatever, really simple to simply change which field that the site reads/writes to/from. Only downside is having to make that change with each theme upgrade.
To import from another plugin with a hidden dbase field, you’d likely need to use some kind of data migration tool or hire developer if the above field name change suggestion is not applicable.
I noticed a weird thing yesterday with ad system.
Initially I had a small horizontal banner for “Below the article” ad.
I tried to change it to a square banner yesterday. I changed the code. But still the site is showing only the old banner.
If i delete the code, however the ad is removed. If i update the code, its not working.
I tried it with few other spots and the same result. Not sure if its just mine or anyone else facing the same issue. Can someone help?
Hi,
Unfortunately the theme’s ad spots work just with adsense code and image banners for it to work and render other ads also you would need to alter and adjust the ad system.
You can find more info about theme’s ad system here: https://forum.tagdiv.com/ads/
Sorry for the inconvenience!
Thanks
-
This reply was modified 11 years by
Lucian.