- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi MarcinHinz,
Try the code below and place it in Theme panel->Custom CSS area.
@media(max-width:767px){
.td-container .block-title span, .td-footer-description{
display:none;
}
}
Thanks.
Hello,
I have Newspaper 7 installed. Everything seems to work, but some of the sorting options in Visual Composer don’t work. Random posts and Oldest Posts are two examples.
I have tried this without any cache plugin, with every plugin but Visual Composer installed. I have cleaned and optimized my database, and I even tried manually adding the code to the post.
Nothing seems to work.
Any ideas?
Here’s an example:
[vc_row][vc_column][td_block_trending_now category_id=”902″ category_ids=”902″][td_block_big_grid_3][/vc_column][/vc_row][vc_row el_class="td-ss-row"][vc_column width="1/3"][td_block_18 custom_title=”Vida Prática” header_text_color=”#ffffff” header_color=”#1e73be” category_id=”11″ limit=”12″ ajax_pagination=”next_prev”][/vc_column][vc_column width="1/3"][td_block_18 custom_title=”De Olho na Mídia” header_text_color=”#ffffff” header_color=”#00b584″ category_id=”10″ limit=”12″ ajax_pagination=”next_prev”][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-td_demo_sidebar_tech"][td_block_7 custom_title="Mais Lidas" post_ids="528,486,491,220,420,509,568,490,519,515" sort="oldest_posts" limit="10"][/vc_column][/vc_row][vc_row][vc_column width="2/3"][td_block_1 custom_title="Doutrina Cristã" header_text_color="#ffffff" header_color="#c48211" category_id="12"][td_block_21 custom_title=”Mitos e Fatos” header_text_color=”#ffffff” header_color=”#b52020″ category_id=”9″ limit=”4″ ajax_pagination=”next_prev”][/vc_column][vc_column width="1/3"][td_block_7 custom_title="Você já leu?" sort="random_posts"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][/vc_row][vc_row][vc_column][td_block_16 custom_title=”Dúvidas Comuns” header_text_color=”#ffffff” header_color=”#c9b100″ category_id=”16″][td_block_16 custom_title=”Últimas Postagens” header_text_color=”#ffffff” header_color=”#145791″ limit=”10″ ajax_pagination=”next_prev”][/vc_column][/vc_row]
.td-footer-description, .footer-email-wrap, .td-footer-logo{
display:none;
The code above works for hiding footer descripion and footer logo.
I have created the mobile-sidebar.php. I also created the popular post block with visual composer but I am unable to call for the block in the mobile-sidebar.php.
Block shortcode is – [td_block_21 custom_title=”Popular Posts” sort=”popular” td_ajax_preloading=”preload” ajax_pagination=”load_more”]
Hi 🙂
I’ve installed the “Say What” demo.
Which would be the ideal proportions for featured images so they display properly in all homepage blocks?
Thank you!
Vittorio
Hi 🙂
How can I change font and dimension of “block 12” and “block 23” excerpts?
Thanks a lot!
Vittorio
Hi,
Please check the Block Setting section, you can enable/disable the meta info only for blocks and modules – http://screencast.com/t/CpD9zCo60
Thanks!
HI
The theme does not control how Facebook display content picked by its sharer. Indeed it usually works without the scrape but this is not theme’s related, if you check our demo this issue is not there. Sometimes facebook won’t index automatically a new post because of huge amount of data which must be fetched. So you can “force” facebook to index your post by running a fresh scrape as I’ve indicated above.
Also there can be a slow response from the server. When facebook read the page which is shared, it won’t wait to much for requested data. If the response is to slow or for some reasons is blocked the content won’t be displayed properly. You can try to deactivate all plugins except Visual Composer, clear the caches and check if the problem is still there.
Thanks!
Hello hadharm,
If you want to frame the entire thumbnail with all meta information, you will have to replace the .td-module-thumb with the modules which are used by your displayed block. For example, if you are using the Block 1, you will have to use .td_module_4 and .td_module_6 as classes because these are used in that Block. The example of the code for this Block is here ->
.td_module_4, .td_module_6{
border: 2px solid black;
border-radius: 5px;
padding:2px;
}
For more information about Blocks/Modules, please check this section of Theme panel, like this -> http://screencast.com/t/K4ctencdgg
3) Try the code below ->
@media(max-width:767px){
.footer-logo-wrap, .footer-text-wrap{
display:none;
}
}
4)To bring the most popular posts you can use a Block sorted by Popular, like this -> http://screencast.com/t/QAU0S6ClysR and for bringing the Latest commented posts, you will have to use some plugins which have this functionality or if you are an experimented person with coding, you can implement yourself this task. We cannot help you in this regard because we cannot provide custom work at the moment, sorry!
5)The mobile plugin does not support the Visual Composer shortcode and therefore, you cannot use the Trending Now Block in Mobile Theme, sorry! If you want to make it to work, please do it yourself because this task requires custom work.
6)If you want to change the functionality of Related Articles you will have to alter the code from the core file, where this feature is created, like -> http://screencast.com/t/cvoGdGF5 and here -> http://screencast.com/t/xF0VeNmQW
7)If you want that you code working only for post pages, you will have to add the .single class after your code to be more precise in this regard. You can use the shortcode method to add this button, using the Visual Composer, like Text Block element. In that Block, you can add your button, and then injects the shortcode generated in VC for that element in the content, before your text, like this -> http://screencast.com/t/wHSERMLja -> http://screencast.com/t/lJS3epysxiMS
Thanks for your understanding!
Andrei L.,
Thanks for your reply. Concerning the Revolution slider; I’ve used those blocks and the slides show up but the original height dimension of image and height set when the slideshow was created are ignored. How to correct this?
Is there some CSS code I can insert like ‘height:200px !important;’, that would restrain the height of slider to the height specified in Revolution slider plugin? If I can at least control the height, I can adjust, crop and create the slides to look OK in the default column width.
Thanks
HI
Thanks @Chris S for your help!
@billiehillier if you use blocks to display posts then you can use the available filters: http://screencast.com/t/s86oZbazX0F Those filters can also be used for post loop settings: http://screencast.com/t/v1ZjWdEVwq
Hope this helps!
Thanks!
Hi
Theme layout relay on a fixed width by 1068px. All blocks, modules, rows and post templates are designed starting from this value. There is no easy way to make container’s width 100% as this is a very complex task which involve many customizations and tests in order to be achieved. Basically all theme’s layout must be re-designed.
Unfortunately I can’t provide a solution at the moment as we can’t offer customization services. If you really need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
Hi
Theme’s layout relay on a fixed width by 1068px and there are no options to change this value. Also all theme’s blocks and modules have fixed sizes for featured image. The slide uses different thumbs depending by layout used for it bu non of theme are squares. The size of any element can be changed only adjusting theme’s code.
When Revolution Slider is installed in Visual Composer will be available those blocks: http://screencast.com/t/cxTtWSrga7O
Basically first three requests involve custom work in order to achieve the desired result and unfortunately we can’t offer such services at the moment. If you really need this and you’re not aware of the steps that must be taken in this regard my advice is to look for someone who can help you with implementation or hire a developer to do it for you.
Thanks for your understanding!
HI
Theme’s blocks were designed to be displayed on in a container by 1068px. To achieve a full width layout are required many customizations in theme’s core files, basically all layout must be rewritten.
This is a very complex task which involve lots of customizations and also time to be completed. We can’t offer customization services at the moment so if you really need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks for your understanding!
Hello Andrei,
Thanks for the detailed response. Actually, I had made the lazy load off that’s why you couldn’t notice it. Currently, I have enabled it again and now you will be able to see the same issue again. Visit this again: https://tomatoheart.com/manisha-choraria/kids-manage-finance/
As I said, it disappears only when “Fade & Scale” or “Up fade” option is selected under loading effect. In case, I made it off or select “Fade (Full)”, It works very well. ( Check this screenshot: https://i.imgur.com/xUhvWum.jpg )
I know there is no issue with theme options or anything and it’s happening because of the compatibility issue of my this custom CSS
.wp-caption-text a {
background: rgba(0, 0, 0, 0.25) none repeat scroll 0 0;
display: inline-block;
padding: 0 3%;
}
.wp-caption-text, .wp-caption-text a {
color: #fff;
font-size: 10px;
margin-top: -28px;
text-align: left;
line-height: 20px;
margin-left: 3px;
}
I rmember , under a different thread here : https://forum.tagdiv.com/topic/image-caption-disappeared-and-jpg-are-not-in-centre-in-smart-list/#post-131943 Bogdan has said that this code effects only externally sourced image and he has suggested a new code, which is working very well even with smart list style but somehow he wasn’t able to shift the “image caption” both in the bottom left ( it stays in the bottom center)
SO, I am using Bogdan’s code specifically for Smart list styles and using my code for all other places ( here it works with both internally and externally sourced images )
Example for bogdans code : https://tomatoheart.com/akshita/13-science-backed-reasons-indian-superstitions/
Example for my code: https://tomatoheart.com/manisha-choraria/kids-manage-finance/ ( It will disappear in milliseconds because of the current setting )
One better solution can be that if we can style Bogdan’s code in a way that it gets the same style as I am getting with my code. The only issue is to move caption box to bottom left. It will also solve “Lazy load” issue as his code works well universally.
Or you can check the compatibility of my code with last two lazy loading options.
I am repeating it again that theme is working very well and it’s just because of my custom code but any help will be appreciated.
With regard at Speed Booster, I can see it’s working but can’t see it impacts on Pagespeed, with ON or OFF, I don’t see any changes in the number of .JS or .CSS file under render blocking .
Does it work only for the internal .js and .css files , not for the external one?
A look at the current Pagespeed score: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftomatoheart.com%2Fmanisha-choraria%2Fkids-manage-finance%2F&tab=desktop
Remove render-blocking JavaScript:
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
https://tomatoheart.com/wp-includes/js/jquery/jquery.js
https://tomatoheart.com/…cebook-login/public/js/facebook-login.js
https://tomatoheart.com/…ntent/plugins/ytsubscribe/ytSubscribe.js
https://tomatoheart.com/wp-content/plugins/akismet/_inc/form.js
Optimize CSS Delivery of the following:
https://tomatoheart.com/…book-login/public/css/facebook-login.css
https://fonts.googleapis.com/…3A400%2C700%7CLora%3A400%2C700&ver=4.6.1
https://fonts.googleapis.com/…italic,700,900,500italic,400,300&ver=7.3
https://tomatoheart.com/…r/assets/css/js_composer.min.css?ver=7.3
https://tomatoheart.com/…ntent/themes/Newspaper/style.css?ver=7.3
You can notice that all are internal .js or .css files related to either a theme or plugin. Why can’t it move theme related .js and .css files? what about googleAPIs and external plugins like Facebook login and YTsubscribe plugin ? Is Speedbooster unable to render it?
How can I check that what .j and .css files , speedbooster is succesfully moving?
You may want to answer these things, whenver you have time. Thank you very much.
-
This reply was modified 9 years by
Nano.
Hi Kibiribi, go to the block settings.
You can save time if you read: https://forum.tagdiv.com/newspaper-theme-documentation/
http://demo.tagdiv.com/newsmag/block-7/
I am trying to Make like this
http://image.prntscr.com/image/651395c112a94cf5913b53bd15ffb071.png
Highlighted in red box
I am not able to figure it out. could you please point out me in right direction
Hi
@Sasser The theme is written according with WordPress standards and it’s optimized for best performances. However there are many factors which can influence site’s load time. I’ve checked your site with google page speed and noticed that is not optimized for a good performance. As @Chris pointed you ca uses our page speed guide as a start.
I’ve checked your site with google page-speed and from its reports I’ve noticed that there are a few images which slow the load time. Try to optimize the images following google’s docs: https://developers.google.com/speed/docs/insights/OptimizeImages Also you can use leverage browser cache to reduce the size of the css/js resources served by the server: https://gtmetrix.com/leverage-browser-caching.html
To move render-blocking resources in page’s footer you can use Speed Booster plugin. We covered in our documentation at point 5 how this plugin can be used.
Other useful information about page speed can be found in these topics: https://forum.tagdiv.com/topic/help-moving-style-css-and-fonts-googleapis-com-to-footer/ – https://forum.tagdiv.com/topic/speed-booster-questions/ – https://forum.tagdiv.com/topic/mobile-view-problem-3/
Hope this helps.
Thanks!
Hello, I use a Global Medicence for my website and was trying to set additional block news page at home page using visual composer, but now there is a coding shown at the bottom after the footer. I deleted some page like the ads block but the code stays.
My other question is can I use other footer like 1,2,3 for widget or just use the newspaper 7 default?
My website http://www.jeumpanews.com
Thank you.
7. While trying to customize the h2 to h6 tags with the below code:
h2,
h3,
h4,
h5,
h6 {
background-color: #008CBA; /* Blue */
padding: 4px 5px;
text-align: left;
display: inline-block;
}
The code above works but it affects items in footer widgets, sidebar and related posts areas. I want the code to work only in the post area. I also want to add a small icon(http://techblogng.com/wp-content/uploads/2016/09/button.png) at the left of the button before text.
Thanks in Advance
You didnot talk wraapping sidebar widgets into border anymore. But if that seems not possible no problem.
The code below only works for thumbnails but I want the border to cover thumbnails, article title, Author name. I don’t want it to work for any other widget or blocks. Only for home page and archive post list.
.td-module-thumb{
border: 2px solid black;
border-radius: 5px;
}
The above code shows this ===> http://prntscr.com/ckeahl
But I want it like this ===> http://prntscr.com/ckeb6h
3. I want the the follow us section of mobile footer to only show. I don’t want the logo and the about us to show anymore.
4. I want to create a file as mobile-sidebar.php and call it before footer. But is there a way I can insert latest comments and popular posts to the php file?
5. I am not using the page builder as homepage but I will like the trending now to show at the top on mobile and web versions.
6. Lastly, I want to change related articles text to what others are reading.
Hi,
I have one small question, how can I change the page layout?
It has a block layout currently (click on the image below), but I want to have a full page.

Can you help me?
THanks in advance
Kind regards
John
I’ve just started using Newspaper theme but have a half dozen years experience building sites mostly using WooThemes Canvas.
I’ve read through the documentation and searched the forums plus tabbed through all settings but don’t find where I can set some essential dimensions.
First, where to set the page width?,
Second, how/where to set post slider heights(using equal feature image dimensions doesn’t solve this),
Third, where to input critical block heights for sections, or rows, in the Visual Composer, and,
Fourth, which block will receive the shortcode from the Revolution Slider?
I understand that a responsive theme needs to have flexibility but it seems that there should be the option to set at least a percentage for the most critical columns and rows.
Thanks.
I cannot find the documentation on how to change the categories on the landing page so each category feeds into that block. I am either not searching for the right terms or too frazzled to see it.
Hi,
Getting the below error while trying to install the theme on my wordpress site. Any resolution?
Broken Themes
The following themes are installed but incomplete.
Name Description
Newspaper Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet. Delete
Either turn off the option for showing categories on posts from theme panel. Done. Or, you need to move that in your templates if wanted.
If you want to move that to footer, as I do, then you would need to move that block in the post template(s) you’re using from the loop file to bottom — I move my category block down to the tag block area with certain layouts.
Simplest thing is to just disable showing the “categories” elements on post, as not strictly needed since those same categories are in your menu(s) and in sitemap(s) for Google, et al.
-
This reply was modified 9 years by
simchris.