- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Or you can copy <?php echo $td_mod_single->related_posts();?> in loop-single-11 but the block is not the same as the related posts in the other post templates.
Is there anyway to achieve exactly the same look moving the related posts to the botton in template 11?
Hi support team,
While testing my site speed on Google PageSpeed Insights, and this issues came up:
1. Eliminate render-blocking JavaScript and CSS in above-the-fold content
2. Minify JavaScript
3. Minify CSS
4. Leverage browser caching
5. Enable compression
6. Minify HTML
Could you please help me with these issues?
Thank you.
Hi,
There are no versions to the speed booster compatibility :). There is a function inside of the speedbooster code. This function contains a list of compatible plugins: http://screencast.com/t/hcjLnOqh4i2
The install order does not matter. When speedbooster detects any plugin that is not on the list, it will disable itself if the plugin is already active or when you activate it.
There is however a workaround if you truly wish to use speedbooster with your current plugins, you can make it work by removing or commenting out this code here: http://screencast.com/t/RZLIOPUNdqh
This method is not an official position and it could create problems with certain plugins.
You can see if speedbooster is active in the system status screen here: http://screencast.com/t/hc6bYTijII
Make sure the plugin is active and then check for render blocking js and css.
Thank you!
Hello frenzygh,
I have checked your website, I saw the Big Grid but please notice that in order to achieve best results with this feature, it should have to be right set it. For more information about Block Settings, please read our documentation here -> https://forum.tagdiv.com/block-settings-tutorial/
Thanks for your message!
Hi,
1) If the adsense code does not show up even in adrotate, then you will have to contact google as adrotate uses it;s own ad system that is different from our theme’s. Use an adsense ad on a wordpress default theme and see if it will show up at all.
3) For categories you cannot use blocks. Only modules: http://screencast.com/t/IivsA9OCGDGr Block 15 is the only one that displays 3 articles with a sidebar and it cannot be used on categories, only on pages.
4) Please add this code also:
.td-header-wrap .black-menu .sf-menu > .sfHover > a{
Color:white!important;
}
Thanks
Hello everyone,
How to change the block “Stay connected” (links to social networks) in blog page?
Thank you in advance.
Hi
1. Please make sure that comment counter is enable in theme panel > block settings: http://screencast.com/t/nvV4LpdFk3S
2. You can change that text from theme panel > translation: http://screencast.com/t/aUTsX52ms Just scroll down until you find the text and change it as you need.
3, 4 Please provide your site url so I can have a closer look and maybe I can help.
Thanks!
HI
We deactivate front-end editor from Visual Composer trough a hook because some times appear issues when theme’s blocks are used. You can enable the Visual Composer front-end editor by removing this code from theme’s functions – http://screencast.com/t/1N4LB7WhP2jR but unfortunately, will not work properly if you use theme’s blocks on the page.
Thanks!
Hello seifdine,
Unfortunately, please notice that our theme does not have an RTL support and that’s why the mobile menu will appear on the desktop version. As a quick fix in this regard, please try to use the code below and place it in Theme panel->Custom CSS area but still you will also need other additional customizations which cannot offer them because we cannot provide custom work at the moment, sorry!
The code is ->
.td-menu-background,
#td-mobile-nav {
display: none;
}
.td-menu-mob-open-menu .td-menu-background,
.td-menu-mob-open-menu #td-mobile-nav {
display: block;
}
If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you!
Thanks for your understanding!
Hi
I’ve checked your site and block 14 it’s displayed fine on my side: http://screencast.com/t/sqUuLkBPPRpr If you still have this issue please check if the browser zoom it’s set to default value, because otherwise appear some issues with the layout http://screencast.com/t/o7zGWqA4aVW This is valid for all browsers. You can set the zoom at default value using CTRL+0 command.
Hope this helps.
Thanks!
Hi,
In our theme the date can be removed from 2 separate spots. It can be either removed from all blog posts at once like so: http://screencast.com/t/ZJbCyI3Bu or removed from blocks on pages and category tags: http://screencast.com/t/8J9lvn75UG but there is no option to remove the date for specific posts or pages. it can be done with a bit of css though. You can target the date for a specific block on specific pages but this is done through the page id. Each page has a unique page id. you can use it in this code:
.page-id-90 .td_block_5 .td-post-author-name span, .page-id-90 .td_block_5 .td-post-date{
display:none!important;
}
Change the page id with the one from your page so the code can apply to your specific page
You cann add the code in the theme panel->custom css box
Thank you!
Hi,
You can remove the date either from posts or from the blocks on pages separately. The option to remove it from posts is found here: http://screencast.com/t/qrXxs57iju
Thank you!
I found out i only need to change
const POST_LIMIT = 3;
to
const POST_LIMIT = 5;
in td_block_big_grid_mob_1.php
Hi, Since I am aware of CSS and JS files so I tried to use advance optimisation methods using Speed booster plugin. Here are few things that I want to know.
1. There are two versions of “important notice” I read under various threads about this speed booster plugin:
A : Important note: SpeedBooster will not work with all plugins. It has a compatibility function in it’s code and will deactivate itself if an incompatible plugin is detected.
B: We added a list with plugins with which we tested the Speed Booster plugin, it automatically disables itself if a new plugin is installed.
I mean, what’s the ultimate truth? Will the speed booster get disabled with any new plugin installed and activated under “plugin” section or it first checks some compatibility and if it finds itself not compatible, it disconnects itself?
2. What does it mean by “deactivate automatically” ? Does it mean that under plugin section, I will Speed booster plugin as “deactivated but installed plugin” or it will still show activated here but will stop working internally ( internal deactivation) even if it shows active here? ( Image here: https://i.imgur.com/h4vpHSm.jpg )
3. Suppose I find it deactivated and then after installing 2-3 new plugin, I manually activate it again , what will happen now? What JS and CSS files it will move to footer? Will it automatically sends every new JS and CSS files added to footer or Will it send only those files, whose plugins are defined under whitelist.
If the later one is true then I don’t think Speedbooster can break site automatically since it’s not adding new JS/CSS files automatically to footer, hence there should be no issue in using it atleast for moving few known JS, CSS files. Right?
4. How to whitelist new plugins to use it under this speedbooster plugin?
5. I tried to move the JS, CSS files under footer based on the instructions given here: https://forum.tagdiv.com/how-to-make-the-site-faster/ . I extracted and copied the list of registered JS and CSS files in a text file ( Look here: http://pastebin.com/D5CAive8 )
but then I compared it with my blocking JS/CSS listed under Pagespeed ( look here: http://pastebin.com/EH2uS3Pz )
But the problem is, almost none of the JS/CSS files listed under Pagespeed is matching with the one I extracted from my sites using functions.php code. For example- As per Pagespeed, I can see that YTSubscribe and Facebook Login JS/CSS files are causing issues, but I can’t find it under the extracted list.
Why is it happening and what should I do to avoid this and remove the render blockings?
Please help. Thank you.
Hi,
Thanks for helping.
1) I am working on it. When i am using google adsence code they didn’t show any thing but when i can use our code they show. here is the result http://www.enewsvid.com/tv-program/talk-show/hum-sub-30-08-16-capital-tv-enewsvid/
2) is ok.
3) How can i use block 15 on category because this is category not page pleas check it: http://www.enewsvid.com/category/news-channel/24-newshd/
4) This is working with mouse over and active but this code is not work on mouse out. Please go on Tv programe link and mouse out on bottom category menu so you have an idea. http://www.enewsvid.com/
Kind Regards
Zeeshan
You can embed shortcodes into a custom snippet of any code, like ads, etc., using the filter hooks in the AMP plugin docs to add a block of code at footer in the AMP template.
For videos, yes, we use the template with “no featured image” for the post, then put the video at top of the post box. We also do this for some book reviews where the book cover is tall and skinny and doesn’t work well for any of the featured sizes.
Or, you could create custom field for your video, then add an amp-iframe video box by inserting the shortcode at footer of the amp template.
By example to play with, which must be added to main functions.php
//Chris EXAMPLE AMP FOOTER
add_action( 'amp_post_template_footer', 'xyz_amp_add_pixel' );
function xyz_amp_add_pixel( $amp_template ) {
$post_id = $amp_template->get( 'post_id' );
?>
<div class="s2pamp02">
<p><em>My super special copyright notice goes here.</em></p>
<!--Related posts / or any compatible shortcode for plugin-->
<?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?>
</div>
<hr/>
<div class="s2pamp01">
<hr/>
<h2><strong>Wow it's Chris' headline!</strong></h2>
<p>You can put text here, isn't it amazing!</p>
<hr/>
</div>
<?php
}
//END
-
This reply was modified 9 years by
simchris.
Randomly today, i discovered randomly the block 14 screwing up
see here
You don’t need to activate license. They are bundled versions which don’t need a separate paid license when used with this theme. Just ignore the ‘nag’ screens from those plugins; TagDiv tries to block them, but they are sneaky! You’re all good 🙂
Hi,
After reading various threads here, I have successfully added the Facebook comments. For example. Have a look at this link: https://tomatoheart.com/aditi-singh/open-letter-to-friends-cast-indian-teen/
Right now it appears just after the end of the post (even before the share button) but I want it to appear before the “real WordPress comment section” and after the related post section. I have shown the desired location here .

