- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
Sorry for the delay! This happens because of the block title line-height, you can use this css to fix it: http://screencast.com/t/aD5yqmNx
.block-title {
line-height: 27px;
}
Thanks
Hi,
Thank you for reporting this, we will investigate the issue. A solution in your case is to use Text Block. If you want title please use a Text Block for title: http://screencast.com/t/Il0C7DVwpUn and another Text Block for text and images: http://screencast.com/t/dbbkTTul44
Result: http://screencast.com/t/H4vGhnb0bey9
Hope this helps!
Is there anyway to display posts from the last two days through blocks? The current options are random posts from today and from the last seven days. Can we modify the random posts from today to shows posts from last 2 days instead.
Plus, I have tried to disable tags in categories from the dashboard but that does not seem to be working and the tags are still appearing.
http://siasibaat.com/category/politicaltalkshows/currentaffairs/
Thanks in advance.
I’ve changed the page and post blue blockquote font sizes in typography settings to 20px but they still show as 36px.
Any idea how I can change them?
Thank you.
Some body has been in the same issue ?
http://regiobuscador.com
If you press the simbol “>” on each block, is did not show the next info
Regards
I did but still not working!
So all my site did not works “pagination” Ajax, for eaxmple on each block when i pick the “>”
What do you think ?
Regards
Hi guys,
I am trying to add a new custom module but I still get the following error:
Fatal error: Class ‘td_module_16’ not found in …/includes/shortcodes/td_block_1.php on line 49
Things I did:
1. created td_module_16.php with the same almost the same content as td_module_4.php:
<?php
class td_module_4 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() ?>>
<div class="td-module-image">
<?php echo $this->get_image('td_300x194'); ?>
<?php if (td_util::get_option('tds_category_module_4') == 'yes') { echo $this->get_category(); }?>
</div>
<?php echo $this->get_title(12); ?>
<div class="meta-info">
<?php //echo $this->get_author();?>
<?php //echo $this->get_date();?>
<?php echo $this->get_comments();?>
</div>
<div class="td-excerpt">
<?php echo $this->get_excerpt(25); ?>
</div>
<?php if(empty(td_global::$is_wordpress_loop)){echo $this->get_quotes_on_blocks();}?>
<?php echo $this->get_item_scope_meta(); ?>
</div>
<?php
return ob_get_clean();
}
}
2. Edited td_block_1.php, because I want to use this custom module inside this block:
function inner($posts, $td_column_number = '') {
$buffy = '';
$td_block_layout = new td_block_layout();
if (empty($td_column_number)) {
$td_column_number = td_util::vc_get_column_number(); // get the column width of the block from the page builder API
}
$td_post_count = 0; // the number of posts rendered
if (!empty($posts)) {
foreach ($posts as $post) {
$td_module_16 = new td_module_16($post);
$td_module_6 = new td_module_6($post);
switch ($td_column_number) {
case '1': //one column layout
$buffy .= $td_block_layout->open12(); //added in 010 theme - span 12 doesn't use rows
if ($td_post_count == 0) { //first post
$buffy .= $td_module_16->render();
} else {
$buffy .= $td_module_6->render();
}
$buffy .= $td_block_layout->close12();
break;
case '2': //two column layout
$buffy .= $td_block_layout->open_row();
if ($td_post_count == 0) { //first post
$buffy .= $td_block_layout->open6();
$buffy .= $td_module_16->render();
$buffy .= $td_block_layout->close6();
} else { //the rest
$buffy .= $td_block_layout->open6();
$buffy .= $td_module_6->render();
}
break;
case '3': //three column layout
$buffy .= $td_block_layout->open_row();
if ($td_post_count == 0) { //first post
$buffy .= $td_block_layout->open4();
$buffy .= $td_module_16->render();
$buffy .= $td_block_layout->close4();
} else { //2-3 cols
$buffy .= $td_block_layout->open4();
$buffy .= $td_module_6->render();
if ($td_post_count == 4) { //make new column
$buffy .= $td_block_layout->close4();
}
}
break;
}
$td_post_count++;
}
}
$buffy .= $td_block_layout->close_all_tags();
return $buffy;
}
3. I added the following code to td_config.php:
'td_module_16' => array (
'text' => 'Module 4 custom',
'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-4.png',
'used_on_blocks' => array ('td_block_1', 'td_block_2'),
'excerpt_title' => 12,
'excerpt_content' => 25,
'enabled_on_more_articles_box' => true,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true
),
What did I forget to do?
Hello,
Which is the best Events Calendar plugin for Newsmag? And works well with the CPT in the blocks …
Please don’t give me a list of plugins. Only first hand experience please.
Thanks very much
Hi there,
I would like to create a new sorting option for the block.
I Newspaper theme I put this code
case 'upcoming':
$wp_query_args['orderby'] = 'event_start_date';
$wp_query_args['order'] = 'ASC';
break;
in td_data_source.php
And this code:
'Upcoming events' => 'upcoming'
in td_generic_filter_array.php
Wher can I find this files in Newsmag?
Cheers
@Chris S,
I appreciate the comment. Despite being well versed in all things WordPress (after using it for roughly five years now) and understanding how to work the system, the Revolution Slider issue came about because I made the mistake of not seeing that particular plugin on the list of installed plugins as it was similar in name to another plugin I was using. However, the version of Revolution Slider that has been reported to have had issues and caused something like this for many sites was never active on my site. In fact, I’ve only ever had the latest versions of it on my site, and that was only since late October, when I was working with two other themes from another widely used theme provider before finally settling on Tagdiv via Newmag late last month.
Note: I’ve never had the plugin installed outside of themes since I don’t own an independent license and don’t plan on buying one at this point even if the plugin is the best selling in the history of the world on Themeforest.
There are many others who’ve reported that they have in fact upgraded or only used the latest version of Revolution Slider and they also had this happen to them. Clearly the developer still has some issues to work out even though they deny this being a new issue: https://www.facebook.com/themepunchofficial/photos/a.241115412711464.1073741828.241098529379819/386921181464219/
Not sure how an issue they claim to have fixed in February in the link provided turned into a massive issue with developers, users, etc in September to the point that the plugin couldn’t be sold until the plugin maker provided another new updated version that fixed issues.
Whoops, there I am on my own soapbox as well, lol. 🙂
Hi,
Is there a way to include in all the blocks, where we can include custom taxonony category?
I think, if we can include this, any possible customization will be endless.
If we have a plugin with custom taxonomy for category, then we can display it using the existing blocks.
thanks
st
As noted previously if you’re missing functions of the actual theme, including the “Newsmag Default” sidebar, then you likely have one of the two cases:
1) conflicting plugin
2) theme not updated properly.
for 1) try turning off all plugins except VC, clearing all caches
for 2) delete existing theme folder; install clean version of theme
Only reason something part of the theme is “not there” is
a) something blocking loading elements in admin panel, typically plugin with bad behavior
b) theme missing components due to incomplete install.
c) broken cache loading old files not seeing new files (common with some cache plugins, or CDNs)
Simple as that. 🙂
Happy Holidays!
-
This reply was modified 11 years by
simchris.
Hi,
Great work Guys, I have a problem with classic Slide Block.
I set up row 2/3 + 1/3 and put Slide Block in 2/3, but images from slider crossing over the edge of first 2/3 segment, and enter in the second 1/3 block.
You can see problem here, on my dev subdomain:
http://dev.lepotaizdravlje.rs/
Hi,
One reason for the search icon is not aligned is because you use another header style, and for Classic Block stack we make a special header, this one http://screencast.com/t/FEoXVhLMpcv and in combination with other headers is not guaranteed that everything will work fine.
We will fix this combination issue in version 5 to work better.
For the homepage if you want to achieve like on our demo, we use there the latest posts from Settings -> Reading http://screencast.com/t/sGhGtfDg
If you can’t manage it you can give us access to your WP and we will install a demo like on our Classic Blog. Send details via email at contact@tagdiv.com
Thanks!
Hi,
1. You could easily find all selector, just open the style.css and search for font-family and where is a font family there is the selector that you need.
2. There depends of how the font are rendered, on some fonts need manual adjustment.
Use this CSS to align the block header:
.block-title a,
.block-title span,
.block-title label {
padding: 4px 10px 2px 10px;
line-height: 27px !important;
}
.block-title {
line-height: 28px;
}
3. If you write Custom CSS in Theme panel that CSS will overwrite as priority the CSS, not overwrite the old css, the old CSS is there in style.css like you see in your screenshot is in style.css
If you want to remove it, just edit your style.css and delete it from there.
Thanks!
Hi,
7. It’s only possible with custom work.
8. After you added an image select image details – http://screencast.com/t/pnaCbHwOa
And activate “modal image” – http://screencast.com/t/sgtUk2GCIxFU
9. When you add a single image write your caption here – http://screencast.com/t/h9cAPoy4fkj
Result: http://screencast.com/t/iNExcrBw3UJ9
10. You can doit like this:
– add a link button to your menu, change the url to your main page url and replace the navigation label with an element which links to your desired icon – http://screencast.com/t/FASGk5tqwcR
– Use CSS to restrict the height of the icon – http://screencast.com/t/CkaVqiqXh2
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Tokyoship_Home_icon.svg/50px-Tokyoship_Home_icon.svg.png" />
11.Please use this custom css to remove more article on mobile and tablet:
@media (min-width: 1019px) {
.td-more-articles-box{
display:none;
}
}
12. It’s only possible with custom work.
13. Make sure you set the correct sidebar and that there’s a block on it.
Thank you, Emil G.
Hi,
If you delete the title from the block and save the page the box shouldn’t appear.
Please provide more details.
Thanks!
Hi,
Add this code http://pastebin.com/jVkkGPtX like here: http://screencast.com/t/7f8W5cubv7t
Add this CSS in Theme Panel -> Custom CSS
.td-custom-ad {
display: none;
color: #666666;
display: block;
font-size: 14px;
text-align: center;
}
.td-post-text-content .td-custom-ad {
display: block;
}
Thanks for the message!
-
This reply was modified 11 years by
Marius.
Hi,
For contact page add in menu a link like here http://screencast.com/t/ceE5xNwB
For the login I don’t understand exactly what do you want. Our login modal is a widget and in menus you can’t add widgets!
What you can do is to create a custom sidebar in menu like here:
1. Add this code like here: http://screencast.com/t/Bf8vGkWBn
2. Add this code:
register_sidebar(array(
'name'=>'Login modal (in menu)',
'id' => 'td-login-menu',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
));
like here: http://screencast.com/t/oC4nNEA58
3. Go to your widgets and drag our login widget like here: http://screencast.com/t/uecSdU43Pmb
4. Add this custom CSS in Theme panel -> Custom CSS
.td-menu-header ul.top-header-menu {
display: inline-block;
position: relative;
top: 14px;
}
.td-menu-header ul.top-header-menu a {
color: white !important;
}
Also, if you don’t have developing skills we recommend you to hire a freelancer or someone to make this for you. This is custom work.
Please if is possible please remove the bad rating.
Thanks for the message!
Hi,
I want to combine block 1 with block 9 below block 1. However, I do not want to display title block of block 9. If I make the title block blank (in the option), there is a black strip.
Is there a way to make the title block of block 9 dissapear for that particular combination?
thanks
st
Sorry to come back again but forgot to mention one more thing.
Since the update, I could not use drop and move function of blocks. Will this be solved if I could download VC 4.3.5.?
Thanks,
i have few more queries buddy , again posting them here !
7. In the Pagination option of a block , when i select “Next Prev ajax” , i want the post to change automatically say after every 5 or 6 seconds , how can that be done or achieved ?
8. How to open a single image in a prettyPhoto kind of frame which is available in Image Gallery option ?
i have seen in theme sample pages , on clicking the image , the same image opens in a nice frame and on clicking the next button on the frame the post in the background scrolls up or down automatically. how to do that ?
9. Except the Featured Image , i can neither see the caption nor the description of any image appearing below it. It does appear for the images added in the Image gallery on opening them at the top of the image , BUT DOESN’T SEEM TO APPEAR WITH SINGLE IMAGES , pleas tell me how to fix this as the images are need to be given sources which i m entering the caption block.
10. How do i add a small Home button , in the top header menu ?
11. We also have this amazing feature of more article box , which pops in after certain pixels off height scrolled down , but on hand held devices like a mobile phone , this pop up covers the entire article , how do i disable this for mobile phones and tabloids and keep it enable for laptop and computer screens?
12. how if i want the More Article box to slide back away after staying for 5 to 6 seconds on the post page how would that be done ?
13.lastly , on my post page in the side bar , i cannot see the related articles which are suppose to come category wise , why is that happening? URL to my PAGE.
thanks alot , it did help me!
still unable to figure out smart lists though and SEO !
would try the yoast plugin , but how does the theme’s SEO functioning works ?
i have few more queries buddy , again posting them here !
7. In the Pagination option of a block , when i select “Next Prev ajax” , i want the post to change automatically say after every 5 or 6 seconds , how can that be done or achieved ?
8. How to open a single image in a prettyPhoto kind of frame which is available in Image Gallery option ?
i have seen in theme sample pages , on clicking the image , the same image opens in a nice frame and on clicking the next button on the frame the post in the background scrolls up or down automatically. how to do that ?
9. Except the Featured Image , i can neither see the caption nor the description of any image appearing below it. It does appear for the images added in the Image gallery on opening them at the top of the image , BUT DOESN’T SEEM TO APPEAR WITH SINGLE IMAGES , pleas tell me how to fix this as the images are need to be given sources which i m entering the caption block.
10. How do i add a small Home button , in the top header menu ?
11. We also have this amazing feature of more article box , which pops in after certain pixels off height scrolled down , but on hand held devices like a mobile phone , this pop up covers the entire article , how do i disable this for mobile phones and tabloids and keep it enable for laptop and computer screens?
12. how if i want the More Article box to slide back away after staying for 5 to 6 seconds on the post page how would that be done ?
13.lastly , on my post page in the side bar , i cannot see the related articles which are suppose to come category wise , why is that happening ? url :
hey peter can u tell me , how did u change the login.php ?
with your own logo and different username and password block ?
can u help me with this ?

Would be a great help.