- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
This is the answer we provided via email:
You can use do_shortcode function to display and ad under posts title. To achieve that you need to edit each file corresponding with post template used: http://screencast.com/t/arZcXGgJn and paste the indicated code under get_title() function. The result will be like here: http://screencast.com/t/ilpOPPKqWI
To get the shortcode add an ad box into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
I used custom ad 1 in this example but you can use any of the custom ad-spot, just update the number from shortcode. Ex: for custom ad 4 the shortcode will be [td_block_ad_box spot_id="custom_ad_4"]Also you can use the ad-shortcode to display ads in post contend. Just paste the shortcode in post editor where you want to display the ad: http://screencast.com/t/NKZwVCHB – http://screencast.com/t/LrLini74nH2
Thanks!
THanks. Yes this looks ok. I was thinking of block where inside is author date and views. Like box it was coloured on my screenshot. Box would be 100% wide and of some soft grey color.
Think would look ok?
Thanks
Hello,
If you want to replicate the travel demo on another one, please follow this guide to do it:
https://forum.tagdiv.com/topic/how-to-stop-top-header-image-from-stretching/
If you change the block, it will require further customization as the style was designed specifically for block 5
If you want, you can alter the css for it http://screencast.com/t/KoQBmkEIUgp8
But it will need a bit of customization. (this page is custom made for the travel demo and not a theme panel feature)
Thank you!
Hello,
1) You can see the size of every thumbnail our theme uses here and the place where it is used: http://screencast.com/t/9oZItg3o1b
It can be a bit confusing at first with modules and blocks but here is a simple explanation.
The MODULE is the base element. A block is simply a container for one or more modules depending on the design. So a block can have multiple image sizes. You can see a list of the modules used on every block here: http://screencast.com/t/fr9FyCbdehG
2) As for the featured image:
https://forum.tagdiv.com/featured-image/ – https://forum.tagdiv.com/thumbnails-vs-featured-image-size/
It can be controlled from the post style: https://forum.tagdiv.com/post-templates-2/
3) I’m not sure what padding you are referring to.
If this is not what you mean, please provide more details so I can better understand how to help.
Thanks.
i tried this code,
.td_block_9.td-post-date, .entry-title{
display:inline!important;
}
.td_block_9.td-post-date{
background-color:red!important;
color:white!important;
}
it dint worked.
plz help me with the correct code that will show red background and time for block 9.
Thanks
Hello thanik30,
1)If you want to have the latest version of Visual Composer 4.11, please update your theme to the latest version which was released today, 17th Marth. If you want to find more information about this update, please check this link -> http://tagdiv.com/newspaper-6-7-update/
2)If you want to change the font size for each your block title, you have to use a bit of CSS code to do this. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_block_wrap .block-title {
font-size:20px;
}
The result -> http://screencast.com/t/5eK6OxmVkIt
3)Depends on what you want to mean through “customise the look of the block title”. Please notice that is a Visual Composer element and you have to target the specific class in order to apply the desired attribute (you can try to customise yourself as I presented you above).
4)If you want to increase the height for your header, please try the code below.
The code is ->
.td-header-menu-wrap-full{
height:200px!important;
}
The result -> http://screencast.com/t/DJ8VrNKm
5)Our related articles use a specific block to display the posts for this kind of feature. The block type is td_block_reltated_posts and it only used for related posts. If you want to change the functionality for this, you have to change the functionality altering the code from the core file, like this -> http://screencast.com/t/5o2poNC8XA8 -> http://screencast.com/t/DuDz1BuCmTf
Hope this helps!
If you want to display more levels in our theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!
Thank you for the message!
Hi
1. I’ve checked your site with the ad-block enabled and the logo it’s displayed fine: http://screencast.com/t/31fiUVRA However the theme cannot control the action of ad-block software. The ad-block is an extension which act on the browser and it’s action is not related with the theme.
2. The favicon it’s displyed fine on my site: http://screencast.com/t/RVeNn7gMr If you still have this issue clear all caches and test again.
Thanks!
I just want to target block 9, is it same code
Hello,
The speces you mention are margins and padding that can be removed with css. As this modification is a substantial one and specific for every case, we cannot do it for you as you have tyo decide what goes where so I will show you hw to do it with an example and then you can apply the method for all the other blocks.
Important note: the vertical spacing cannot be removed. That is the theme width. Our theme was created using a fixed with and if this is altered, the elements will not position propoerly anymore.
All the horizontal ones can be remove though.
You will have to know a bit of css for this. You can use the browser inspector to see the margins and padding:
http://screencast.com/t/oJWhHavwl9R
Then you can create your css code to overwrite the one form the theme.
This code will remove the topo margin and bottom padding for all blocks:
.block-title{
margin-bottom:5px!important;
}
.td_block_wrap{
padding-bottom: 5px!important;
}
But the space between block posts are added on every specific module so you need to inspect them with the browser inspector and remove them for every module type.
The same goes for the header. Different header styles have different margins and padding..
I hope this helps.
Thank you!
Hi,
im using the td_block_4 on a page with ajax pagination. I copied the block an modul to my child theme and try to implement a fb, tw, g+, pin and a whats app share button, direct below the thumbnails of each post (SEE IMAGE BELOW). That means, the sharing buttons should pick up the thmubnail and/or the url from each listed post with ajax pagination and not the url and thumb from page where the td_block_4 is on.
Any help would be greatly appreciated.

