- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
I would like to ask you to help me. I have Visual Composer 4.9. This addon is ok, but after WordPress 4.5.2 update I don’t see editor on my page post option. I can’t do any changew on my homepage :(.
When I click to backend editor I go on this site: https://vc.wpbakery.com/?utm_campaign=VCplugin&utm_source=vc_user&utm_medium=backend_editor
Hi,
you can change the default size of the ads (if they are adsense) from here: http://screencast.com/t/Ox2fqqF4hyln
You must however keep in mind that the containers are different and you cannot have a big ad in a small container. For example the post content is only 696 pixels wide, so a bigger ad will be re-sized to 696 pixels.
Thank you!
I am finally getting around to making my customizations.
The example you provided is very helpful and I think I am close.
However, I am attempting to add this to a plugin and it’s not working.
The purpose of my plugin is to add the content of one specific post to the end of all the posts on the site. I’d like to modify this so I can add choose one post to add to smartlist articles and another post to add to articles that are not smartlists.
This is my existing code that works on all articles:
function wmhb_filter_content1($content) {
if(is_single()) {
$my_postid = 15304; // Enter ID of page to append
$post_object = get_post( $my_postid );
$new_content1 = $post_object->post_content;
$content .= $new_content1;
}
return $content;
}
add_filter('the_content', 'wmhb_filter_content1');
This is my attempt at incorporating your example. This does not work- no content is returned.
function wmhb_filter_content1($content) {
$td_smart_list = get_post_meta($this->post->ID, 'td_post_theme_settings', true);
if (!empty($td_smart_list['smart_list_template'])) {
$my_postid = 15304; // Enter ID of page to append
$post_object = get_post( $my_postid );
$new_content1 = $post_object->post_content;
$content .= $new_content1;
}
return $content;
}
add_filter('the_content', 'wmhb_filter_content1');
I realize this is out of scope for the support you provide but if you can assist me in getting this to work I’ll be very grateful!
-
This reply was modified 10 years by
five40.
I’ve noticed a strange font behavior after uploading to Version 7 of Newspaper.
We use Francois One as our header font and Lato as our body font at http://www.theapexracing.co. When pages initially load, a different font is briefly seen on every platform I’ve been able to test (OS X, iOS and Android) before the correct font loads. Please see the following two videos with examples:
We would like this issue to not occur. Is there a way to avoid the font changes as the page loads? Thank you.
I’d like to change the Mobile theme’s single.php for example, but If I add a customized single.php file in Newspaper-child/mobile/single.php, It seems that it work change anything
Hi Jose,
I use 800×500 and this works good on most post types.
You can see example here: https://mybeadyeyes.com/
Hope this helps.
Kevin
Please find below some more questions appeared:
7. how to make different posts appear on my home page. For example I have this news here https://gyazo.com/8557fb8593799d54827f59151b5fb5bc and here https://gyazo.com/02fe62d61654e8dc8d7347a42ec67ed7
8. Cache plugins. I have removed W3 Total Cache plugin according to your recommendations mentioned in the guide. I also noticed that you mentioned APC full page cache plugin. Can I use it with WP Super Cache or I should choose one of them? Which is better for me? I have 16gb of ram.
9. I didn’t get that suggestion “make sure that you have compression enabled on your site for html/js/css but not for images”. Where do I set that kind of compression? Do you mean Auto Minify in cloudflare – https://gyazo.com/771065c3f158d4b113b94c5e5f5e3e37 or something else?
10. Regarding images optimization. Is it possible to use both this plugin and the code you suggested to add in functions.php
11. Regarding speed booster. I put the code here https://gyazo.com/8805d3fabc08aee2e537cb2322079694 Then I cleaned the cache. But it seems that google still shows those files as the ones which are required to be moved https://gyazo.com/4280bc2806be16e44db9535633617d92
Hi,
theme is perfect, the best one I have ever worked with.
I have a suggestion though, … what do you think about search bar redesign?
I really like what you’ve done with mobile theme, so if you find the time, maybe you can do something similar with regular search bar.
For example, I made some customizations to it myself and it looks somewhat fresh:
http://prntscr.com/b4aanp
Thanks
I tested my page and identified the below message
/…-includes/js/jquery/jquery.js?ver=1.12.3
/…s/jquery/jquery-migrate.min.js?ver=1.4.0
/…uery.themepunch.tools.min.js?ver=5.2.5.1
/…themepunch.revolution.min.js?ver=5.2.5.1
/…form-7/includes/css/styles.css?ver=4.4.2
/…blic/assets/css/settings.css?ver=5.2.5.1
/…%2C900%2C500italic%2C400%2C300&ver=4.5.2
/…ssets/css/js_composer.min.css?ver=4.11.2
/…ent/themes/Newspaper/style.css?ver=7.0.1
/…udes/demos/tech/demo_style.css?ver=7.0.1
And then, I found the corresponding id. But I couldn’t find it anywhere inside a.txt
Below the a.txt
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
updates | /wp-admin/js/updates.min.js
plugin-install | /wp-admin/js/plugin-install.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
td_wp_admin | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_edit_page.js
td_page_options | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/tooltip.js
wp-smushit-admin-js | http://mysite/wp-content/plugins/wp-smushit/assets/js/wp-smushit-admin.js
wdev-plugin-ui | http://mysite/wp-content/plugins/wp-smushit//assets/shared-ui/wdev-ui.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
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://mysite/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
wp-smushit-admin-css | http://mysite/wp-content/plugins/wp-smushit/assets/css/wp-smushit-admin.css
wdev-plugin-google_fonts | https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700|Roboto:400,500,300,300italic
wdev-plugin-ui | http://mysite/wp-content/plugins/wp-smushit/assets/shared-ui/wdev-ui.css
In this case, How can I active the Tagdiv Booster…??
Hello,
Thank you for the wonderful theme. Can you please help with several questions:
1. Unfortunately social counter doesn’t work. Here is how it looks like https://gyazo.com/d3a5e93c412ea8c92faa87dbf18f1985 Everything was adjusted according to the provided instructions. You may see the it here http://freesmi.by/ on the right sidebar
2. Can you please let me know how to add vk.com share buttom?
3. What is a proper way of adding code to functions.php file in the child theme? When I simply add code here https://gyazo.com/c829207705804e51f76ee0dde7401ca9 nothing happens. The changes apply only when I make them in functions.php file placed in the mother folder (not child).
4. What is the proper way of using child theme? I made the following steps:
• I copied the child folder from here Themes\Newspaper-tf\code\Newspaper-child
• Pasted it to here /wp-content/themes/
• Then I opened functions.php file in the child theme and tried to make some additions, but nothing happened. I added the code here https://gyazo.com/100ac1b006855c8be7d7c14091e82559 But the code didn’t work. It worked only when I added it to the functions.php file in the mother folder of the theme
• So can you please advise what is the proper way of making corrections to functions.php file in the child theme? Did I do something wrong? Why it didn’t work?
5. Do you know any alternatives to CloudFlare Flexible SSL as it is not compitable with Speed Booster?
6. how to make the featured image cropped? For example instead of this – https://gyazo.com/72458b385e0f89a9d421657059e66e06 When the image takes almost all the screen, I would like to have all featured images cropped with specific size for example like here – https://gyazo.com/4abb6b786495c59078ab81851559cbeb – when the image smartly cropped and looks amazing. Is it something possible to featured images?
Thanks,
Denis.
Hi,
Since installing the theme in 2014, I’ve been using the boxed layout. I’m currently redesigning my website and want to change to a full width layout but can’t find a way to change it. (I’ve been looking this whole afternoon through the forums, documentation and theme panel, it’s probably something really easy that I completely missed)
My website: http://www.nonstopdestination.com/
I would like to have the top menu, footer and feature image on each post full width.
Like this example: http://demo.tagdiv.com/newspaper/td-post-the-new-screen-savers-the-show-that-launched-video-into-the-stratosphere/
Any help would be greatly appreciated!
Thanks,
Lies
Dear Sir,
already using the last update the theme and visual plugin and disable,enable cache plugin but still same. we using other plugin:
All In One WP Security
BackUpWordPress
Custom Sidebars
Facebook Comments Plugin
Facebook Like & Share Button
Google Analytics Dashboard for WP
Pilih Google XML Sitemaps
Google XML Sitemaps
Jetpack
Monarch Plugin
NextScripts: Social Networks Auto-Poster
tagDiv Social Counter
WP Retina 2x
WP Statistics
WP Super Cache
WPBakery Visual Composer
WPBakery Visual Composer
Yoast SEO
need you support sir
regards
Hi
I love your theme.
But find there is a lot of space between some elements.
I want to reduce these space that people see more things when there arrive on the homepage.
I tryed to put all block elements at 0px in Visual Composer but it change nothing.
I suppose, I could do that with CSS in the theme panel.
How could I do that for each of the element I listed (put 5px for each for example)?
Regards

Hello,
I can see this in the samples:
<i class=”td-icons-home td-icons-animals”></i>
<i class=”td-icons-pets td-icons-animals”></i>
<i class=”td-icons-farm td-icons-animals”></i>
for example…. where can I see all this codes and icons? I need animals, food, vet, etc…. ¿Can I put?
Cheers
Hallo, my time now in article now:
<?php echo $td_mod_single->get_date(false);
$u_time = get_the_time(‘U’);
$u_modified_time = get_the_modified_time(‘U’);
if ($u_modified_time >= $u_time + 1) {
echo “• Ενημερώθηκε: “;
the_modified_time(‘d/m/Y | H:i’);
}
?>
I want to enter a strtotime(‘-6 hours’)) to time and modified time.
I need utc-4 at wordpress settings but utc+3 at time in the website articles.
Hi,
I have couple of questions about the new mobile theme.
1. How can I manage the home page and decide what to show? For now there are top featured articles and the latest articles. I want to put there blocks with different sorting options and categories or change them on the existing. In the top grid for example to show not only featured but what I specify.
2. Where I can put the code for Page-level ads?
3. Can I use widgets on mobile theme?
4. How to hide go to top button?
5. How can I show the footer menu?
6. Is it possible to hide the footer and leave only the footer menu?
7. Can I manage the font on mobile menu.
8. How can I hide the page views? Is the custom code different?
9. May I display and blocks from sidebar on article page?
10. Is the modal image removed by choice or for speed optimization? If it’s removed by choice can I turn it on?
The documentation for Child Theme Support states:
A sample child theme is available in the /code/ folder in the package that you downloaded form Themeforest.
I can’t find this in the zip file I downloaded.
I’m also having trouble creating a child theme because I can’t find the template name.
Help?
– How do I offset the current post with the block13 that’s doing the infinite load and it seems like it duplicate the article.
– One other thing, in the Post Page I added 3 blocks after the article content. Right now the blocks are display to all articles. How can I set the 3 blocks to show only to a selected category.
Example:
reading from category id=1, the 3 blocks will show block1=cat id=4, block2=cat id=7, block3=cat id=13
reading from category id=4, the 3 blocks will show block1=cat id=1, block2=cat id=5, block3=cat id=9
reading from category id=6, the 3 blocks will show block1=cat id=2, block2=cat id=8, block3=cat id=10
I hope you can understand my questions.
Thank you for your support.
Hello everybody,
First sorry for my english, it is not my mother tongue :p
So I just purchased the Newspaper theme and I’ve to say that’s its really great so far – I’m in the early beggining of my website, creating some dummy post to train my self.
In my welcome page I have some blocks which highlight recent post – A picture and a description, I’m trying to find a way to edit this description or simply to understand how it works since for some posts it display some more text than other.
Here is an example :
https://upload.vstanced.com/images/2016/05/13/5.png
I want to understand how I can set a specific text here, below the image, or to understand why for the first it seems limited in length and not for the other.
Please, do you have some hints on this ?
Sorry again for my poor english !
Been posting on my twitter profile and is not showing the images when i paste the url for example http://revistaladosis.com/gustavo-casas-lanza-verte-ya-video-animado/ , and looks like this 
What could be the problem? thanks!
Hello, we have moved to Newspaper theme from a previous theme that supported action hooks and filters, where we used our functions.php file to modify the page contents. For example, to show custom fields on posts, we used this code in our child theme functions.php:
// add album title, label and article subtitle to posts and pages
function vg_subtitle($posttitle) {
global $post;
$albumtitle = get_post_meta ($post->ID, 'Album Title', true);
$albumlabel = get_post_meta ($post->ID, 'Label', true);
$subtitle = get_post_meta ($post->ID, 'Subtitle', true);
echo $posttitle;
if ($albumtitle) echo '<div id="vg-albumtitle">' . $albumtitle . '</div>';
if ($albumlabel) echo '<div id="vg-albumlabel">' . $albumlabel . '</div>';
if ($subtitle) echo '<div id="vg-subtitle">' . $subtitle . '</div>';
}
add_action('thematic_postheader_posttitle','vg_subtitle');
I am wondering, does Newspaper support action hooks such as this, to display these custom fields? I am wondering where I might find the Newspaper theme equivalent to replace above ‘thematic_postheader_posttitle’ … ? Is there a support doc reference to theme action hooks and filters? Thanks!
Hello please do help me out ?
Images in my site are low quality , I don’t want to show on header menu ( sub-menu or mega menu ) ! just like as normal sub-menus ! If you not catch up my point here
If you visited sample website : http://demo.tagdiv.com/newsmag/ !
The header menus are like Fashion , tech , Travel , Video , features , Home pages !
The submenu links up to “Video” are shown as mega menu , but after that in “features and Home pages” it just show the simple sub-menus ! I want to appear my sub-menu links as ( features,homepage) not with thumbnail !
Hope you got my point !
Am new to wordpress , please don’t mind if it is a simple question !
Looking forward
Regards
KanKan
Hi, on my back-end pages for example the static page, I can’t find the Visual composer/rows to edit contents.
It’s has been happening for a while now. How can I resolve this please????
Google Adsense has started page-level ads. Where do I put them in Newspaper site to enable them. Here are the instructions at google adsense:
Place this ad code in the <head> tag (or at the top of the <body>) of the pages where you want to show the ads. It’s the same ad code for every page and site, and you won’t need to change it even if you adjust your Page-level ads settings.
Here is the link for more details:
https://support.google.com/adsense/answer/6245307?hl=en&utm_source=aso&utm_medium=link&utm_campaign=ww-ww-et-asfe_
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-XXXXXXXXXXXXXXX”,
enable_page_level_ads: true
});
</script>
Hello,
I installed BuddyPress which is main feature of my site and can’t manage/find in theme settings how to link Single post Author box BIO and “Social icons” to BuddyPress profile.
– with or without BP Should users still go to WP back end to complete Social information ? YES/NO
– User’s “Biographical info” completed in WP backend appears on Single post Author Box. When BP is activated, the bio info completed in BP doesn’t appear in author box, still only WP fields appear.
As a temporar solution for those 2 issues I can just deactivate Author box in posts. But still the author icon in posts meta will lead to WP author page, I need to BP.
Since the theme is BuddyPress compatible, could you at least inform what to add/modify in codes that Author icon,once BuddyPress is activated, leads to BP profile ? Perfectly will be WP user Social and Bio info synced and completable by users in BP. Thank you in advance. Mini.