- 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
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Opt-In Builder – Emails
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperLockers
- NewspaperLeads
I have searched the forums and found this code to add the topbar to mobile but I get an error while adding the custom code in the control panel
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
The error I get it says “Use of !important”
I tried without but still nothing shows
any help please?
Thanks for reading
I would use the block 16 as module, it is possible ? And if so, how can I do?
Hello
i have weird problem with block 8 and block 1
whene set Limit post number to 5 and apply it. its give me 10 articles on homepage… but when i set it on 4 or 6 articles its work fine.
How to solve this.? because 5 it’s my old settings and i need it.
i tried to disabled all plugins but nothing changed..
thanks in advance
my site
http://www.autosport.me
Bogdan B. Please read the my first message.
infinite loading or infinite loading+load more does not run on the category pages but standart pagination is working
Normal paging already working. I know 🙂 I say “infinite loading or infinite loading + load more” does not work!
I understand that?
Thanks!
-
This reply was modified 10 years by
Mecburlar.
Hello crmnldan1729,
Unfortunately, there is no option for this. You will have to edit the theme core files in order to implement such a feature. You can use a do_shortcode function and use a visual composer single image element shortcode like so:
Add a text block element and place your image inside it. Use the settings for the block element to adjust size and other options: http://screencast.com/t/4tCoPuOs then enter classic mode and text mode to get the shortcode for the element: http://screencast.com/t/BEgP9Zgmn
Then you can use this code: $buffy .= do_shortcode('enter visual composer element here');
You have to place the code in the smartlist file corresponding to the smartlist you use:
http://screencast.com/t/ScY7NcJzeAhf .
This will make the text appear on the bottom of every slide.
The result you should see here: http://screencast.com/t/maQIoCfB4JQm
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
These 2 issues are actually settings you need to adjust.
The firs, regarding the ajax filter, it can be removed from block settings: http://screencast.com/t/1eaR19qnEYNJ
The second setting is the unique articles you can activate from here: http://screencast.com/t/dt4LtBBaQ
I hope this helps
Thank you!
Hi
You need to edit td_module_single_base.php and add a condition like here: http://screencast.com/t/6PmoFo2Lwvd
if (td_util::is_ad_spot_enabled('content_top') and is_single()) {
if (in_category('you-category-name')){
echo do_shortcode('[td_block_ad_box spot_id="post_style_1"]');
}
else {
$content = td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_top')) . $content;
}
}
You need to replace your-category-name with the name/slug of your category.
Thanks!
Hello Barun,
If you want to have excerpts without images in your block, you should use block_6 anda bit of Css to hide the thumb. Place the code below in Theme panel->Custom Css area, like this: http://screencast.com/t/WhxZekE6eQ8
.td_module_5 .td-module-thumb {
display:none;
}
.td_module_5 .td-post-category {
display: none;
}
The result you should see here: http://screencast.com/t/CdonpI6LRMBW
Hope this helps and let us know how it goes!
Thank you for the message!
Hi,
I want to remove all other categories shown the top of a block. Please check the image
http://www.screencast.com/users/AjithkumarCC/folders/Default/media/09024710-4a1a-4f08-a528-90fa6c9ee5c2
I don’t want the other categories to show up.
Also I don’t want duplicate links, (don’t want the article title to show up more than once in the home page).
How to go about these two issues?
Best Regards
You answered here: https://forum.tagdiv.com/topic/files-changed-between-6-6-1-and-6-6-2/
The complete list of changed files is:
td_page_generator.php
tagdiv_theme.js
tagdiv_theme.min.js
Updated these files but category pagination problem still there.
-
This reply was modified 10 years by
doran.
Thank you Catalin,
Is it possible include some body text in BLOCK 9?
Block 9 shows only headlines. Its look good if some body text(about 70 words) displayed with it.
hy , please help how to set robots.txt Newspaper theme for gud .js and .css on google bot? . I mean that google bot not block java script and css in default of a newspaper theme . on my web http://www.postku.com , I only use this command User-agent : *
Disallow: / wp – admin
I see a lot of files at the block robots.txt google search on the dashboard console as in this picture :
link Screen shoot >>> http://prntscr.com/9ev2gq
Hi
You can try to keep the number of the thumb types used on the site as low as possible then deactivate the thumbs which are not used from theme panel > block settings: http://screencast.com/t/f33XshooOx In order to keep the thumbs type number low you have to use the same blocks and modules for every page. For example you can chose 2-3 blocks and use them on every page. Like this you will need only the thumbs used for those blocks, not all available thumbs. Also for post displayed by the loop.php file, like those from category page, archive page or latest article part you can use a module already used by the blocks from your pages.
A practical example will look like this:
– if i build a page with page-builder + latest as page template, and also i use block 1 on that page, the number of thumbs types used will be equal with 1. For every post the theme will use module 1 which have a thumb by 300x160px: http://screencast.com/t/XJRUBrkcN – http://screencast.com/t/dQ4Io1kXg
This is just a basic example pointing the way in which you can reduce the thumbs types used on the page. You can combine 3-4 or more blocks which have at least one commune module. You can check which module it’s used for a specific block here: http://screencast.com/t/m2AWJrkM Make sure that you deactivate all unused thumbs from theme panel then regenerate your thumbnails using the Force Regenerate Thumbnails plugin. The plugin will delete all the images corresponding for the thumbs which are deactivated from theme panel.
This can be a tricky task but it’s the only way to reduce the size of uploads folder.
Hope this help.
Thanks!
Virtual tip jar > {________}
hmmm you seem to have an appetite….
😉
Thanks mate
Hello Sayeed,
Please make sure you have used the correct code and you have followed the steps below.
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
I suppose that you want to place the ad below the first socials buttons, like this: http://screencast.com/t/mNWbshBgqc
The result you should see here: http://screencast.com/t/ViiCbYKCl
Hope this helps and let us know how it goes!
Thank your for the message!
Hi
For posts displayed in blocks you have to edit the td_data_source.php file http://screencast.com/t/wjLPyZxqrI If you want to alter the category page for example or any other page which use the loop.php file, you need to add your customizations in functions.php file. Fore more details about the posts query check this link: https://codex.wordpress.org/Function_Reference/query_posts
Please consider that this is a complex task which require good coding skills and if 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 any type of custom work at the moment.
Thanks!
Didn’t realise everything would stop working, teach me to go in blind and just try and update by FTP!
Grid
1. How can I change the title font on Grid 2?
2. How can I remove the meta data? I tried the following code, but it removed the title too:
.td_block_big_grid_2 .td-big-grid-post-0 .td-meta-info-container {
display: none;
}
3. How can I stop the zooming effect? I tried the code below but it still happened.
.td-hover-1 .td-big-grid-post:hover .td-module-thumb .entry-thumb {
transform: none;
-webkit-transform: none;
-moz-transform: none;
}
4. The padding is uneven, how can I make it equal?
5. How can I make the photo stretch to fill the container?
Hopefully this photo explains the issues

