Version 8.1.2 – October 31, 2017
Version 8.1.1 – October 18, 2017
Version 8.1 – August 2nd, 2017
Version 8.0 – May 24rd, 2017
If you view this in mobile device the banner will be on top of the video player.
http://www.nguoi-viet.com/diem-tin-buoi-sang/diem-tin-buoi-sang-ngay-10-thang-3-nam-2017-2/
I activated the banner for template 11, it looks good on the desktop.
One mobile, it placed between the title and video which doesn’t look good and confuse the viewer.
How can I make the banner goes after the video?
Thank you
Hello,
Is there a way to log/query admin-ajax to figure out which particular features of Newspaper theme we need to trim down?
Hi Bogdan,
How do I create a playlist with post template style 11?
If I were to create a playlist from the shortcode in the style 11, it will not have the black background just like the example in style 11.
Thank you
can anyone help me with this?
Much appreciated, thank you
The code above didn’t work. I have to add “….inlineleft {…” for it work.
Thank you
I can use post id filter with categories filter together?
I went there but only have the latest version which is 7.3 not 7.2.
I know there are issues with 7.3 so I don’t tend to update it.
I’m looking for version 7.2
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.
Hi Andrei,
I want to set the post globally sorting by modified date. So basically whenever someone edit the post it will jump on top of the list.
Thank you
Forgot to close the div, it’s fixed.
Thank you
Right now all the posts are using the default post template.
I added the above codes to loop-single.php so every post will show that.
My concern is that I have a few categories that don’t want to show the extra blocks, so my question is there anyway to exclude the blocks from those categories?
I found a temp. solution for that is I have to go into each post that I don’t want to show the block and choose a different post template from the post page itself.
If you have a better solution please help me out.
Thank you for your support.
Hi I was able to add the shortcode to the module 17 and the ad show up, unfortunately it show right after every post. see screeshot http://prntscr.com/bkpwpi
This is how my code look in module17
function render() {
ob_start();
?>
<div class="<?php echo $this->get_module_classes();?>">
<div class="meta-info-container">
<?php echo $this->get_title();?>
<div class="td-module-image">
<?php echo $this->get_image('td_696x385');?>
<div class="td-module-meta-holder">
<div class="td-left-meta">
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
</div>
<?php echo $this->get_comments();?>
</div>
<div class="td-category-corner">
<?php if (td_util::get_option('tds_category_module_17') == 'yes') { echo $this->get_category(); }?>
</div>
</div>
<div class="td-excerpt">
<?php echo $this->get_excerpt();?>
</div>
<div style="padding-top:30px; margin-bottom: -30px; ">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?>
</div>
<div class="td-read-more">
href;?>"><?php echo __td('Read more', TD_THEME_NAME);?><i class="td-icon-menu-right"></i>
</div>
</div>
</div>
<?php return ob_get_clean();
}
}
, is there anything else I need to add so the ad can be display on every 5 posts?
This is the last step before I can launch the site.
Please guide me to the right direction?
Thank you for your support.
Found it, module 17
If I need to add the adcounter in the block22, which module do I go edit?
Thank you
I also noticed that when I created a sidebar for one particular category and add widget to that sidebar and assign the sibebar to that category, it will show up in the post page which the post belong to that category.
So basically, the article sidebar will only show if the category sidebar is selected.
Any idea?
Can I set different x-number of post by category?
One other question regarding about the infinite load, can the sidebar of the article page refresh/reload when the the infinite load of the block activated?
Thank you for your support.
Thank you for your help Andrei, the code work very well.
One problem with out contents is that we have some sensitive categories that we don’t want to show the blocks and infinite load on the single page. Here is the code
<?php echo do_shortcode('[vc_row][vc_column width="2/3"][td_block_2 custom_title="Hoa Kỳ" category_id="61" limit="6" ajax_pagination="next_prev"][td_block_2 custom_title="Little Saigon" category_id="64" limit="6" ajax_pagination="next_prev"][td_block_2 custom_title="Việt Nam" category_id="66" limit="6" ajax_pagination="next_prev"][vc_separator][/vc_column][/vc_row]'); ?>
<?php
$category_detail=get_the_category($td_mod_single->post->ID);//$post->ID
foreach($category_detail as $cd){
$cat_name = $cd->cat_ID;
}
$exclude_current_post = $td_mod_single->post->ID;
echo do_shortcode('[vc_row][vc_column width="2/3"][td_block_13 post_ids="'. -$exclude_current_post .'" category_id="' . $cat_name . '" limit=""][/vc_column][/vc_row]');
?>
Can you please show me how I can exclude those categories out. Example: Cat ID = 1, 2, 3, 4.
Thank you for your support I really appreciated.
Hi,
Does this also work on Block with infinite load as I like to repeat the same ad for every 5 posts.
And how the code work.
Thank you for your support.
Hello
I currently have this code in the loop-single.php to show the same category articles.
<?php
$category_detail=get_the_category($td_mod_single->post->ID);//$post->ID
foreach($category_detail as $cd){
$cat_name = $cd->cat_ID;
}
echo do_shortcode('[vc_row][vc_column width="2/3"][td_block_13 category_id="' . $cat_name . '" limit=""][/vc_column][/vc_row]');
?>
How do I combine this code
<?php
$exclude_current_post = $td_mod_single->post->ID;
echo do_shortcode('[td_block_13 post_ids="'. -$exclude_current_post .'"]');
?>
So it won't get conflicted.
Thank you for your support.
Hello Andrei,
Thank you for your suggestion, I will look up a professional to help me with the crossed links for the single post page.
You have mentioned that that I can do the $exclude_current_post for the duplication of the infinite load, can you please show me how to accomplish that obstacle?
Thank you for your support.
– How do I offset the current post with the block13 that’s doing the infinite load and it seems like it duplicate the article.
– One other thing, in the Post Page I added 3 blocks after the article content. Right now the blocks are display to all articles. How can I set the 3 blocks to show only to a selected category.
Example:
reading from category id=1, the 3 blocks will show block1=cat id=4, block2=cat id=7, block3=cat id=13
reading from category id=4, the 3 blocks will show block1=cat id=1, block2=cat id=5, block3=cat id=9
reading from category id=6, the 3 blocks will show block1=cat id=2, block2=cat id=8, block3=cat id=10
I hope you can understand my questions.
Thank you for your support.