- 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,
Maybe this will help:
https://developer.wordpress.org/reference/functions/get_the_id/
https://developer.wordpress.org/reference/functions/get_post/
Unfortunately modules were not created to get the post id. There is no post sorting on modules but rather on blocks: http://screencast.com/t/xC5bTVqw5d
If you require specific post id’s on your module this will have to be made custom and we have no recommendations in this regard. We suggest hiring a freelancer to help out as we cannot provide any custom work at the moment. Sorry.
Thanks.
Hello,
I have checked your site and the images seem to display properly. Some thumbs need to be regenerated (https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/) but I could not find any images that are not displaying. Please provide more details if you still have this problem.
Disappearing images are mostly caused by plugin conflicts so please disable all your plugins except visual composer, clear cache and reset cdn files.
Thank you!
Hi,
The parameters that can be retrieved are displayed in the api documentation here: https://forum.tagdiv.com/td_api_blockupdate/ if you cannot do it yourself, we suggest hiring a freelancer as the theme api is not covered by support as it represents customization.
Thank you!
Most of the td_block are used
sort=”random_posts”
Is there any other method can I use to sort the article this (Excluded : random_posts)
Thanop
Hi, how can I build my own custom category page in newspaper 7.i have default blocks in theme panel but looking for some changes in it how can I do it.
on the homepage there is a block called Recent Posts but I didnt see anywhere we can do a translation for it. could you tell me where I should go for such change?
Hi Andrei,
How do I hide the block if I don’t know that block to show on articles from one particular category?
Right now I have 1 block shortcode in the loop-single.php that show 1 particular category, so when I view a post from that particular category it will duplicate the post.
In designing a page using Visual Composer, I am trying to find a element, widget or way that I can display a section block on the page that lists only certain Pages (that I would choose), which the user can then select to go to that page. The list of pages in this element will be different per the Page I’m designing. The ideal would be an element/widget where I could type in a list of pages I want to display their links (and preferably their featured image).
Hi,
Can you integrate anti-adblocker feature in the theme itself? like if the user has adblocker enabled, then a custom message in place of ad space is shown to the visitors.
Regards
Thanks for the fast answer. Block was created successfully already. The problem is retrieving values from parameters. How can I retrieve value from the block parameter in this theme?
Hi Catalin,
Using Block 1 and adjusting the css code accordingly, I solved every problem.
Thanks
Hi,
If you want to create a new grid we recommend the theme api system: https://forum.tagdiv.com/td_api_blockadd/
Unfortunately this represents custom work and is not covered by the theme support. If you do not have the proper coding skills to do it, we suggest hiring a freelancer from sites like studio.envato.com.
Thank you!
Hi,
The mobile ad code is located in header.php from the mobile file. Please edit this code and add the condition to it like so:
http://screencast.com/t/WPjEQjbIzZCC
use this code for mobile:
<?php
// ad under header
if(!is_404()){
echo td_global_blocks::get_instance('td_block_ad_box_mob')->render(array('spot_id' => 'header_mob'));
}
?>
Thank you!
Hello!
My target is to create a new grid (similar with “Big Grid 3”) but instead two Posts I need have possibility to add images with link or insert short code of widget. So, I’ve created a custom grid and added to it new parameters, that are similar as in Block_text_with_title. How can I retrieve new parameters in grid? Thanks.
Hello webowner001,
Unfortunately, our theme does not have such an option for this. All the settings for this type of Block you will see in the Block Settings when you edit this. If you want to display and add more levels/options in this regard and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
Hello webowner001,
I have checked your website and I saw that you are using the footer template style 2 which come default with the theme. Please notice that your actual footer template contains 2 blocks which are added automatically by the theme in this footer template. So, if you want to have your own custom footer template, you will have to use the footer template style 5 because this support to do what type of changes you want, using the Footer 1,2,3 from your Widgets section in WordPress. So, if you want to hide the Popular Category from your website, you can use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-footer-template-2 .td_block_popular_categories{
display:none;
}
Also, for more information about footer template, please consult here -> https://forum.tagdiv.com/footer-templates/
Thanks for your understanding!
Hi,
If you want images to show on the homepage, the posts need to have a featured image set here: http://screencast.com/t/2XpvfUkQyx If you do not have any featured images the theme modules and blocks will have nothing to show, only a placeholder.
Thank you!
Hello,
We only recommend using the 3 highlighted row layouts with our theme as the blocks were designed to only work with those columns: https://forum.tagdiv.com/how-to-use-visual-composer/
As for the images, you will have to regenerate your thumbnails for them to fit properly inside the blocks. Please use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you!
Hello jordankranda,
I have checked your source page from your website and I saw that you are using a lot of untested plugins which might interfere with the mobile theme plugin and cause a lot of unknown issues. Please try to disable all the active plugins, leave just Visual Composer to active and install only the plugins that come bundled with our theme and rule out the conflicting plugins. Please notice that the mobile theme has been designed to be very basic, fast and easy to use. Also, as you can see, the mobile theme do not render to Visual Composer Blocks but only 2 modules which come with it by default. For more information about our mobile theme, please check here -> https://forum.tagdiv.com/the-mobile-theme/
If you want to customize your footer section, please notice that you only add some text within it, from your Theme panel, footer area because as I said you above, the mobile theme do not recognize the Visual Composer shortcode. As an example, on mobile theme, you footer should be in that way -> http://screencast.com/t/p1XUhZ42FZB
Thanks for your understanding!
Hello,
Thanks for the reply. To confirm, I add
if(!is_404()){
echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'header'));
}
?>
anywhere into the 404.php to prevent ads appearing in the 404 page for the mobile plugin theme?
Thanks.
Hello rosihan16,
I suppose that you want to filter your posts by a certain category, right? If you want to do that, you will have to get the category ID to this category and place it in the Multiple Categories fields, like this -> http://screencast.com/t/l3LF7YvBkV For more information about block settings, please consult here -> https://forum.tagdiv.com/block-settings-tutorial/
Hope this helps!
If is not what you mean, please provide more details!
Thanks.
Hello sunnysunnet,
1)Please keep in mind that you are using the Mobile theme plugin, you will not bring these features on mobile mode because the theme has not been designed to render the Visual Composer elements in mobile theme, but only in Mobile Responsiveness mode. Please notice that the mobile theme has been built to be very fast and easy to be used. If you want to develop this plugin, through adding some additional settings and features, please notice that you will require custom work and we cannot provide these services at the moment, sorry! If you are not aware of these, please consider hiring a freelancer/developer to help you in this regard.
2)Please notice that the mobile theme cannot be changed without custom work. For more information about this feature, please consult our documentation here -> https://forum.tagdiv.com/the-mobile-theme/
3)I suppose that you want to change the background color for your Social Counter header, right? Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.block-title > span {
background-color: black;
.block-title {
border-bottom: 2px solid #222222;
The result -> http://screencast.com/t/B7Vpy6dCS
If you want to have the exact layout with our demo for Newspaper, please notice that you can add the template when you create your homepage, like this -> http://screencast.com/t/4L4B5uHVDa -> http://screencast.com/t/HnezjEOty
Thanks for your understanding!
Hello giampablo,
Please notice that every block can be used in the sidebar because these were adjusted to can be used for sidebars. Please try to consult our demo tutorial here -> http://demo.tagdiv.com/newspaper/block-1/ because there you will see how each block will be fit if this is used in sidebar areas. Please keep in mind that each block uses some thumbnails will cut the image to the proper dimension. The list with these details you can see in theme panel, like this -> http://screencast.com/t/FY4y5eVVd
For more information about Blocks, please check here -> https://forum.tagdiv.com/newsmag-category-tag-on-modulesblocks/ -> https://forum.tagdiv.com/newsmag-theme-thumbs/ -> https://forum.tagdiv.com/thumbnails-vs-featured-image-size/
Thanks for your understanding!
Hello,
Unfortunately you cannot have access to the visual composer support unless you buy the plugin. We will try to help as much as we can with your questions related to VC and if there is something we cannot answer we will request a support ticked on wp bakery, but most questions users have are theme related as visual composer uses theme blocks and modules mostly as we have implemented it that way.
Please provide more details to what menu pagination you are referring to.
Thank you!
Hello,
Please try to add the !important tag to bring the high importance to this element.
Thye code will be like this ->
@media (max-width:767px) {.td_block_big_grid_3 {
display:none!important;
}
}
Hope this helps!
Thanks for your message!