- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- 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
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
I”m using visual composer to display a block, block 6, set to show posts from a category with a tag filter as well.
Trouble is, for some posts this info will be empty.. Is there anyway to hide the block display completely if it’s empty? Right now it still shows the title / pagination.. I’d like to just have it disappear altogether if it’s empty.
Hi,
You can also add background for blocks if you use them without a row, you don’t need to place the block into a row to set a background for it, and you can use custom css to add a background.
If you still want to use the blocks in rows you can try it this way:
* add each block inside a row.
* In case of the sidebar you can build it from dashboard > appearance > widgets and for the elements you can’t add from there to the sidebar you can use a text widget and add them via short-codes. To get the short-code as you like use page builder to build the widget(tabs/blocks/…) then add the shot-code inside an text widget and into your sidebar.
* to make the short-codes work into the text widget just add this filter into functions.php file: add_filter('widget_text', 'do_shortcode');
* after you did this just use the Page Template Settings to use a sidebar and use the one you created.
Thanks
Hi,
Please let me know if I’m wrong but I believe you refer to block 9 excerpt size and font family and in this case you can change the excerpt settings from theme panel > custom typography > tabs section: http://screencast.com/t/Y1hdDqbBnKKq
Note that this will change the excerpt’s font settings for all modules excerpt not only for block 9.
You can use this custom css in theme panel > custom css to target and change the font size and family only for block’s 9 excerpt:
.td_mod8 .td-post-text-excerpt {
font-family: Lobster;
font-size: 20px;
}
Should work like this: http://screencast.com/t/uZjaWb60VJzu
Thanks
Hi,
You can use a custom css similar to this: http://screencast.com/t/41geMxjVVP
.td-footer-wrap .block-title {
margin-bottom: 0px;
}
Use “inspect” tool and use classes to target and apply the css to the widget you want.
I can’t give an exact answers unless I inspect this so please send me your site’s URL so I can provide a better solution for this.
Thanks
Since updating to the version yesterday I’ve been unable to update one of my posts, keep getting the following error:
Warning: Invalid argument supplied for foreach() in /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 330
Warning: Cannot modify header information – headers already sent by (output started at /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php:330) in /home/thakksy/public_html/wp-admin/post.php on line 233
Warning: Cannot modify header information – headers already sent by (output started at /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php:330) in /home/thakksy/public_html/wp-includes/pluggable.php on line 1173
Only seem to happen when updating this post: http://www.cruisehive.com/costa-fascinosa-hit-bad-weather-causing-damage/4356 After checking the update does work but doesn’t confirm or anything, just the error page comes up.
Thought it was just a wordpress issue but it seems to be related to js_composer so thought it might be related to the theme.
Yea that work but than i cant have different background on every block like now… i wanted to fix that with “row inside row”, because than i can use full height sidebar (if i use row after a row than i have a lot of breaks there), and still i cant use sidebar like widgete because than i cant use tabs and other stuff there and i have three column block…
I hope that I explain my problem better now 🙂
Hi,
The issue comes from here: http://screencast.com/t/S9KUDcvXm6m
Your configuration for the page should look like this: http://screencast.com/t/bGyZK6Th1
Add a single row then add the elements/blocks you want, if you have any shot-codes you want to use on page you can use text block and add the shot-code like shown in the screenshot to your page.
Adding the block like this will display on two columns, this is the result for my configuration: http://screencast.com/t/KfTlLWcHVayG
Thanks
Thanks Lucian, work perfectly for me.
Hi,
Use this css in theme panel > custom css: http://screencast.com/t/SF0stGgc
.td_mod10 .meta-info {
display: none;
}
.td_block_10 .td_mod10 {
margin-bottom: 0px;
}
Thanks
All fixed.
# BLOCK HOTLINKING TO IMAGES
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?facebook.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?pinterest.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?twitter.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?msn.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com/.*$ [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ http://i.imgur.com/g7ptdBB.png [NC,R,L]
# END BLOCK HOTLINKING TO IMAGES
Now all the share buttons work great and no one can steal my images either.
You can test hotlink protection at:
http://altlab.com/htaccess_tutorial.html
If you would like to make it more complicated by expanding the hotlink protection, this link is good:
http://perishablepress.com/creating-the-ultimate-htaccess-anti-hotlinking-strategy/
Just figured out what was the problem:
I have the following code in my root htaccess file:
# BLOCK HOTLINKING TO IMAGES
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com/ [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ http://i.imgur.com/g7ptdBB.png [NC,R,L]
# END BLOCK HOTLINKING TO IMAGES
So my question would be how to allow for pinterest, facebook and twitter etc. It is crucial to ban hotlinking for our site.
Thank you so much.
HI in my homepage i use block 9. From theme support I can not find any option to change the size and the font family of my posts. Can you tell me how I can do it??
THanks
Also, block 10 added in sider showed only code in sidebar and nowhere to found, anymore, to delete it and add it again. I managed to get rid of the shown code after deleting other widgets in sidebar.
thank you for your great support Lucian
Hello,
I have situation like in image below… My problem was that i need to have diferent background image for every block on my homepage and I can’t do that if i dont use multiple rows… on the other hand i need to have full height sidebar which i can have from widget but than i have 3 columns in block 4…
this is real situation

But this give me only one column of posts in block 4 and I want to have 2 of them (not three) so is there a way to acomplish this?
here is real situation of homepage

thank you very much
Hi,
Thanks Christopher!
@skykid
WordPress has some default cropping sizes http://screencast.com/t/ifk8fE1HYk and we added more sizes inside the functions.php file – http://screencast.com/t/2QaaubXnqxL
Those sizes are used on modules and sliders (including the Big Slider), you can read here about the thumbs used on modules and sliders https://forum.tagdiv.com/modules-and-blocks/
You can read here more about WordPress hard and soft cropping: http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
You could try to registers a new image size, you can read hare more about this: http://codex.wordpress.org/Function_Reference/add_image_size
Hope this helps!
Thanks
Hi,
I have tested it and it’s working. Please make sure that you add this code:
?> <div class="td-older-pagination"><?php next_posts_link('OLDER POSTS'); ?></div> <?php
..like this: http://screencast.com/t/dLxnat0d
After adding this please add this custom css in theme panel > custom css like this: http://screencast.com/t/BOKsmfnVa
.td-older-pagination a {
background-color: #4DB2EC;
display: block;
font-family: 'Roboto',serif;
font-weight: bold;
height: 35px;
margin-bottom: 40px;
text-align: center;
color: #FFFFFF;
line-height: 33px;
}
You should get this result: http://screencast.com/t/UzZplIlt
Thanks
I want to edit Block 10 something like this, no dates and the space between the titles to be much smaller and if posible could – or the arrow before Posting Title. THX
Something like this: —> http://awesomescreenshot.com/0d83ju9f1b
[ V 4.4 ]
– added new custom made infinite scrolling script with support for a ‘load more’ button after x number of pages
– fixed the load more and infinite scroll animation
– added option in panel to show the author under the title of the post
– added rel=”nofollow” to all the social profile links
– fixed mega menu selected style when one of the subcategories from the menu is selected
– added help text to all the page templates
– we renamed the bbpress template (please select it again if you are using the bbpress forum)
– the loding animation now gets the theme color insted of black as default
Hi,
when you filter categories the link added to the block headline should point you to the first category you add in the filer and the headline if you don’t add a custom one should look like this: http://screencast.com/t/wNvICEw9
About duplicate loading of the articles, i’m not sure what could case this, i have also tested this and didn’t happened for me using the latest theme version 4.3
Please make sure you disable all plugins, the load more feature uses javascript to get the articles and could be in conflict with other plugins.
Also make sure you disable and empty cache of any CDN or cache plugins.
If nothing works please make a backup of your current theme installation then update the theme to the latest version.
Please let me know what you find.
Hope this helps!
Thanks
Hi,
Use this css:
@media (max-width: 767px){
.header-logo-wrap, .header-logo-wrap img {
display: inline !important ;
}
.td-header-bg .header-logo-wrap {
width: 295px !important;
}
.entry-crumbs {
display: block;
}
}
Result on Safari: http://screencast.com/t/dUJHsC9R
Result on Opera: http://screencast.com/t/ayHXIay1
Also check the js errors from console.
Thanks
I have read many topics in the forum on thumbnails , seen what sizes the blocks are supposed to have and still have trouble in getting consistent images across the site. Thumbnails are either different in size from one another or cut the original image – so I get faces of people with head cut off or similar. Would appreciate if anyone could provide an advice how to deal with that. Adore the clean look of the demo and feel quite silly for reading so much and not being able to simulate it myself.
My site is http://www.theskykid.com. With our editor we decided to have just one featured article from each category and I would be so happy if I get them to display consistently .
Thank you in advance ,
Georgi
Hi,
I have a block in my website named “OUTROS ARTIGOS”. I use the multiple categories filter to set the articles that are shown in the block. However the block have a unpredictable behavior.
When we click in the title of the block, it opens a specific category that isn’t even related with the articles showed. Also, when I click in load more, it shows some duplicated articles. You can check it in the print (I’ve clicked in show more to see the duplicated articles) or in the home page of my website.

Thank you Steven !