Hi,
You can use this custom css but you will also have to adapt it to the blocks you use as it also impacts the big grid category titles (it positions them inline with the title)
.td-post-date, .entry-title{
display:inline!important;
}
.td-post-date{
background-color:red!important;
color:white!important;
}
Thank you!
Hi
Use this css: http://screencast.com/t/6sOZrgchP – http://screencast.com/t/3S7IAyoFrM
.td_block_14 .td_module_mx1 .td-module-thumb a:last-child:before{
background: none;
}
.td-grid-style-1 .td-module-thumb a:last-child:before{
background:none;
}
If you decide to use different grid styles and you still want to remove the dark gradient just re-add the first css code and change the number from grid style class with the one corresponding with the grid style used. For example if you’re using grid style 4 the class will be: .td-grid-style-4
Thanks!
Catalin,
First, thank you for answering.
In fact I always used the Ajax enabled mode and plugins are the same and never occurred problems of the kind since I use the Newspaper.
Anyway, I took the test that you indicated and not solved.
The problem started a week ago and the only change made was a clean reinstallation of WordPress with import of the old installation database with a copy of each table (except wp-options), but I think this could not have caused harm or could it?
In my log errors I found some occurrences that I copy below. This can be a clue?
[16-Mar-2016 22:57:21 UTC] Database Error WordPress Lost connection to MySQL server During query for the SELECT query post_id, meta_key, meta_value are_wp_postmeta FROM WHERE IN post_id (194635,194646,194653,194664,194671,194674,194677,194679,194682,194683,194687,194690,194696,194699,194701,194704,194707,194710,194712,194714,194716,194719,194721,194724,194727,194730,194733,194735,194742,194744,194746,194749,194752,194755,194758,194760,194764,194766,194771,194774,194777,194780,194782,194785,194789,194791,194793,194795,194798,194813,194815,194818,194822,194825,194827,194829,194831,194833,194837,194839,194843,194845,194847,194852,194854,194856,194858,194861,194863,194865,194868,194871,194874,194884,194886,194888,194890,194893,194895,194904,194908,194910,194913,194916,194918,194920,194922,194924,194928,194930,194932,194934,194936,194939,194942,194944,194948,194952,194955,194957) ORDER BY ASC meta_id made by require ( ‘wp-blog-header.php’), wp, WP-> main, WP-> query_posts, WP_Query-> query, WP_Query-> get_posts, do_action_ref_array, call_user_func_array, WPSEO_Sitemaps-> redirect, WPSEO_Sitemaps-> build_sitemap, WPSEO_Sitemaps-> build_post_type_map, update_meta_cache
[16-Mar-2016 22:57:21 UTC] Database Error WordPress Lost connection to MySQL server During query for the SELECT query post_id, meta_key, meta_value FROM WHERE are_wp_postmeta post_id IN (60298,261911,261914,261916, 261918,261921,261924,261929,261932,261935) ORDER bY ASC meta_id made by require ( ‘wp-blog-header.php’), wp, WP-> main, WP-> query_posts, WP_Query-> query, WP_Query- > get_posts, _prime_post_caches, update_post_caches, update_postmeta_cache, update_meta_cache
[14-Mar-2016 03:35:22 UTC] Database Error WordPress Lost connection to MySQL server During query to the query SELECT FROM WHERE SQL_CALC_FOUND_ROWS are_wp_posts.ID are_wp_posts 1 = 1 AND are_wp_posts.post_type = ‘post’ AND ((are_wp_posts.post_status = ‘publish’)) ORDER bY are_wp_posts.post_date DESC LIMIT 0, 5 made by require ( ‘wp-blog-header.php’), require_once ( ‘wp-includes / template-Loader.php’) , include ( ‘/ themes / Newspaper / tag.php’), get_sidebar, locate_template, load_template, require_once ( ‘/ themes / Newspaper / sidebar.php’), require_once ( ‘/ themes / Newspaper / includes / wp_booster / sidebar.php ‘), td_util :: show_sidebar, dynamic_sidebar, call_user_func_array, WP_Widget-> display_callback, td_block_widget-> widget, td_block_text_with_title-> render, td_block-> render, td_data_source :: get_wp_query, WP_Query -> __ construct, WP_Query-> query, WP_Query-> get_posts
[14-Mar-2016 03:35:22 UTC] Database Error WordPress Lost connection to MySQL server During query to the query SELECT FROM WHERE SQL_CALC_FOUND_ROWS are_wp_posts.ID are_wp_posts 1 = 1 AND are_wp_posts.post_type = ‘post’ AND (are_wp_posts.post_status = ‘publish’) ORDER bY are_wp_posts.post_date DESC LIMIT 0, 6 made by require ( ‘wp-blog-header.php’), require_once ( ‘wp-includes / template-Loader.php’), include ( ‘/themes/Newspaper/404.php’), query_posts, WP_Query-> query, WP_Query-> get_posts
Dear Newsmag,
Two issues:
1. I noticed that my Full Header Logo is being blocked by ad blocker software. How can I fix this? I’m assuming this is a template design issue.
2. I uploaded a 16×16 png favicon, but it’s not showing. Not sure what I’m doing wrong.
My site: http://www.farcethenation.com
Thanks!
After updating the Js Composer to v4.11, it seems the guys at the WPBakery have just released the v4.11.1.
The plugin is currently displaying the annoying message below.
There is a new version of WPBakery Visual Composer available. View version 4.11.1 details. Automatic update is unavailable for this plugin. To receive automatic updates license activation is required. Please visit settings to activate your Visual Composer. Got Visual Composer in theme?
Could you please make version 4.11.1 available for update.
Thanks
Hello,
I am using fashion theme. But i want my homepage like travel theme
A big strech image on top same like travel theme
And i want add white border to block 3 posts insted block 5 posts (https://i.gyazo.com/f00db71effa334228e14b70bbc6c8f99.png)
Is there a documented list of what sizes each of the blocks are?
Thanks!
IC
1) Do you include a free update WPBakery Visual Composer from version 4.9 to 4.11 in the theme package? If yes, please educate.
2) How to increase the size of block title in all block settings?
3) Is it possible to customise the look of the block title?
4) How can I increase the height of the header? Now I’m using “full dark menu with logo”.
5) Under ‘Latest articles’ section in http://themeforest.net/item/newspaper/full_screen_preview/5489609 , which content block do you use? Block 5? If it’s block 5, then why the dimensions of the featured images look more rectangular than mine (www.feelthecar.com)
Thank you.
From the changelog – not certain if up to date or not:
Newspaper theme
Here is a list of all the changes between v 6.6.5 and v 6.7
Modified files – 12 files
page-pagebuilder-title.php
page.php
style.css
includes\td_config.php
includes\plugins\js_composer.zip
includes\shortcodes\td_block_authors.php
includes\wp_booster\td_global.php
includes\wp_booster\td_wp_booster_functions.php
includes\wp_booster\wp-admin\panel\views\td_panel_categories.php
includes\wp_booster\wp-admin\panel\td_view_theme_plugins.php
js\tagdiv_theme.js
js\tagdiv_theme.min.js
Deleted files – 1 files
includes\plugins\revslider.zip
=================
[ Version 6.7 ]
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
[ Version 6.6.5 ]
– fix: WooCommerce 2.5 compatibility + various styling issues
– improvement: Visual Composer plugin updated to the latest version
– improvement: Revolution slider updated to the latest version
– improvement: theme panel status now shows the loaded demo information
– improvement: footer logo title and alt attribute is now configurable from the theme panel
– improvement: faster servers that serve the files for the one click demos
==========
“no way to know ….” ? seems like some info was included in the download, at least my copy. ?
Actually one more thing…
How do i do the same thing for ALL the category pages.. it seems like that filter affect is there for all the category pages.
Also– If you scroll down my homepage.. you see the 6 blocks ont he bottom where it says health and ayurveda… it has the dark filter on there too.. i want to remove that as well.. how do i do that?
Hi, Newspaper 6.7 includes:
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
Hi
You can try this css in theme panel > custom code > custom css to achieve a similar layout: http://screencast.com/t/F9EgCwlA2
@media(max-width: 768px){
.td_block_11 .td-module-thumb .entry-thumb {
width: 100px;
float: right;
margin-left: 20px;
}
}
If you want a different implementation you will need some cutomizations in theme’s files as the css code can’t reproduce 100% the layout of block 8 on mobile.
Thanks!
Hello,
Please extend the post limit of your block 15 in the sidebar as you have more content on the left column than on the right: http://screencast.com/t/ppWyO7kDP or add another block in the 1/3 section (right of the page) so it can fill in the space.
Thank you!
Hi,
If you want to make the blocks show post views on pages, then you need to hard-code it as the theme has no option for it.
Please follow this topic to see how it can be done: https://forum.tagdiv.com/topic/post-views-on-hompage/
Thank you!
Please a block on my home page is creating space and it doesn’t look good. how can fix this?
Thanks