6. How can I adjust the padding in the header menu.
7. Something odd has happened to my BBPress style, how can I fix this?

8. When I try and add too many blocks on a page, I get a 500 error.
It’s a lot, I know, but the update has caused a lot of problems!
Also, the sticky sidebar widget (last ad block at the bottom of sidebar) isn’t getting stuck. Why could it happen?
Hello,
Unfortunately there is no option for this. You will have to edit the theme core files in order to implement such an feature. You can use a do_shortcode function and use a visual composer single image element shortcode like so:
Add a single image element and place your image inside it. Use the settings for the block element to adjust size and other options: http://screencast.com/t/cII3MReWUA then enter classic mode and text mode to get the shortcode for the element: http://screencast.com/t/yxQaVF8PM
Then you can use this code: $buffy .= do_shortcode('enter visual composer element here');
You have to place the code in the smartlit file corresponding to the smartlist you use: http://screencast.com/t/saAZIJFjaAsn
This will make an image appear on the bottom of every slide. Just adding one image on the end of the smartlist is not so easy to do from the code as smartlists are based on a loop.
Thank you!
Hello Barun,
As I can see in your screenshot, you have used a block with featured image. Unfortunately, there is not a simple option to align your text to left if you do not have a featured image. You cannot change dynamically the structure of the block. Another alternative would be to use others blocks without feature image, for example, Block 9 -> http://screencast.com/t/NZOkX7nb5 or block 10 -> http://screencast.com/t/spl5jkzoYJH2
http://screencast.com/t/F9B5aEw2vtE – http://screencast.com/t/qlwTvoRmFh
Also, you can set that when you do not have a featured image to display a placeholder with a favorite image of yourself. If you want to change the placeholder, you need to replace another image here: http://screencast.com/t/FsRu4SpqD1F
For to know what kind of thumbs are used in your blocks and modules, please check this: http://screencast.com/t/rjXsO7Wo4iaG
Hope this helps and let us know how it goes!
Thank you for the message!
I’m sorry but i cannot figure this out. I have provided 3 solution already and none of them seem to be the ones you want. We can keep this up and provide wrong solutions or you can exemplify which hover for what block element you want changed because i’m out of ideas.
Thank you!
Hi
To display a different header ads on pages you need to edit the ads.php file and add a set of conditions like here: http://screencast.com/t/E2qMgK02
if (is_page(page id)){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
}elseif (is_page(page id)){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');
}elseif (is_page(page id){
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_3"]');
}
To get the page id follow this link: http://screencast.com/t/hgeXHEyRRr0 Note that for the front page the function is: is_front_page() https://codex.wordpress.org/Function_Reference/is_front_page
Hope this help.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Bogdan, wasnt able to find a is_post_type(sponsored) function so if anyone else has this issue you can modify this conditional https://forum.tagdiv.com/topic/remove-ads-in-certain-postpage/ to look for a tag “sponsored” which worked like a charm
wp-content/themes/Newspaper/includes/shortcodes/td_block_ad_box.php
on line 27, I added added
if (has_tag(sponsored)) {
return;
}
Thanks again for the help!
Hello Pramodc,
You have 2 possibilities to achieve this thing. You can use block 9, 10 because this kind of blocks do not have thumbnails in our structures or you can use any block you want and you should hide their thumbnails with a bit of css. For the second solution, I need to know what modules you use for implement this with Css.
Hope this helps and let us know how it goes!
Thank you for the message!
Having the problem not to be able to access the pure html blocks withwin the visual composer.
When I am trying to edit the pure Html block, the block appear to be empty even it is not.
Any ideas how to fix?
Thanks in advance!
Regards