- 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
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi,
What will happen if i replace the theme file of version 6.1 in path ” Newspaper\includes\shortcodes/td_block_text_with_title.php” with the theme file of older version in path ” Newspaper\includes\shortcodes/td_text_with_title.php”
After replacing the name of older version file with new versions file name “td_block_text_with_title.php”
because i saw there is a huge difference in code of both of these files but are made for same block only different version.
refer: 
or is there a way for me to replace a certain code or file in the new theme with older one so that my posts will appear the same way they used to before.
Please suggest, i want to use the new theme but dont want to write titles of all the posts again.
Thanks you.
Hi,
If you want you can display in each block random posts, just edit a block and see on filter -> by random http://screencast.com/t/oVdjBHTB
For the top section, make sure is set to latest on Filter.
Hi,
The theme doesn’t have an option to block ads for specific pages, but you can try to add a condition in td_block_ad_box.php to display ads only on your articles – http://screencast.com/t/UyGzuQwPZdn5
Please check this as reference – https://codex.wordpress.org/Function_Reference/is_single
if(is_single())
Hope this helps!
Hi,
I think that we should rename Default Sidebar as maybe it creates confusion. Theme comes with a default sidebar in Widgets section called Newspaper default.
For your Homepage (or another page) you can use Widgetised Sidebar you can set what sidebar to display – http://screencast.com/t/EFIkHdk3XT you can choose Newspaper default or a custom sidebar. Or you can directly add blocks in sidebar position – http://screencast.com/t/dm3hdzWNP0P
For your articles you can create and set a sidebar(Default -Newspaper Default or custom sidebar) from Blog and Posts Template and it will be displayed on all of your articles, please note that it will be overwritten if you set a different sidebar for each post – http://screencast.com/t/rsOt6tYxZCLV
All sidebars can be found in Appearance > Widgets to add/remove widgets – http://screencast.com/t/AfXRq0edEtl also the Social Counter can be added from Widgets – http://screencast.com/t/HGeAeMp7Q0d3
Hope this helps!
Hi,
Here you can find images sizes required for each module and at the bottom about the aspect ratio https://forum.tagdiv.com/theme-thumbs/
Also in Theme Panel > Block Settings > Thumbs on modules & blocks you will find all the themes image sizes and also in description where is used
Thanks for the message!
Hi,
The font family should work if you set it for body – http://screencast.com/t/IbqoOucyA but for size you will need to use custom css:
*change to html editor and add inline css – http://screencast.com/t/xos8wa1J2Iw9
* or target the specific page and add this custom css in Theme Panel > Custom Css
take page id – http://screencast.com/t/0DS7oSaL
and target text block and title – http://screencast.com/t/AMoj6pTUoHc
.page-id-2877 .wpb_text_column p {
font-size: 10px;
}
.page-id-2877 h2.hrf-title {
font-size: 15px;
}
Also for terms page – http://screencast.com/t/8c2V8oRm5j4
.page-id-429 .wpb_text_column p {
font-size: 13px;
}
Thanks!
Hello,
This is my test site http://43c.81d.myftpupload.com/ on home page i have infinite scroll block/module. Its working but after few rows or around after 30 posts it’s stop working. Do you know why and how i can fix this?
Thanks.
Yasir
Hi,
Please make sure that you update also Visual Composer plugin to the latest version provide with the theme – http://screencast.com/t/afShRHaM6VHE please remove the old version before update. Also please provide more details about your issue. What blocks slides you use on homepage? A backend screenshot will help.
Thanks!
Hi,
1. Please try this custom css in Theme Panel > Custom Css for homepage big grid – http://screencast.com/t/AHh1o5Rdovd
.home .td_block_big_grid_1 .td-grid-style-1 .td-module-thumb a:last-child:before {
background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,0.3)));
background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -o-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -ms-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
}
2. Check this custom css for Newsticker on homepage – http://screencast.com/t/nvVJdY36Y
@media (min-width: 768px) and (max-width: 1018px) {
.td-trending-now-wrapper {
padding-left: 14px !important;
}
}
@media (min-width: 1019px) {
.home .td-trending-now-wrapper {
padding-left: 23px !important;
}
}
3. Please provide more details as I’m not sure what you mean.
4. You can use custom css to remove it. This is the default padding added to all blocks, it is not individual added – http://screencast.com/t/o1uzxdxLA You can try to reduce it only on homepage using .home class and do this for each block as it may break the layout, you need custom work to do this for all blocks, sorry.
5. The author name on Big Grid can be hidden via custom css in Theme Panel > Custom Css – http://screencast.com/t/JItaPLaE8m
.td_block_big_grid_1 .td-big-grid-post .td-post-author-name {
display: none;
}
You can do this for each big grid just change the number of big grid that you use, for example – http://screencast.com/t/2NznmheJZR1
Thanks!
Hi,
Unfortunately we cannot add options for elements from each sections of the theme, but we read and listen our clients suggestion and try to add more options and make a better implementation for this. We have over 250 features on our list(most of them suggested by clients) and we have to chose carefully which one get’s implemented next. Anyway I have added your suggestions on our list and I will answer to some of your suggestion in case that you want to fix using custom css(I know that are suggestions).
1. The top menu(where the social icons are enabled) was not designed for mobile devices. We hope to find a solution also for login/register for example to be displayed also on mobiles. You can use custom css to display social icons on top-menu:
.td-header-top-menu-full {
display: block;
}
2. Please provide more details about what you want to change and how to look, maybe I can help you with some css code.
3. The icons are added like a font – http://screencast.com/t/tEw5qZYM so you can try to change the size or the font content – http://screencast.com/t/53Rk830uVf of course you need to customize to look fine.
4. Unfortunately you will have to use custom css to change color/hover color for footer social icons – http://screencast.com/t/3cw0BttN
.footer-social-wrap .td-icon-font {
color: red;
}
.td-social-icon-wrap i.td-icon-facebook:hover {
color: #fff;
}
6. If you refer to the Big Grid/Big Grid Slider you can use Style 4 please check the demo – http://screencast.com/t/EKVxfdxe – http://demo.tagdiv.com/newspaper/big-grid-1/
Please check this topic for zoom effect – https://forum.tagdiv.com/topic/dark-pictures/#post-54266
Thanks for suggestions!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi Again,
My site has a lot of authors and all of them are showing up in the sidebar when I add a ‘Author Box’. I saw the td_block_authors class and noticed there is no ‘number’ parameter added to the get_users args. Can you please add it to the core and maybe make it part of the widget setting?
Hi,
I did a lot of this things, but I think there is a problem with a part of the tutorial and Newspaper 6 (Remove render blocking css/js – using the TagDiv Speed Boosterplugin in https://forum.tagdiv.com/how-to-make-the-site-faster/). How I have to put the codes of this part of the tutorial? It doesn’t work and block the web if I write anything in this plugin file.
Hi,
You can add tag to the posts that you want to appear on Big Grid and filter by tags from Big Grid settings – http://screencast.com/t/1UYNYSnvOKKR so only posts with that tag will appear there. For position you can set alphabetical sort and alter td_data_source.php and set order by 'name'(slug) – http://screencast.com/t/5BxAab1gx then edit the articles and change the slug in order that you want to appear – http://screencast.com/t/MhvZfUTVM – http://screencast.com/t/Kzx5OypVYozr
Result: http://screencast.com/t/vDI2osrNE
Please note that modifying this sort order it will be applied on all blocks where you set alphabetical sort order (will be sorted by slug).
Unfortunately the theme doesn’t have an option to achieve that you want without custom modifications, if you don’t know how to do it I suggest to get someone to help you as we cannot provide any custom work at this time.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
-
This reply was modified 10 years by
Alin [tagDiv].
Hi Alin,
Thanks a lot for the helpfull information (again)!
Everything has been implemented.
I have a question which I’m not sure what the best option is to use.
I want to display in every article 3 information blocks. 1: opening times 2 Address (tith Google maps) 3 admission prices. Now I found the smart list option what is a sweet solution but i’m not sure if that is SEO friendly/user friendly now because of the button text. And I also can only show 2 buttons/information blocks. So I think there would be a better solution. Please see at the bottom of the article: http://bit.ly/1Rq5Ylw.
Can you give me a solution how to integrate the 3 information fields? I have to perform it in all the articles so it would be nice to do it without to much coding. I’m not sure if the theme offers a similar support or that I have to use custom fields (no experience), I have no idea.
I also would like to justify the excerpts at the frontpage of module 2,4,16 and 20.
You’ve helped me a lot on the way with css but this is a little too difficult for me.
I understand if I ask too much, but maybe you can steer me in the right direction for this option.
Ha nevermind just noticed the issue. The new code is td_block_ad_box.
I missed the block.
Thanks this worked perfectly.
Question: What is the css to edit the menu and sidebar so I don’t see the jump and where do I place it?
Thanks
I have registered Akismet, WordPress SEO Premium, WP-Optimize and OIO Ad Manager. Status of Speedbooster changed to “Active” but there is no change in the outcome. Like before, 2 Javascript and 8 CSS resources are still appearing as Render Blocking in pagespeed insights.
The blocking scripts include (i) jquery.js?ver=1.11.2 and (ii) jquery-migrate.min.js?ver=1.2.1
While blocking styles include (i) Contact-Form-7 (2) 3 Google fonts (3) js_composer.css? (4) Newspaper Style.css (5) Jetpack.cssand (6) OIO Ad manager.
Looking at the plugin code I can see that many of the styles are already moved to footerlike
if ($this->td_theme_name == 'Newspaper') {
// wp 011 - Newspaper 6
//$this->move_style_to_footer_queue('bbp-default-bbpress'); //bpress old
//$this->move_style_to_footer_queue('bbp-default'); //bpress
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto');
$this->move_style_to_footer_queue('contact-form-7');
if ($this->is_ie === false) {
// move style.css theme style
Any idea what is going on?
Hi folks … couple of fun ‘edge’ things to play with:
======================
CLOSURE COMPILER FOR JS
Google has started recommending a program (Closure Compiler) to manually minify js files which uses “latest methodologies” — but I’ve not yet tested this myself due to lack of time lately:
https://developers.google.com/speed/articles/compressing-javascript
==========
CRITICAL PATH GENERATOR FOR CSS
Something to consider using in place of TagDiv speed booster plugin for some instances/situations to remedy render blocking CSS issue — this basically inlines the “critical CSS” for your page, then you load the full CSS file at bottom of your page normally; so this allows the above the fold CSS to be part of initial doc load. Fascinating — it auto analyzes your existing web page then spits out optimized code you can place in the header file.
Hi,
I have checked your site and seems that your thumbnails look fine on your Big Grid – http://screencast.com/t/CT7NINmKe also Big Grid has full content width there – http://screencast.com/t/VHcGa6CYUo5 You have only this padding added to the row by default – http://screencast.com/t/G0fs7s0s
Unfortunately the blocks don’t work using stretch row and content, you can stretch row and add parallax image to the row – http://screencast.com/t/IjMrC4sbeJm Please check this topic as reference – https://forum.tagdiv.com/topic/change-background-color-of-the-big-slide-under-nav/#post-54593
Thanks!
Hi,
Please try this custom css to add a background color to the article title on block 14 – http://screencast.com/t/xxSJ1fWLrGxj
.td_block_14 .td_module_mx1 .entry-title {
background-color: rgba(77, 178, 236, 0.7);
}
Thanks!
Hi,
Unfortunately you will need custom work to move the bottom ad above the author box as it is apart of post content – http://screencast.com/t/78WC2EAv A solution to place the ad above the author box is to use a custom ad like Emil suggested above. Paste the code in a custom ad in Theme Panel > Ads > custom ad – http://screencast.com/t/JFsT6hi5o and use do_shortcode function to place the custom ad above author box – http://screencast.com/t/E1euKrXjuE – http://screencast.com/t/HrDZYbvl9rr
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Result: http://screencast.com/t/87OS4SszJVAG
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Currently we are working to fix all the issues in the core of the theme and after that we will implement better support for custom post types and custom taxonomies. In the long term we are aiming for better support even for woocommerce via our blocks.
I’ve added this thread to our task list and we will investigate the performance impact of changing the core of the theme from require to locate_template
-
This reply was modified 11 years by
Radu.
Hi,
I was using ” Text with title block” of Visual Composer for most of my posts. But after updating the theme to new 6.1 version all my “text with title block” posts have been replaced with normal “text block” of VC because of which all my posts are not showing like they used to before refer: 
when i checked i noticed that there was option of title style in previous ” text with title box” of VC but in new one there is no option for that the previous code was like; ” [vc_row][vc_column width="1/2"][vc_column_text][td_text_with_title custom_title=”PROS:” header_color=”#81d742″ title_style=”td_title_style_1“]”
but the new one is; ” [vc_column width="1/2"][td_block_text_with_title custom_title=”PROS:” header_text_color=”#ffffff” header_color=”#81d742″][/td_block_text_with_title][/vc_column][vc_column width="1/2"]”
loss of style option is not the problem but how can i get my posts back to normal like they were before ?
is there a way to restore or integrate the older “text with title block ” with new theme.
Hi,
Do you refer to the featured image? Also the featured images are cropped depending what post style you use. Here you can see thumbnails size – http://screencast.com/t/8Mt5aIotN If you want to make some changes to the thumb size(or add another size) you can find them in td_config.php file where images are cropped for different sizes to be used on modules/block/post styles – http://screencast.com/t/1vBGRyCQI and use it in post template that you want – http://screencast.com/t/SecE5ocmltdO
Also this may help – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Thanks!
Hi guys,
At the moment the all the block slides that i have on my homepage is not showing. Can help me with that? Beside that, after the update mine homepage show posts duplicated and with two types of lists even having only hone… i leave here the website: http://www.eradigital.com.pt
Thanks!
Hi,
In 6.1 version we have added an option to change background and color for all titles (blocks and widgets) – http://screencast.com/t/oTyyvKYzyeTK – http://screencast.com/t/ThDSHUjb1Bl
Also for tags, source you can try this custom css – http://screencast.com/t/ESUT2ruGc as unfortunately theme doesn’t have an option to change color also for these.
.td-post-small-box span {
background-color: red;
color: blue;
}
Thanks!