- 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,
when using a 2/3 column with block 11 and below block 14, page displays incorrectly.
but in reverse order it displays ok:
http://www.screencast.com/t/wc9xf7h5eFAL
http://www.screencast.com/t/hTQXHcd92
http://www.screencast.com/t/hwLi6jN1
http://www.screencast.com/t/QnYiqAF0MX9
Any ideas?
Helo,
The gallery works flawless without the inline ad. And the author forwards me to you guys.
Sorry, no idea. Try contacting their support and ask what might be causing this, as slider definitely doesn’t trigger any redirects or actions outside of its viewport.
We parse a js script retriving ads from our revive server, not a problem anywhere except inline ads when a gallery is shown.
Bernt
Hi,
Please follow this topic: https://forum.tagdiv.com/topic/how-to-include-pages-in-block-11-instead-of-posts/#post-39347
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Unfortunately theme doesn’t have an option for any blocks. Sorry for inconvenience!
Thanks for the message!
sorry … normally yes, this past year (since Jan 2014) I have been 100% focused on saving my company, our news network, and various back-end upgrades for client stuff, which is just brain numbing. I sometimes have snippets of time here as I have one monitor doing something I can’t leave, and have to watch for pop-up to continue or confirm, and on my other display I can bug pals on FB, or check deals on Amazon, or watch a video, or pop in here to see whassup with the theme …
so – not like I just hang out here all day … I have little snippets of “hurry up and wait” while I can’t really focus on something.
And in fact, one thing done — NOW I need to go deal with Yandex validation, and setting up a randomized block of text for our home page to randomize the links to the blog page with helpful customer how-to articles … oboy!!! 🙂
(thanks for asking …)
Update:
block does not work with WP native custom fields either
code – eg:
<?php $gueltig = get_post_meta( get_the_ID(), 'gueltig', true);
echo $gueltig; ?>
works perfectly well for single post templates & module templates but is not passed onto block.
Hi. Please tell me how to add to block individual pages? Not the posts. How can I do this?
Hi Chris,
Thanks for that, works like a charm.
I had read that in the little box where you enter the info but I was trying to add the category name not the ID number.
I’ve figured out the second part of the question too as it’s adding the posts to the block from their creation date not the date published 🙂
Thanks again for your help.
Hi,
I’m trying to run a numbered series of weekly tutorial style articles in the sidebar, just below the big grid.
I’m using block 15 but I don’t want these articles to show in the big grid when they are posted as this will duplicate the content.
The idea is that as a new article is posted each week the depth of the sidebar will grow to accommodate the new articles as they are posted, hopefully creating a sequential panel of tutorial type articles that can be followed in order.
I have tried to isolate the articles that show in the big grid to the items in the main nav and have the articles that are intended for the sidebar in a separate category that isn’t linked to the selections made in the big grid block but they still show in the big grid when I post them.
I have set the block 15 settings to only show the articles from my chosen category and that works great but some of the articles seem to be getting jumbled up so it will go 1,2,3,4,7,8,5,9,10 instead of in numerical (post date) order
Is there another way I can stop these articles from appearing in the big grid?
Is there a way of making sure the articles stay in number order?
These articles wont be in the main navigation as they will be shown continuously in the side bar on the home page and will be available through their own category page which won’t appear in the main nav, it will be clickable like an ad that will take you to the relevant articles page
Sorry for the convoluted explanation 🙂
Hi Lucian,
here is the modified code of td_module_6.php with 2 custom fields and 2 CSS selectors
<?php
class td_module_6 extends td_module {
function __construct($post) {
//run the parrent constructor
parent::__construct($post);
}
function render() {
ob_start();
?>
<div class="<?php echo $this->get_module_classes();?>" <?php echo $this->get_item_scope();?>>
<?php echo $this->get_image('td_100x75');?>
<div class="item-details">
<span id="datfei"><?php the_field('datum_feiertag'); ?></span><br/><span id="gueltigkeit"><?php the_field('gueltigkeit'); ?></span>
<?php echo $this->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle'];?></p>
<?php } ?>
<div class="meta-info">
<?php if (td_util::get_option('tds_category_module_6') == 'yes') { echo $this->get_category(); }?>
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
<?php //echo $this->get_comments();?>
</div>
</div>
<?php echo $this->get_item_scope_meta();?>
</div>
<?php return ob_get_clean();
}
}
here are 2 links:
this is a category page using the module 6 (working fine):
this is a page using the block 7 in the sidebar (it would also not work if I add a VC block 7 in the content – already tried that) – you see that the CSS is there (black background) but no content…
regards
Christoph
Hi,
Not sure how you added it. Having it shown on module 6 then it should also appear on block 7. Please provide more details about how you’dd add it and also provide your site’s url with an example.
Thanks
Works. Thank you. You can hide the block “News Ticker” when it has no articles to show?
Hi,
another question:
I need to use custom fields for my posts. I am therefore using the ACF plugin and using the code to display the custom field ( the_field (“name_of_the_field”) ) works perfectly well for the modules. However I would like to show the custom fields on the blocks as well. According to the documentation eg block layout 7 is made from module layout 6. The field is shown on module 6 but not on block 7 => so I assume I need to enter the code for displaying the custom field somewhere else. Can you help pls. and as I am not familiar with php pls. guide me through.
Many thanks!
Christoph
Hi,
I’m not sure what you mean. The unique articles feature can be disabled from page backend: http://screencast.com/t/LxJ0LvHU3Ja and this it will apply for all blocks added on that page.
Thanks!
Hi,
Yes, it will be added more blocks on Newspaper 5.
Thanks for the message!
Hi,
1. Please try this custom css for background color: http://screencast.com/t/3Nd1pdmNKB
.td-page-wrap{
background-color: rgba(42, 172, 203, 0.38) !important;
}
2. I think that you refer to this shadow: http://screencast.com/t/w3vHbM9pk so please try this css code in Theme Panel > Custom Css: http://screencast.com/t/K7V92H9tCC0
.td-full-layout .td-footer-wrap{
background: none !important;
}
3. Please remove this code from td_block.php: http://screencast.com/t/MCSkzGbWD
And also add this css to remove underline when you hover: http://screencast.com/t/ztNDEiKt
.td_block_wrap .block-title a:hover{
text-decoration: none !important;
cursor: default;
}
Also for background I think that you want something like this: https://forum.tagdiv.com/topic/background-color-for-title-of-block-or-widget/
For the arrows you can use a background image to replace them, as the arrows are images and you cannot change the color: http://screencast.com/t/Xsbs6PmTqZ5
.td_ajax-prev-page, .td-ajax-next-page{
background-color: blue;
}
4. You can try customize a module for example comment this code in module_search.php: http://screencast.com/t/jwd5LedNCV use it for category page from Theme Panel: http://screencast.com/t/3OW8Hp2l8
And use this custom css: http://screencast.com/t/eUkykVx7QCe
Or you can create a new module: https://forum.tagdiv.com/topic/has-anyone-successfully-made-custom-blocks-that-show-up-in-visual-composer/#post-10478
5. You can add an extra class to the column and target block 10 using inspector tool.
6. Unfortunately theme doesn’t an option for this and you will need custom work for this. You can try to follow this topic but this will affect all blocks: https://forum.tagdiv.com/topic/how-to-sticky-post-on-big-silider/#post-12938
7. 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/ It isn’t an ideal image size so it can look good on all thumbs.
Thanks!
I would like you to ask you some questions:
1. How I can change the white background color on boxed layout homepage with background: http://themeforest.net/item/newspaper/full_screen_preview/5489609 (the part between footer and big slider)?
2. How I can change the gray background color on the footer of the same page?
3. On homepage how to disable the hyperlink on block titles, make entire background of .block-title the same color and change the color and padding of ajax arrows?
4. How to make the category article display view not to show images, eg as block 10 that displays only the titles?
5. How to make a specific block 10 on homepage to have overflow-y and max witdh?
6. Is there a way to make a featured post on big slider sticky, so to stay there even if it is very old?
7. What is the minimum resolution that a featured image should have to fit on every block and slider?
Thanks a lot
Hi,
Unfortunately the block files can’t be overwritten using child theme, you can see the list of files that can be overwritten using the child theme here: https://forum.tagdiv.com/child-theme-documentation/
If you want to do this you need to make this changes into the main theme files.
Thanks
Hi,
I’ve also tested this using the latest theme version and it seems that the color settings for block title doesn’t works.
I’ve added this issue on our todo list and we will fix it in next theme update.
Until then you can use the css from below to change slider’s block title: http://screencast.com/t/CPUskhkh0
.td_normal_slide .block-title span {
color: #EDC5C5;
background-color: #4726E0;
}
Thanks for reporting this!
Sorry for the inconvenience!
Hi,
Sorry for misunderstanding! Now I see what you are trying to do. Normally this will work for all blocks that have this filter options in setting…this filter is general for all tagdiv blocks from td_block.php.
Thanks!
Hi,
This issue appears because you use Header style 3 with blog stack. For Classic Block stack we made a special header, this one http://screencast.com/t/FEoXVhLMpcv and in combination with other headers is not guaranteed that everything will work fine.
So it is better to change the header if you use blog stack, but also if you want to use it like this you can try this custom css in Theme Panel > Custom Css: http://screencast.com/t/gHftD9jg3R
@media (max-width: 767px) {
#td-top-menu .sf-menu {
display: none !important;
}
.blog-stack #td-top-search{
right: -50px;
top: -75px;
}
.header-search-wrap .dropdown-menu {
left: -56px!important;
}
.header-style-3 .td-logo img{
width: 30px;
}
}
Thanks!
Hi,
You can use block Infinite Load pagination and show Load More button after x page – http://screencast.com/t/a2WG2eTJ else I’m not sure what it will help.
Thanks!
Hi,
I have checked your site and did not found any issues with block 1: http://screencast.com/t/nASjwGDs7
Please empty cache if you use a cache plugin.
Thanks!
Hi,
If you have custom modifications to the theme files you ca take a look and see what files we change until latest update and update only that files. Anyway we have made many changes till version 1.7.
If you don’t have any modifications to the files please follow this guide to update and use FTP method(also make a backup of your current theme installation, so you can revert if something goes wrong): https://forum.tagdiv.com/how-to-update-theme/ and also update the plugins that come with the theme files from the /plugins folder.
In 1.5 theme’s version we have renamed some shortcodes:
– td_ad_box -> td_block_ad_box
– td_authors -> td_block_authors
– td_homepage_full_1 -> td_block_homepage_full_1
– td_popular_categories -> td_block_popular_categories
– td_video_vimeo -> td_block_video_vimeo
– td_video_youtube -> td_block_video_youtube
– td_text_with_title -> td_block_text_with_title
– td_slide -> td_block_slide
– td_social_counter -> td_block_social_counter
So the renamed widgets have to be re added to each sidebar after this update. Make sure that you backup your database and if possible get the widget list from your sidebars.
Rename the short codes via SQL: https://forum.tagdiv.com/update-newsmag-to-1-5/
The shortcodes shouldn’t be a problem, they will just appear on page as a code, you have to locate them and manually modify them to the new format: http://screencast.com/t/Da8k0HHtSD or use the SQL query (in phpmyadmin) to automatically replace them in the database – http://screencast.com/t/G1SwZNDb
Hope this helps
Block 1 is not working anymore.
It does not have one picture on the left side and four on the right side anymore.
Now: One big on at the top and four under it. Seems like it just working for one column, but in the visual composer i set two.
Yesterday everything was fine, now it is not working anymore?