- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
One of my customer noticed me that le like count and tweet have desapared.
In fact, on ipad it appear, on PC too, but not on iPhone. Except for 1 article. Cannot understant that’s weird!
I show you pictures :
http://www.screencast.com/t/qffQzYQC
On the left it doesn’t appear, on the right it appear. Same setting, “like and tweet” activated !
Not sure but it seems apared after the last update.
Please help.
Thank you all.
It seems after hours of search , i fix it , finally.
If anyone have trouble such as this ,
Go to phpMyadmin on your cpanel;
select your database of your website;
go to wp_posts , ( check your wp_posts are exact name , if your table wpexample_posts , make sure your sql query has same extension )
execute SQL query “UPDATE wp_posts SET comment_status = ‘open’;”
it will make your posts available again.
I’ve been reviewing the demos which come with the theme, and I can’t figure out how some of the blocks of info look the way they do. Here are some examples:
Video Demo – http://demo.tagdiv.com/newspaper_video/
Behind the big grid 6 it has a grey background, but I can’t figure out how to do the same on mine.
Medicine Demo – http://demo.tagdiv.com/newspaper_medicine/
The block titles have a red background. Where is this set?
What Demo – http://demo.tagdiv.com/newspaper_what/
The big grid 4 doesn’t have any gap between the grid images and the underside of the header menu.
How is this removed?
There seems to be a whole lot built into these demos, but I cannot see any way to customise them in the way that these demos exhibit.
Hi,
When i share this article : http://www.tourist.voyage/journal/chapelle-san-bernardo-argentine/
trought the Facebook sharing button at the bottom of the article, the preview doesn’t show/take the title, description et feature image of the article.
Even when i post the URL article on facebook, it doesn’t take the meta data …
Could you please help me please ?
Thank you
Regard
When I conducted a google pagespeed test, I got the below result. Help me fix this.
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 2 blocking script resources and 7 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://principiaboxed.com/…s,qver=1.12.3.pagespeed.jm.Mce7qJ7uQ5.js
http://principiaboxed.com/…js,qver=1.4.0.pagespeed.jm.S4TTOO46U-.js
Optimize CSS Delivery of the following:
http://principiaboxed.com/…s,qver=4.6.1.pagespeed.cf.B7_8y6haOq.css
http://fonts.googleapis.com/…%2C600italic%2C400%2C600%2C700&ver=4.5.2
http://fonts.googleapis.com/…%2C900%2C500italic%2C400%2C300&ver=4.5.2
http://fonts.googleapis.com/…0%2C700%7CAmarante%3A400%2C700&ver=4.5.2
http://principiaboxed.com/…,qver=4.11.2.pagespeed.cf.DDuiy5Iwfj.css
http://principiaboxed.com/…css,qver=7.0.pagespeed.cf.OXJRwv_GHJ.css
http://principiaboxed.com/…css,qver=7.0.pagespeed.cf.4wPCTK4rGZ.css
Greetings,
The latest Newsmag theme updates are superb. We are just having an issue with the sticky sidebar not working on posts when accessed through IE11. For example, please refer to: http://bit.ly/1YyM3Yu
Thank you for your assistance.
Just a quick follow up for old timey sake, for those coming late to this party:
IMAGE COMPRESSION
QUICK TIPS:
Test a post page with GTMetrix.com — this will show you what you need to do to improve speed specifically, for example giving you examples you can download of optimized images for the post page you test to see how that impacts you.
Also, to compress thumbnails, you can change the default compression per my guide in your wp-config file, then “regenerate thumbnails” to make smaller versions. (AND: you should be backing up your site before you mess with it, obviously!)
Alternate advanced method of compression:
download complete image folder to your PC via FTP for backup then use one of the various PC software apps to compress/process all images, then re-upload via FTP. Here is one for Windows, as just one of many examples: http://icompressor.blogspot.in/
Or, if that makes no sense or is too difficult; make backup first, then try this nifty plugin, which is a PAID service after the first 100 images; but useful to test if it works for you:
https://wordpress.org/plugins/tiny-compress-images/
Hi,
i have some problem with the “LIKE” and “SHARE” button inside a article page.
EXAMPLE:
I posted an article on the blog and afrer that, i shared it on facebook with my Blog’s page.
After a few time, i can see on FACEBOOK that my article was shared only 2 times and it took 2LIKES.
if i go on the article page on the blog, i can see that the article was shared 7time and i took 20like.
How it is possible? In the normal way, when a reeder get a like on a blog’s page, that like have to go on the facebook article’s post.
I’m rigth?
Let me know if is it a proble and how to solve it!
Thanks
Test a post page with GTMetrix.com — this will show you what you need to do to improve speed specifically, for example giving you examples you can download of optimized images for the post page you test to see how that impacts you.
Also, to compress thumbnails, you can change the default compression per my guide in your wp-config file, then “regenerate thumbnails” to make smaller versions. (AND: you should be backing up your site before you mess with it, obviously!)
Alternate advanced method of compression:
download complete image folder to your PC via FTP for backup then use one of the various PC software apps to compress/process all images, then re-upload via FTP. Here is one for Windows, as just one of many examples: http://icompressor.blogspot.in/
Or, if that makes no sense or is too difficult; make backup first, then try this nifty plugin, which is a PAID service after the first 100 images; but useful to test if it works for you:
https://wordpress.org/plugins/tiny-compress-images/
I checked my site on my desktop on the menus/categories are fine, but when I check the menu on my iphone it says check wp admin. Why
I havent added any pages as I am using the theme Local News & just getting my PA to add quality content everyday..
Plz help?
Hi
Try this css as example:
.menu-item-abc a {
color: #AD2929 !important;
}
.menu-item-abc a:hover {
color: green!important;
}
You will have to replace the abc with the numerical id of menu item.
Thanks!
Hi,
There is no option to have a different color for each menu item, but you could do this using custom css, here you can find an example how to target them – https://forum.tagdiv.com/topic/different-colours-for-menu-buttons/ You will need some basic css skills as the theme doesn’t have an option to change the color/hover color for each menu item.
Regarding the home icon please check this guide to add it – https://forum.tagdiv.com/how-to-add-icons-in-menu/ I have tested this and did not found any issues.
Thanks!
Background color on main menu: (White) Text: (black) hover: (orange) (if I change main menu background color in theme panel to background color #eeeeee the text stays black, orange hover disappears and white blocks highlight menu links. I Would like main menu #eeeeee and links and hover to stay the same, no blocks on hover.
Mobile : share button only on mobile (green phone) want to remove.
Posts on home page: I would like white box for post exerts on home page. Example: http://www.radiolab.org/
I know this is a tall order but would really appreciate your help!
Thank you so much.
[data removed by admin]
Is it possible to create an ad space just below the primary menu on the post page?
Example URL: https://www.gadgetbytenepal.com/which-smartphone-should-you-get-after-slc/
I am talking about the placing a full-width ad space below the primary menu and breadcrumbs.
Thanks for your Effort!
Hi
The above code will work for any module, I pointed mega menu only as an example how to call the function. To display tags on modules just call the function in the file corresponding with the module used: http://screencast.com/t/odbhQ3jl2vl
Thanks!
Hi, could I use these step in the document to update without losing any custom layout and configuration related to theme?
————————
Step 1 – Deactivate the current “Newspaper” theme from the Appearance > Themes section by simply activating a different theme. Once you activate a different theme, delete the Newspaper theme. Don’t worry, your content will not be lost.
Step 2 – Get the “Newspaper.zip” file from your new Themeforest download (Installable WordPress file only). If you downloaded the “All Files & Documentation” from Themeforest, then you need to unzip the archive file you received, the Newspaper.zip will be inside it.
Step 3 – Go to Appearance > Themes, choose Add New Theme, Upload the “Newspaper.zip” and click on the “Install Now” button.
Step 4 – After your upload is finished choose Activate the theme.
Step 5 – Update the plugins. The theme required and recommended plugins are included in the theme package inside the ../Newspaper-tf/plugins folder.
————————
Thanks.
if (is_array($td_page_builder_short_codes) && !empty($td_page_builder_short_codes)) {
foreach ($td_page_builder_short_codes as $short_code_name){
// we have to add [ before the shortcode name, else it may target simple words that match with the shortcode name
$short_codes_buffer[] = ‘[‘ . $short_code_name;
}
}
if (!empty($short_codes_buffer) && td_util::strpos_array($post->post_content, $short_codes_buffer) === true) {
$td_use_page_builder = true;
}
Everything else works as expected.
Problem is, on a fresh WP install with any other theme, the use of ANY shortcode in a page maintains the basic elements of a page template (title, body). Searching for ANY shortcode to decide whether or not VC is being used is a bug. To go by your own documentation:

If VC is used, the page title will not show. I didn’t use VC and the page title didn’t show. You see where I’m going with this?
Whatever conditional is being used to check for a shortcode is not limited to a regex for VC only shortcodes and is tripping on any and every shortcode available. It essentially ruins the shortcode feature of the whole page system in WP. It modifies core behavior in a round about way that doesn’t actually change core code.
I can edit this myself, sure, and I can even keep maintaining it across updates, but that’s just a band aid for the bigger problem. This isn’t a localized issued. Also not a difficult fix… ** correction. It’s not a difficult fix for you because you know the VC methods used and how they cross with NP methods. Looking at the code, it looks like you’re depending on VC’s own internal array of shortcodes and then not filtering through them at all aside from adding the leading bracket to the shortcode names. Literally checking if it’s empty or not and nothing else…
`
if (is_array($td_page_builder_short_codes) && !empty($td_page_builder_short_codes)) {
foreach ($td_page_builder_short_codes as $short_code_name){
// we have to add [ before the shortcode name, else it may target simple words that match with the shortcode name
$short_codes_buffer[] = ‘[‘ . $short_code_name;
}
}
if (!empty($short_codes_buffer) && td_util::strpos_array($post->post_content, $short_codes_buffer) === true) {
$td_use_page_builder = true;
}
`
If it’s not going to be fixed, then the above screenshot shows text that must be changed, because ALL I’m wanting is for the software to do what it says there; if VC is used, no title, if VC is not used, page title. Simple.
Thanks.
-
This reply was modified 10 years by
Bryson T.
Hello marciagf,
Please keep in mind that Visual Composer come bundled with our theme and you will have to use only the version which comes with the theme and not other to achieve better results. Our latest version of the theme is Newspaper 7.1.1 and the right version for required plugins are -> Visual Composer 4.11.2 and Social Counter 4.1.
As you can see, all the plugins are in constant development. Each plugin will have to be checked with our theme for a good working and this process it may take a while. For example, the latest version of Visual Composer is 4.12 and the latest version of the plugin which has been tested with our theme is 4.11.2. In the future, after our developers will check this latest version of Visual Composer with the theme and they will find that the theme does not need to do some adjustments for, we will release an update with the latest version of Visual Composer (4.12). Until we will release the update with these latest versions you will have to ignore these messages.
So, please notice that if you want to have the latest version of the Visual Composer, you will need to have the additional license of this plugin and also, we cannot say for sure if this version of Visual Composer will work 100% with the theme because this version it is in testing.
For more information about Visual Composer, please check our documentation here -> https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Thanks for your understanding!
Hi,
Unfortunately the author box element does not use the description only when you click on the author will the theme display the information.
As for the alphabetical order, you can filter the authors by ID in the block settings. You can use the exclude and include sections from here: http://screencast.com/t/i5BsAswEES You can use 2 author boxes and filter one part of your authors in the first and the second part in the other one. You will need the author id’s for this. You can get the id’s like so: http://screencast.com/t/kmUugYM6S so for example if you have 20 authors you would add the first 10 id;s in the first auhor box and the other 10 in the second box.
Thank you!
Bogdan B.
Hello nibbiolo,
Please notice that this request involve custom modification and we cannot provide these types of services at the moment, sorry! As a hint, you will have to add some conditions in td_category_template.php in order to achieve as you want. So, you will have to create a new fucntion which add your desired shortcode. You can see the next example, like this -> http://screencast.com/t/X3jEwQs6u and then, if you are using the category template 1, in the td_category_template_1.php you will call this function, like this -> http://screencast.com/t/TWPl8gCXB9L and the result you should see here -> http://screencast.com/t/66ygog1yop Please notice that is just a simple example and you will need to do some additioanl customization for style (custom CSS) in order to achieve better results. I have got you a hint in this regard and further you will have to implement yourself. If you are not aware of it, please consider hinring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
Hello saubhagya,
Thanks for getting in touch with us and thanks for the interest in using our themes.
We get often this question regarding the differences between our themes. I can tell you that the both themes share the same core so their functionality and performances are similar. The main differences are in designs/appearances and the content area width which slightly differs from one theme to another. Newspaper’s grid width is 1068px while Newsmag’s width is 1021px and the Newsmag’s theme grid has been designed to support the borders you notice between sections of a page: http://screencast.com/t/pNkgzN1Kn8Y5
Other differences also, are appear regarding features, some of the blocks are present on one and missing on the other, for example you could check the Features menu items from each theme live demo and see blocks, modules, post templates… are present in each theme and the design differences – http://screencast.com/t/p87JJpieJd Here you can find our live demos: http://demo.tagdiv.com/newsmag/ – http://demo.tagdiv.com/newspaper/
Also, you can check the documentation for each theme to make an idea about panel settings and other features that may not be presented on the live demo (for example header templates) – https://forum.tagdiv.com/wordpress-information/ -https://forum.tagdiv.com/newsmag-newsmag-documentation/
As a conclusion, if you have some needed skills using the WP theme, please notice that you will have to customize your theme after your desired standards.
Hope this helps!
Thanks for your understanding!
Hi,
absolutely did the job – great support Bodgan & thanks for always providing some more info on “why” and “how” as well!
heres a link for example http://triplehq.com/disney-gator-attack-2-year-olds-body-found/
on mobile the video is large and cant see half of it unless you actually click on it…is this the way its supposed to look?
I’m using Newspaper with a child theme.
I had to create a new block with specific content to use it in a sidebar. For this, I followed your very clear example (https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/).
To display the block as a widget, I added some code in the td_page_builder_widgets.php file.
But the only way to make it works seems to add this code in the original file of the Newspaper theme.
I tried to create a copy of this file in my child theme (../child_theme/includes/widgets/td_page_builder_widgets.php) but it doesn’t work.
Modifying an original file in the parent theme will be a problem each time I will upgrade the theme.
Is there a method to manage this block widget directly in the child theme?
Best,
David