- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello folks…
I know I was one of the people who complained about so many requests for WooCommerce fixes for Newspaper a year ago saying “who needs a shopping cart for a newspaper theme …. ” while waiting for initial development on v2 and v3 … soooooo …. 🙂
So, ironically, now that I’m using Newsmag for our ecom system (only for store, not for the entire site, in this case)…. I’ve run into couple of format quibbles with the tablet/iPad (iPad Air/Retina), so this impacts any iPad after iPad 3.
Three screen shots:
1) This shows how in portrait the body layout for the grid is apparently munched just a tad, when on a category page, so that third item drops to second row, and “runs into” item 4 which should start second row. Note in screen shot 3, at bottom of a product page, the items flow properly. Thumbs are 200×200 in the grid. Maybe 190×190 would work?

2) Similarly, on the product view page, the summary drops below picture due to couple of pixels expansion, as with the grid on the category view (image 1). Image is 307×307; perhaps 300×300 would fix?

3) This shows bottom of product page (screen 2); where oddly the three columns are not munched in the grid, while they are on the category page. Thumbs here same ones as category page at 200×200.

Any help on minor CSS tweaks for the two grids
a) product page: [image][summary]
b) category page [item1][item2][item3]
would be totally awesome!
GTmetrix.com is useful for newbies as it shows examples and also offers fixes such as optimized versions of problem images and minified elements for those unable to do that stuff themselves. I usually recommend it as opposed to Google’s own Pagespeed Insights, since Google doesn’t really explain very well how to fix anything. GTM also has a plugin you can use to chart your improvements (or they did anyway).
I will admit I have worked with their parent company for 15 years several times on client projects, hence my high level of trust.
Still – one needs to follow the advice provided by ANY of the docs, posts, or online tools, as starting point to optimize a site; it won’t fix itself 🙂
Hi, I’m setting-up an Italian/English site with Newspaper 4.6.1 and qTranslate-X 2.9.6 and I need some help
1 – At the bottom of any post there are the “previous article” and “next article” with the links showing the articles titles. Right now the theme shows both the italian and english title at the same time
http://www.albertobonis.com/test/nutrito/en/2015/01/24/internal-post/
2 – At the bottom of the homepage I have a full width Block 1 showing child categories menu using ajax. If I click on a child category, the block loads title and excerpts always in italian, even if the page is set in english. Clicking on a post redirects to the post in the correct language.
http://www.albertobonis.com/test/nutrito
3 – I tried to modify the appearance of the language menu using the string #qtransLangSwLM&title=none# to hide the word “language”, as per qTranslate-X faq, but it doesn’t work.
Thank you very much
Regards
Don’t test with GTMetrix it is not really accurate to be honest. Use this tools.pingdom.com. For example I test my website and also big website names such as cnet.com etc for example for cnet in GTmetrix it shows sometimes 3 seconds sometimes 20 seconds sometimes 6 seconds it is not really efficient… Another example just tested pcmag.com it shows 10 seconds. Overall I don’t use GTMetrix because I think pingdom has more servers to test and consistent test speed and results you can try it yourself and see!
-
This reply was modified 11 years by
kovachx.
Did you add the items to your htaccess file ? Doesn’t look like it.
You need to do EVERYTHING ELSE before messing with the speedbooster plugin customizations, which are optional and entirely up to you.
You need to take care of ALL the other issues EXCEPT for “render blocking CSS/javascript” first or the latter will do nothing for your site. That step is done LAST to get the last couple of points, not the 25-30 points you’re down right now due to all the other issues that ONLY YOU can manage.
Web server optimization is up to you, and is related to optimizing WORDPRESS, not the theme. Tech support here is for the THEME, and not to teach you how to manage your web server … folks here are helping on that as time permits, but you have to take the initiative to LEARN how to do that — WordPress has been around 10 years — lots of tutorials on the web. “How to optimize WordPress for best Pagespeed” … simple search in Google, for example.
And all the links in this thread — SHOW YOU a number of things you should do, but you need to do that.
Nobody ignoring you — you need to fix your own house, that is YOUR job to tackle.
You’ve read the docs … well, now you need to actually *do* some of the guidelines or they won’t work.
Fix your htaccess file; make sure you have compression running, and expiration headers; optimize your images; minimize external elements loading on your site; etc. — ONLY YOU can do that stuff. If it means nothing to you, then you likely will need to hire a developer to help you.
Hi, how i can add for example 2-3 random banners in one ads position?
Thanks!
How to make my images back to the ones that are original? they all are of high qualities but after uploading to wordpress they lost there quality i know there is a reduce in the quaility but this is too much ridiculous here see the sample in the first message of this thread!
Oddly they seemed to work when I did some in the visual editor, but not in the text editor. But then later on they did work.
So, Newsmag stock = bullets don’t work for me.
Newsmag running WooCommerce, bullets work.
Really bizarre.
You can try simply using & bull; temporarily …. (no space after the ampersand)
This forum has the same encoding issue as the theme, ironically. If I put the ascii code for bullet in the code box, it converts it into an ISO element, and prints in in the text box. Argh.
Hi,
I notice that when I attempt to access the parent link on a drop down menu set the top link would not work on iPad. And if there are sub-menus involved only the lowest link is accessible on iPads. For example if the setup is Link>sublink>sub-sublink only the sub-sublink is clickable on iPad. This is also true for mega menu parent links. Please advise. Thank you!
screenshot illustration:
Hi Lucian,
thanks, this works like a marvel!
my only comment is that now the ‘Article bottom Ad’ appears between the end of the written post, and the Twitter Button (and the sharing buttons), like on this example
http://le-meilleur-du-golf.com/les-7-resolutions-golf/
How could i make the ‘Article bottom Ad’ to appear completely at the end of the article, even below the Twitter ‘follow me’ button and below the social sharing icons?
thanks a lot!
Hello,
I would like to display in my megamenu some pages & their associated featured image, just like it is possible to display images for posts.
Is this doable?
many thanks
In the changelog I read this improvement:
“improvement: when the user disables the post view, the theme will stop keeping track of them in the background -> faster loading time”
Can I sort after this update (with disabled post views) by popularity?
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
wp-mediaelement | /wp-includes/js/mediaelement/wp-mediaelement.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
wp_social_popup_js | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/js/plugin.js
ilentheme-script-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.js
media-editor | /wp-includes/js/media-editor.min.js
media-audiovideo | /wp-includes/js/media-audiovideo.min.js
mce-view | /wp-includes/js/mce-view.min.js
image-edit | /wp-admin/js/image-edit.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
wpseo-admin-global-script | http://vidzo.ru/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
wp-mediaelement | /wp-includes/js/mediaelement/wp-mediaelement.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
wp_social_popup_css_admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/css/admin.css
ilentheme-styles-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.css
media-views | /wp-includes/css/media-views.min.css
imgareaselect | /wp-includes/js/imgareaselect/imgareaselect.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wp-color-picker | /wp-admin/css/color-picker.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
wpalchemy-metabox | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
the list of registered css and js
Is there anyway to expand what files you can modify with the child theme?
For example, I am modifying the Author Box (see another thread of mine). It is not in the includes/modules folder but instead in the includes/shortcodes folder and therefore isn’t overwritten by the child theme.
Also, trying to modify the JS file to remove smart scrolling (because it doesn’t work with Macs). Again, this can’t be modified through the child theme.
On a future update, I may lose these modifications if this file is changed.
Thanks
Yes, that is normal. The size of the font used in the admin panel is not the same as you might have on the website, and the theme is responsive, so the “actual” width will vary as far as word-wrap.
Again, the visual editor is not a “what you see is what you get” editor like you have in print publishing; it’s an “approximation” … it’s not “pixel accurate” … partially because the WordPress admin uses CSS from WordPress, while the actual page uses CSS from the theme.
So, the value in the visual editor is in doing elements like alignment, pre-viewing photos and videos, or MP3 audio, bolds, italics and other “presentation formatting” … but it is *not* a 1:1 view of the actual page. This is true of WordPress and always has been.
So, in your last example, it’s working correctly. You cannot manage exactly where line breaks are, or word-wrapping as the font and kerning, and so forth may vary based on the device being used.
So, on one device you might have 7 words, another 6 words and the 7th word goes to next line due to letter spacing, kerning, and the space between letters (not to date myself here, but I went to Compugraphic Typesetting school in 1985… so kind of savvy on font issues).
Upshot; based on your screen shots above… you’re just fine. 🙂
I think the tagdiv speed booster plugin helps with this in theory by putting all the css and js at bottom of page, but that can also cause some things to load in odd order since sometimes a menu might use jquery …. one of those things you kind of have to experiment with.
Probably need to put link to an example post page so the TagDiv admin folks can take a peek just to see whassup.
First thing they always look for is console errors (F12 in Chrome or IE11), and often that can reveal the culprit, if any.
Last week any of my pages with a YouTube video loading would slow down part of the page, when Google was having major hiccups. This would then slow down AddThis … since I had the video and Addthis loading in order last on page … the whole page would render except blank video box and blank addthis box … (not using this theme, but a home-brew thing). That worked as expected …. except that I wanted to share stuff via addthis and it was taking 60 second for video to load. Annoying.
Anyway… I digress 😉
I would like option to DISABLE the custom functions being loaded for the visual editor, if possible. I’m having some issues when also using WooCommerce. The visual editor, for example, shows bullet lists with indents, but there is no indent on the actual page. The divider line is actually a hindrance when editing some things as I need to keep scrolling more up and down to get to the info I need to edit.
I would prefer normal WP behavior where the visual editor allows you to set bolds, italics, center things, etc., but not try to second guess the page layout which will vary by device.
Also, running into an issue where when switching to visual editor some HTML entities get converted to ISO elements, and then when going back to text editor, they lose the encoding, and in the published page under view source you have ISO garbled characters.
Overall, great idea, but causing some issues, obviously.
An option to DISABLE this custom mods to the visual editor would be appreciated.
Hi emil at my site http://www.tokowebinstan.com/bpkkd i have 2 widget in right sidebar, how to fill the title sidebar with a background color same with other widget sidebar. For example at my site is Terpopuler Widget. Thank you
Regards
Can you please say me is it true what i am doing?
1. Enabling Gzip compression and Set the Leverage Browser Caching
my htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.vidzo.ru\.ru$
RewriteRule (.*) http://vidzo.ru/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://vidzo.ru [R=301,L]
RewriteRule ^page/([0-9]+)(/?)$ index.php?cstart=$1 [L]
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
is it ok?
2. Remove render blocking css/js – using the TagDiv Speed Boosterplugin (Advanced Users)
this is my code that i get from functions.php but i have a problem with this and i can’t to do it right can you please say me codes for my saite and where i shall add them?
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
dashboard | /wp-admin/js/dashboard.min.js
customize-loader | /wp-includes/js/customize-loader.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
wp_social_popup_js | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/js/plugin.js
ilentheme-script-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.js
media-editor | /wp-includes/js/media-editor.min.js
media-audiovideo | /wp-includes/js/media-audiovideo.min.js
mce-view | /wp-includes/js/mce-view.min.js
image-edit | /wp-admin/js/image-edit.min.js
wpseo-admin-global-script | http://vidzo.ru/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
wp_social_popup_css_admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/css/admin.css
ilentheme-styles-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.css
media-views | /wp-includes/css/media-views.min.css
imgareaselect | /wp-includes/js/imgareaselect/imgareaselect.css
wp-color-picker | /wp-admin/css/color-picker.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
wpalchemy-metabox | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
Hi,
1. You need custom modification to add effects to images as the them doesn’t have any options for that. You can also try to find and use a plugin or try to do it yourself or hire a developer/freelancer, if you don’t have any basic css/html knowledge, to helps you with it.
Here you have some examples and tips on how to do this: http://bavotasan.com/2011/amazing-hover-effects-with-css3/
Unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support.
2. You can find a tutorial on how to use them in the readme file under “usage”: https://github.com/kni-labs/rrssb
Thanks
Hi,
You can find image size for blocks and modules in td_config.php: http://screencast.com/t/6akUdS6M
And the image size that modules are using, for example module 1: http://screencast.com/t/oRtW4YJI1
Please regenerate thumbnails after you make some changes: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
Thanks!
Hi,
I’m not sure but I believe you would need to alter the single forum template for it and customize it ad you like as I haven’t noticed any option for this.
You could also try to find a plugin for that.
Here are some layout and functionality for bbpress – examples you can use: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/
Hope this helps!
Thanks
Hi, when i open my site with mozilla browser, at mozilla, i click Menu Tools, and Page Info, why i see there is many generator text for example : Useer Comments:0, Admin Websit, etc, how to remove or hide this ?
look at my screen shot http://postimg.org/image/m6mcjci4l/
thank you
Regards
You can do that with Visual Composer. Go to Settings > Visual Composer and turn it on for Posts. Then, on the posts you want centered like that, turn off the sidebar and go into the VC backend editor, change the row layout to 1/4 + 1/2 + 1/4 and use a text block in the center column. If that’s too narrow, just remember the row layout is any combination using fractions larger than 1/12. So 1/8 + 6/8 + 1/8 would give you a wider center column for text than 1/4 + 1/2 + 1/4.
It won’t allow you to go full-width with images throughout the post, as in your example, but that’s because this is a newspaper/magazine theme and that feature is more creative or photography.
But it will produce the desired layout without much effort and no coding. Play around with it a bit.