- 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
Hi i want insert a custom ads fox ex. custom ads 4 before title
I try to insert
<?php echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_4"]‘);?>
In single php or single 1.php
I can not figure out what the exact spot to place it before the title.
How i can insert before title and before related article (custom ad 5)
In Block 4, while Unique article is enabled on the Home page, and pagination is set to Lord more, result of clicking on “Load more” repeats articles on the same page.
See settings https://gyazo.com/227e9059c9790d7eabf7d07341e2a79c and result https://gyazo.com/d8ee5ee2f8aa1f9b9f7a58875f996a09
Hello Alex.
The category filter you are modifying is not the ‘menu’ but the posts that appear on the block itself. The menu is actually the ajax filter (the other tab) http://screencast.com/t/eAnaTLCDxp9 You can select all the categories to display here (or tabs or authors) or you can set them by hand using the categorty ID (or tag id or author id)
http://screencast.com/t/RCbXqE4WZkH You can get the ID like so: http://screencast.com/t/px8coJut
Hope this helps.
Thanks.
Hi
I am not sure I understand your issue but I assume that you ant to exclude posts published by a specific author from a block. If this is the case then you can do it in Visual Composer like here: http://screencast.com/t/PRrCekfWA For more details about block settings check this tutorial: https://forum.tagdiv.com/newsmag-block-settings-tutorial/
If this is not what you mean please provide more details about what you’re trying to do so I can duplicate the situation on my side and get back to you with a more accurate answer.
Thanks!
Hi
1. The code which render the ad-spots it’s located in td_block_ad_box.php: http://screencast.com/t/PqHOTJvI
2. I assume that that you want to display different ad-spots according with the post type displayed. To achieve that you will need a condition which check what post type it’s displayed and depending by result display a specific ad. Here is an example for header ad: http://screencast.com/t/4e9sKBons This is just a basic example about how can you check what post type it’s displayed and manipulate the ads according with the result.
You can create new ad-spots following the solution offered in this topic: https://forum.tagdiv.com/topic/how-to-add-more-custom-ad-spots/ and use them in your post types.
Using do_shortcode function and some proper conditions you can display ads according by the custom post type displayed. For more details about the function’s usage check these links: https://forum.tagdiv.com/topic/different-ad-tags-for-the-category-templates-vs-the-homepage/
https://forum.tagdiv.com/topic/sub-page-no-standard-top/ – https://forum.tagdiv.com/topic/header-ad-on-top-of-menu/
I hope this help but if you need additional informations please provide more specific details about what you’re trying to do and maybe I can help.
Thanks!
Hello karakey,
If you want to change the color and the title of this section you can do this only when you edit your block, like this -> http://screencast.com/t/Dpgv4EIez -> http://screencast.com/t/G132dzY8ZL
The options from Translation area -> http://screencast.com/t/0bhhKA7izb7 affect only these predefined titles from category page -> http://screencast.com/t/5pYOo0d5Q
For more information about block settings, please consult our documentation here -> https://forum.tagdiv.com/block-settings-tutorial/
Hope this helps!
Thank you for the message!
Hello Abi,
Please make sure you select the right category from the block settings: http://screencast.com/t/T8WWisyjU and make sure you have posts set to that specific category. If you simply create a new category that has no posts in it, then the slide element will have nothing to display.
Thank you!
Hi,
Is there an easy way to turn off the black gradient that appears on Featured Images and on the Big Grid 2 block?
And anywhere else on the site it appears?
Here is my site:
http://www.expeditionaustralia.com.au/
Thanks
Steve
Hello,
I have set the title background colour Alpha to 1% to remove the BG colour of the block title text.
I now want to float the title left so it is aligned with the block.
I am using this CSS:
.td_block_1 .block-title a {
padding-left: 0;
font-size: 0.85em;
}
But for some reason, it is rejecting it.
It was working before but not anymore. Is there a specific place I have to put this?
Thanks.
Hi, I am just starting to learn about Newspaper6 and I have a question on Categories.
Looking at the demo, there is a section: Dont Miss – this has a menu of many category names
However, looking at the section:LIFESTYLE NEWS there is a menu with fewer category names on them.
What I cant figures out is how to change the items that appear on the menu of each section. If I go to edit the block, I can select filter and I see a drop down box to select a single category. This is set to -All Categories which seems to be the default. If I enter the categories required into the slug box, this makes no difference. Is this because the drop down above is set to -All Categories, in which case what setting should I use.
Would welcome any help on understanding this
Many thanks
Alex
whangout(dot)com is my site
what is perfect image size i need to use so it will completely set in all block.. Because now i can see in some block half image show and rest space is empty and in few cropped image is showing..
Please tell me how can i fix this
This is very strange – on westbridgfordwire.com my Big Grid 1 has suddenly started to fail to resolve to the post when clicking any posts in the grid. The articles are accessible in the blocks below – but not from the gird.
I’ve tried other grids by deleting the grid and then adding through VC but nothing works –
I have however made the following changes to the site this week
Changed from Yoast 2.3.5 to SEO Framework (but three days ago with no issues since)
Ran Force Regen thumbnails (because trying to specify image dimensions and used Chris S speed tips magic code)
That’s all norther changes – any ideas? It seems the URL when clicking is my site’s home – westbridgfordwire.com not westbridgfordwire.com/??? – I have saved permalink again too in case this was it.
Thank you
Pat
I don’t talk you about categories in big grid.
I talk about category label. Not only in Big Grid, all the page.
The category label of every block show only one category from one item, but all the item have multiple categories.
Why choose this category.. why show one category and dont show the others? which is the criterium?
Hello,
The criteria for displaying one category or the other is the one you specify. If you have your grid filtered to ‘latest posts’, it will display the latest posts of all categories http://screencast.com/t/v4anZcsS so all categories will appear in the grid.
If you only specify one category in your grid, then only one category will show up: http://screencast.com/t/d8vsGaSd
Youcan filter a specific sub-categry or you can have multiple categories for it.
Please read the documentation here: https://forum.tagdiv.com/block-settings-tutorial/
I hope this helps.
Thank you!
Hello srampia,
1)If you want to adjust that white spaces, you have to use a bit of CSS code. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td-main-content-wrap {
padding-bottom: 0px;
}
.td-footer-wrapper {
padding-top: 30px;
}
.td-sub-footer-copy{
padding-left:0!important;
}
The result -> http://screencast.com/t/7nh7chMp
2)If you want to have your email address and telephone number on different lines, you have to add
tag after each line, like this -> http://screencast.com/t/QlsB7A0J and the result -> http://screencast.com/t/8fL6OG468
3)I have checked your website and I saw that you have some custom modification and also, for sub footer section you have width fix and that thing break the responsiveness. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-sub-footer-container .td-pb-row {
width: 100%;
}
The result -> http://screencast.com/t/NpPo9zb79jj
4)If you want to change the color of the footer text you have to use a bit of CSS code. Try the code below and add it in Theme panel.
The code is ->
.td_block_text_with_title {
color:red;
}
The result -> http://screencast.com/t/O5VXKwv2xA
Hope this helps!
Thank you for the message!
hi,
Custom post type posts not show in category page but i see post in taxonomy page, filter page and menu.
i dont find category page loop chance i try this replace this code did not work well enough
// Old Code
<?php locate_template(‘loop.php’, true);?>
// New Code
<?php
// WP_Query arguments
$args = array (
‘post_type’ => array( ‘post’, ‘galeri’),
‘post_status’ => array( ‘publish’),
‘cat’ => $cur_cat_id,
‘posts_per_page’ => ’10’,
);
// The Query
$query = new WP_Query( $args );
// The Loop
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();
echo ‘<div class=”yenikategori”>
<div class=”td-block-span6″>
<div class=”td_module_1 td_module_wrap td-animation-stack”>
<div class=”td-module-image”>
<div class=”td-module-thumb”>’,
‘‘,
get_the_post_thumbnail( $post_id, array( 300, 160) ),
‘
</div>’;
‘cat_slug.'” class=”td-post-category”>’.$category[0]->cat_name.’</div>’;
echo ‘ <h3 class=”entry-title td-module-title”>’;
echo ‘ ‘.get_the_title( $id ).’
</h3>’;
echo ‘<div class=”td-module-meta-info”>
<div class=”td-post-date”>’;
echo ‘<time class=”entry-date updated td-module-date” >’.get_the_date().'</time>’;
echo ‘</div>
</div>
</div>
</div>
</div>
</div>’;
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();
echo ‘</div>’;
?>
I resend the email again!
I hope, your emailserver is not blocking mails from the nTLDs (like .works).
Cheers,
Dom from rocket.works
I need again your Support. This time regarding Footer. I am using Style 9.
http://www.screencast.com/t/xmRmPYMT3
1. There is a lot of Blank space between Footer Heading and Block Heading. How can I reduce this space from both sides.
2. I have used as Widget in Footer – TagDiv Text With Title. I need to give there Telphone Number in one line and as next line Email. Now everything is together.
3. Hier the Allignment of the Sub Footer is not Correct. http://www.screencast.com/t/xmRmPYMT3
Mobile View also is not correct http://www.screencast.com/t/cfUx1p4D, http://www.screencast.com/t/4pqrESuqs
4. How can I change the Text Color of Footer Text. I have changed in Theme Panel. But hier it is still Black.
Hello,
Our blocks will display an article everywhere one of it’s categories is specified. You can specify only one category for the big grid by the category id: http://screencast.com/t/mHy8VemP – http://screencast.com/t/KHJjZ7vE
I hope this helps.
Thank you!
I wanna add block 1. But doesn’t work correctly. Half Part not appears.

