- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewsmagtagDiv Composer Tutorial
- NewsmagWeather Widget
- NewsmagExchange widget
- NewsmagInstagram widget
- NewsmagHow to use the Visual Composer plugin
- NewsmagIntroduction
- NewsmagFooter templates
- NewsmagCustom ad spots
- NewsmagLoading image effects
- NewsmagSmart sidebar
- NewsmagFeatured images
- NewsmagGeneral settings
- Newsmag7 days post sorting
- NewsmagTheme thumbs
- NewsmagExcerpts introduction
- NewsmagTheme colors introduction
- NewsmagtagDiv slider gallery
- NewsmagVideo playlist
Hello MattiaVe,
If you want to remove the bubble comments from blocks/modules, notice there is an option for it in Theme panel, like this -> https://www.screencast.com/t/bOGEb1rU and for modules/blocks, you can turn it off from here -> https://www.screencast.com/t/M4fa8Z05XJzp
Thanks for the message!
Hello 22p,
If you want to hide the block quotes you should use a bit of CSS code to hide it. Try the code below and place it in Theme panel -> Custom CSS area.
The code is ->
blockquote {
display:none;
}
Thanks for the message!
Nothing…?
I think it is very easy for your capacities..
It should certainly write a string like:
if xxx then xxx (hide) xxx
in customized css of blocks,
but I can’t do by my self…
please…
Hello,
I have simple question, how to add “more stories” text between left and right arrows in any of your blocks where I want to load more articles. that text doesn’t need any action, I just want to make that more visible đ
Thanks Daan
Sorry are there a snippet to hide?
Hola! Would you like to receive automatic updates and unlock premium support? Please activate your copy of Visual Composer.
Thanks. Does the do_shortcode() method match me, just which file do I edit? This one in the link to the screen is one entry I guess? Need to check first in some loop of the number which in the order in the list is the entry and if 4 is followed by it do_shortcode ();
like this:
<?php
$postnum = 0;
while(have_posts()) : the_post();
if($postnum == 3) {
echo do_shortcode (â[td_block_ad_box spot_id=âcustom_ad_1âł]â);
$postnum = 0;
}
//view another category entry
$postnum++;
endwhile;
?>
PS. Sorry for my bad english.
Hello dileep,
Please keep in mind that you want to change the structure of the date for modules, you will have to edit the corresponding files according to your block used by you. For example, if you are using the Block 3 you will have to edit the modules which make up this block, like module 1, like this -> http://screencast.com/t/whTutD5OFRyy
You will have to use the following snippet of code, like this ->
<?php echo human_time_diff( get_the_time(‘U’), current_time(‘timestamp’) ) . ‘ ago’; ?>
in the core file, like this -> http://screencast.com/t/ZZYWvi253eL1 Clear all your cache and check the results.
Hope this helps and let us know how it goes!
Thanks for the message!
Hello gasparlanca,
You should make these changes only Block Settings for each block or grid to which you want to make this change. Read the above documentation and follow the steps from there if you want to make these exclusions.
Thanks for the message!
Hello ytre77,
Unfortunately, our theme does not have any such an option that allows you to add ads for category pages. If you want to add some ads there, you should edit the category pages and use do_shortcode method, like this ->
<?php echo do_shortcode (â[td_block_ad_box spot_id=âcustom_ad_1âł]â); ?> -> https://www.screencast.com/t/gBZ5dwc4OJ
Thanks for your understanding!
I’ve installed the Newspaper theme with the black demo on a test domain, I’ve replicated the settings on my live domain, but no matter what, the content block stays white. You can see this here http://www.cavemantraining.com
The facebook social counter in the side bar was showing numbers, but then it went to 0, I noticed this is the same on the test domain which did not have my app id etc. so assuming it’s something bigger going on?
We need to display the original Adsense code in our pages, untouched in any way.
That is:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- sm.ro|top-right - responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXXXXXX"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
instead of
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><div class="td-g-rec td-g-rec-id-header ">
<script type="text/javascript">
var td_screen_width = window.innerWidth;
if ( td_screen_width >= 1140 ) {
/* large monitors */
document.write('<span class="td-adspot-title">Sponsored links</span><ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-XXXXXXXXXXXXXX" data-ad-slot="XXXXXXXXXXXXXX"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
}
</script>
</div>
The easiest way is to alter td_block_ad_box.php:
case 'google':
//render the magic google ads :)
// $buffy .= $this->render_google_ads($ad_array[$spot_id], $atts);
$buffy .= $this->render_ads($ad_array[$spot_id], $atts);
break;
Can this be done from Theme Panel…?
Hi. How to add Advertising Block after 4 posts in category page in NewsMag theme? Only create Page with Visual Composer?
That worked.
How do I change the header block on the home page recent posts? It’s the main body of the home page
Hi,
The blocks are created to display posts. When you click on a featured image for example in the Big grid, you will be taken to the post page. There is no option to open a lightbox gallery from within the post content, when clicking on the Big grid. You will have to think of a different way to display a gallery on the homepage using the available page building elements.
Thanks
Hello wsikes,
I guess that you want to change the block header for your widgets area, right? So, if you want to do this, you should change the Widgets area and select from here -> https://www.screencast.com/t/HQB9JDwmW what kind of Block Header you like.
Thanks for the message!
I have added the AdBox widget to my sidebar and selected the sidebar ad, however the text states that the Ad Title is optional and that if I want something to be placed here I should add it.
“Optional – a title for the Ad, like – Advertisement – if you leave it blank the block will not have a title”
This does not seem to be working, so is there a ‘Global’ override of this text somewhere or some code that I can edit to remove this?
Also, if I do put some information in the Adbox Widget nothing appears or overrides the – Advertisement – text that is there?
Hi,
The category tag can be enabled in Theme panel->Block settings
– https://www.screencast.com/t/5iYplTvgwOb
Then it will display on your Big Grid – https://www.screencast.com/t/nt5FEPH0
For the background ad it all depends on the image you are using and how you have designed it. You could set a size for the background image and it would look like this – https://www.screencast.com/t/M4ECd8Sa if you want. Or edit the background image and modify the layout to make the content closer to the page.
Thanks
Hi,
Maybe I am misunderstanding this and you are asking how to filter the posts displayed on a block, by a specific category. All the blocks have this filtering option, or even by multiple categories.
– https://www.screencast.com/t/aEuwsmkZmtYw
Then the block will pick posts only from the filtered category or categories.
More information about the block settings here
– https://forum.tagdiv.com/block-settings-guide/
Thanks
Hello guys,
I tried all these codes to do the blocks begind text transparent and it doesnt work đ
https://www.dropbox.com/s/6fcunpi58abrclf/1.jpg?dl=0
Please see the screenshot of my site and where I want to add transparency:
https://www.dropbox.com/s/hlq3sum1goz0scw/2.jpg?dl=0
Thank you very much!
Hi,
In that case you could do it like this, using some css. First enter a code that will hide all the post author names on all the blocks in the homepage, the enable it on just that particular block
– https://www.screencast.com/t/2aJLRizELCfh
In your case should be like this, the code will apply only for the homepage, if you want it to apply everywhere just remove the home class from the code. You must enter it in Theme panel->Custom Css section.
.home .td-post-author-name {
display: none;
}
.home .td_block_21 .td-post-author-name {
display: inline-block;
}
Thanks
Hello,
Unfortunately the theme can only count the default comments of WordPress. You replaced the default comments with the disqus comments plugin. The theme cannot count the comments from a plugin. Sorry. It is best in this case to remove the comment count from post, pages or author templates.
For posts and pages it can be removed from the theme panel-> post settings and theme panel-> block settings-> meta info on modules and blocks.
For the author templates you can use this custom css:
.td-author-comments-count{
display:none;
}
There is no simple way of having the theme count the plugin comments.
Thank you!
Hi,
That most likely is a browser related problem, there are multiple reports online about AdBlock consuming much too many resources. It is best to test website loading speed without any addons or extensions for the browser. Please let me know if you have further questions.
Thanks
Hi,
Try inserting this code – https://www.screencast.com/t/qlgEQTvwfCz in the Advanced Css section in the theme panel
– https://www.screencast.com/t/iUZj3aZqWOy
Just move it from that section to the desktop section in advanced Css. This way the code will apply only on desktop where it looks properly. The mobile look will not be affected anymore by this padding.
Then enter the code provided below to remove the padding bottom on the category pages
– https://www.screencast.com/t/XmgWHSD7
You can enter the code normally, the padding appears only on mobile.
.category .td-category-grid .td_block_wrap {
padding-bottom: 0;
}
Thanks
Hello,
You could encounter a few errors with different elements. Some will not work properly ion posts as the theme blocks were only destined to be added on pages. Some work on posts as well, but not all of theme. Try it out and if an element does not work, simply remove it. There should not be any extra issues apart from that.
Thank you!
Hi,
The blocks will display the created posts, pages and custom post types only,so basically your own content.
– https://forum.tagdiv.com/block-settings-guide/
Maybe it could be possible but most certain it will require major modifications to the theme files. Or maybe you can try a plugin or widget with those kind of capabilities, to add this content to the page but not in the blocks. The theme is created with using your own content in mind, creating posts and using them on blocks and other elements. There are no options for Rss feeds.
Thanks