where should I put the code to get it right? Currently the FB comment has been inserted in all the loop-single.php files like this:
<?php echo $td_mod_single->get_content();?>
<div class="fb">
<div class="fb-page" data-href="https://www.facebook.com/page" data-width="180" data-height="70" data-small-header="true" data-adapt-container-width="false" data-hide-cover="true" data-show-facepile="false">
</div>
<div class="fb-comments" data-href="<?php echo get_permalink($td_mod_single->post->ID); ?>" data-width="100%" data-numposts="10" data-order-by="social" data-colorscheme="light"></div> </div>
</div>
Please tell me the right location to get it after the related post section. Thank you.
PS: Do we need to modify any single.php etc. file too to get these results? ( Because under various threads I have seen the mentioning of single.php files too but in my case, I am able to get the FB comment section just by adding codes under loop-single.php files.
Good evening,
Can we delete the date of a blog block (example : block type 5) on one page?
Indeed, I want to keep the date on a blog page and remove another blog page.
Thank you for your help.
Hi!
I have a new question
How to make the Time Post appear in entries and blocks?
Thanks
Hi,
Found it Chris (and Bogdan)! This plugin removed 395,254 images/thumbs from my server in around 2 hours (-80% /uploads disc space). It just left untouched the 3 media manager related sizes and the original image. I tested it on wp 4.6, flawless. According to the author new thumbs will be created and stored only when that specific size is called by a block or else. I surfed my site after running it and all necessary thumbs were there, so. You felt my pain, now feel my Joy 😀
Here is the link:
Optimize Images Resizing
Cheers!
Hi
This is the code:
[td_block_ad_box spot_id="custom_ad_1"]
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thanks!
Hi
You can use theme’s blocks to achieve a similar functionality. For each block you can set a background color and the rezult will be like here: http://screencast.com/t/oJYmLSVJWx7 – http://screencast.com/t/lpOiW9bmmTh
This is just a basic example but you can customize it i many different ways in order to achieve the desired result.
Thanks!
Hello nano2408,
You do not understand what I have explained you above. So, please notice that this feature is built using a Tab and this Tab can have more section, as an example: Fashion/Sport/Music/etc and for each section you will have to add another or same block which has to be filtered by your desired category, as you can see here -> http://screencast.com/t/LHD3Bqwb
For your second question, please notice that all of these symbols are from Visual Composer and that’s why these will appear without this plugin.
To understand better our theme, I request to read the theme’s documentation which could be found here -> https://forum.tagdiv.com/newspaper-theme-documentation/
Thanks for your understanding!