Please Help
Hi
Unfortunately the block title field does not accept html/css code at the moment. This code is required to apply a different font for a specific word from block’s title. You will need a code like this one for example to insert two different styles inside same title:
<h2 style="display: inline-block">Title </h2> <h2 style="font-weight: 900;display: inline;"> two fonts </h2> <h2 style="display: inline"> on the same row </h2>
Here you can see how the code works in for block’s title and how works when it’s used as normal html: http://screencast.com/t/tna6q4Ah
To make the required filed support html/css code are required many custoizations and unfortunately I can’t provide a solution now. If you need this and you’re not aware of the steps you need to take in this regard my advice is to hire a developer to do this for you as we cannot offer custom services at the moment.
Thanks!
Hi,
I installed the theme yesterday and have spent the past 48 hours optimizing it but I’m having a problem with the website loading. The loading speed is quite slow and the site shows up in a raw and basic way before it loads fully. (You may be able to tell that I’m not a pro at this!)
I downloaded the plugin ‘Above the fold’ which according to them:
“This plugin enables to pass the “Eliminate render-blocking JavaScript and CSS in above-the-fold content”-rule from Google PageSpeed Insights.” This plugin does speed up the website but leaves this preload problem….
Overall the theme is nearly perfect with great customization but I’m having difficulty finding plugins to run with this theme as almost all the plugins I was previously using don’t work, so are there specific plugins that come recommended for this theme, especially in terms of speeding up the site? E.G. I can’t find a plugin to help with compression.
Thanks a million for any help anyone might have!
Sorry… Site is failmuch.com
I’ve added block 6 on the home. But i just see one column and not 2. How can i get the 2 columns? See the preview https://drive.google.com/file/d/0B1C37slLb3o_WkRxVlNZQzVpTDA/view?usp=sharing
Hi
You can customize block 7 to achieve a similar layout with block 16: http://screencast.com/t/78WoSHFWPdM9 To obtain this layout you need to edit td_module_5.php file like here: http://screencast.com/t/VttkbKNd
This is just a basic example. Our blocks can be customized in many different ways but this requires custom modifications in theme’s files. Also you can register a new block with your specific layout using theme API: https://forum.tagdiv.com/td_api_blockadd/ – https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Note that any customization require good coding skills in order to be accomplished so if you still need guidance on this or 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 as we can’t offer customization services at the moment.
Thanks!
Hello,
You can filter the categories you want to display in the big grid by accessing the block settings: https://forum.tagdiv.com/block-settings-tutorial/
Thank you!