- 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,
Do you want the same format on Newspaper? You will have to use custom css to achieve this – http://screencast.com/t/J4oC4cVha
.td-module-comments {
background-color: #848484 !important;
border-radius: 2px;
border-bottom-right-radius: 0;
}
.td-module-comments a {
color: #ffffff;
padding: 2px 6px 3px 6px;
display: inline-block;
min-width: 25px;
height: 20px;
line-height: 16px;
background-color: transparent
}
.td-module-comments a:after {
left: auto !important;
right: 0;
border-color: #5b5b5b transparent transparent transparent;
border-width: 5px 5px 0 0;
bottom: -5px;
}
I provide an example, if you want additional customization I suggest to hire a freelancer to do it for you as we cannot provide custom work.
Thanks!
Hi,
You can use this code for our blocks.
.td-ss-main-sidebar .block-title > span, .td-ss-main-sidebar .block-title > a{
width:100%;
}
.wpb_widgetised_column .td_block_wrap span{
width:100%
}
Thanks
aha, I have found the issue, the newspage.woff and eof both were rejected by nginx due to security configuration. I have blocked access directly to wp-content. After I removed the single line, those icons are back online. chew~~
Thanks again. your theme is fabulous.
Hello Junior,
1) There is a quick fix for that. Read this topic for a solution. https://forum.tagdiv.com/topic/footer-template-style-2-no-translated-tag/
2) You can change the header tag on block titles with another if you want, just keep in mind that you cannot change it for specific blocks. All block titles have a h4 heading. In order to modify the heading tag you need to edit the core files like so: http://screencast.com/t/WMzwMYxt
3) You can use a different footer style that does not have predefined content (style 9) and you can add your own custom content instead. You can place a block in footer 1, 2 or 3 widgets and filter the posts to all time popular. http://screencast.com/t/6UEdW1VWb
You can read more about footer styles here: https://forum.tagdiv.com/footer-templates/
Thank you!
Thank you, this is working for general widgets.
But when I added [tagDiv]Block 1, [tagDiv]Block 3, [tagDiv]Author box etc… in sidebar above code is not working.
Please check this screenshot – http://www.screencast.com/t/p0qjBDMB
Regards
Niju
Unfortunately, you cannot stretch the content of block 6 to fit the whole container. But you can customize the previous block you had: block 13 to meat the requirements.
Replace the previous code with this one:
.td_block_13 .td-module-meta-info{
bottom: 420px;
}
.td_block_13 .entry-title:after{
border-bottom:none;
}
.td_block_13 .td-module-thumb{
height:390px!important;
margin-bottom:0!important;
margin-top: 200px;
}
.td_block_13 .td_module_wrap {
padding-bottom:0!important;}
The result: http://screencast.com/t/xUa05UqGcW
Thanks.
Hi,
You could use the default header template – http://screencast.com/t/086fBamX8 so the header ad will be placed beside the logo. And if you want to add additional banner bellow the main menu, you need to edit header-style-1.php and use this code to dislay a custom ad – http://screencast.com/t/6nd1wRRQ
<?php echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'custom_ad_1')); ?>
Adjust it using custom css – http://screencast.com/t/vf7tivbhnh0G
.td-a-rec-id-custom_ad_1 {
margin-top: 20px;
}
If you use adsense code change a to g like this – .td-g-rec-id-custom_ad_1
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
-
This reply was modified 10 years by
Alin [tagDiv].
Hi
By default the theme doesn’t display the top bar on mobile devices, but you can use custom css in theme panel > custom css to display the top widget: http://screencast.com/t/ygpLdtt3uW8T
@media (max-width: 767px){
.td-top-menu-full {
display: block!important;
}
.td-header-sp-top-menu {
display: none!important;
}
.td-header-sp-top-widget {
display: table!important;
margin-left: auto;
margin-right: auto;
float: none !important;
}
}
Let me know how it goes.
Thanks!
Hi, thank you for your support.
I tried your custom CSS and it worked properly, but I’d prefer to have the title outsite (above) the featured image, like in block 6.
The problem with this is that the theme puts the posts in two columns, so I get smaller TITLE and white space on half column.
Is it possible to enlarge the display of block 6, to get all the space filled?
If you want to take a look, you can use the same address http://www.latinacorriere.it/ltcwp/
Thank you,
Gianni Ceccano
Hi,
You have this issue because you use Visual Composer on posts page, unfortunately the tagdiv gallery was not designed for to be used in a text block. We will take a look at this and we will try to fix it in a future update. Please try thsi custom css until we fix this: http://screencast.com/t/nObvBKsvR
.single .wpb_text_column .td-gallery-slide-copywrite {
background-color: rgba(0, 0, 0, 0.8);
display: inline-block;
float: left;
font-size: 11px;
font-style: italic;
line-height: 1;
padding: 4px 6px;
text-align: left;
}
.single .wpb_text_column .td-doubleSlider-1 .td-slide-item .td-slide-galery-figure img {
bottom: -50%;
left: -85%;
margin: auto;
overflow: auto;
position: absolute;
right: -50%;
top: -50%;
}
Thanks!
Hi,
You could add this custom css in Theme Panel > Custom Css to apply this for WP widgets – http://screencast.com/t/Z6BpWlaSqx
.widget .block-title > span, .widget .block-title > a, .widget .block-title > label {
width: 100%;
}
Thanks!
Hi,
You can target the more articles box with CSS:
.td-more-articles-box.td-front-end-display-block{
background-color:red
}
Place the code in the theme panel->custom CSS box
result: http://screencast.com/t/bb4sn6TjDS5w
Thank you!
Hi,
1. I cannot see you image to understand the VC issue it redirects to – http://screencast.com/t/TxjonXpF
Please make sure you update also the Visual Composer properly, deactivate and delete it from Plugins, then install it from here – http://screencast.com/t/NeIrAMKdm3
2. Unfortunately the block title style 1 that you used in previous version doesn’t exist anymore in version 6 and you have to edit each homepage blocks(or your widgets) and change the background color – http://screencast.com/t/7qRvDzjc
Newspaper 6 is a whole new theme that is released for free for all of our existing customers so an update from 4 to 6 may cause the same issues as switching to another theme (but we did try to maintain compatibility where ever possible). We tried to find the best way for the transition(the script), but some issues may appear. We are very sorry for all the problems that the update caused.
Thanks!
Hello ,
There is a block that has titles above images if you want to use it:
http://demo.tagdiv.com/newspaper/block-6/
If not, you can move the title of block 13 to the top with this custom CSS:
.td_module_14 .td-module-meta-info{
bottom: 325px;
}
.td_module_14 .entry-title:after{
border-bottom:none;
}
result:http://screencast.com/t/UAl470fZvQ
Thank you.
Hi
The size for theme’s blocks can be changed only by affecting the code. Either you change the thumb used for the slide block, in this case, or you register a new thumb size in td_config.phph: http://screencast.com/t/P4GCQ56t16 and use it instead of the current one.
This changes involve lots of customization and good coding skills and if you don’t know how to do it yourself my advice is to look for a developer from sites like http://studio.envato.com/ to do it for you as we cannot offer custom modification at the moment.
Thanks for the message!
Hello,
The images are being stretched because this is how the plugin increases their size. It cannot resize and maintain quality. The only way to do this is to upload bigger images to your posts.
Unfortunately the slider or other block elements do not have an option for resizing. They have a fixed width and height in order to fit the containers and be responsive over multiple viewports.
Here is a list of thumbs used by different block elements: https://forum.tagdiv.com/theme-thumbs/
Thank you!
Hi,
You could try to edit td_data_source.php and add the new sort order – http://screencast.com/t/PzXKRSlQYGsM – http://pastebin.com/EAeg6Yy0 also edit td_config.php file and add this code so the sort option will appear on block settings – http://screencast.com/t/m8zA3xYCjo
'Popular (site wide) - jetpack + stats module required' => 'jetpack_popular_2',
Please first make a backup of your files, so you can revert if something goes wrong. Also you can check these files(to see how the code is added) in the latest version of the theme.
Thanks!
Hi
I update yesterday the version 6 from 4 and i want ur help here:
1) JS composer appears like this!? http://www.alexiptoto.com/wp-content/uploads/2015/10/js.jpg
where are the blocks???
2) There is no option on widget Titles for style 1. Only the default style is available. How can i Change it to style one please???
– Right now in all my widget titles i used white background color and when the visitor move the mouse to a post title it became white. How can i change color
Thanks!!!!
Hi,
Can you please tell me how to fix the below error that is appearing in the footer?
Notice: Uninitialized string offset: 0 in /home2/cosbeaut/public_html/wp-content/themes/Newspaper/includes/shortcodes/td_block_ad_box.php on line 23
Hello again
We had contacted you about a month ago concerning a problem with block elements not displaying the articles of certain category filters (please see our previous conversation below).
Even though we tried your suggestions and fixed the console errors, the problem still persists. The problem doesnt have to do with a specific block element nor with a particular category filter, but it occurs randomly. Let me give you an example of that:
I have the category named “Εκδηλώσεις” (category id 131) which contains four articles. I created a block element with category filter–Εκδηλώσεις, but when loading the page the block element appears empty. When switching the category filter to different category, then the related articles load normaly.
When afterwards i created a new category and transferred there all “Εκδηλωσεις” articles , and used the new category as a new filter, nothing appeared once again.
Do you have any explanation why this is happening?
thanks in advance
It is not working:
[vc_row][vc_column width="2/3"][td_block2 category_id="6894" header_color="#dd3333" custom_title="Aktuell und beliebt"][td_block8 limit="4" header_color="#8224e3" custom_title="Brandaktuell"][td_block8 category_id="11" limit="4" header_color="#81d742" custom_title="Promis und Stars"][td_block8 category_id="8" limit="4" header_color="#dd9933" custom_title="Lifestyle und Gesundheit"][td_block8 category_id="5" limit="4" header_color="#5998e0" custom_title="Musik"][td_block8 category_id="10" limit="4" header_color="#ed36d1" custom_title="Filme und TV"][td_block8 category_id="2494" limit="4" header_color="#420b00" custom_title="Multimedia und Technik"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-lfg-home-sidebar"][/vc_column][/vc_row]
The column is supposed to be shown next to the content, but it is shown below the content. So I guess the 2/3 and 1/3 split is not working
Can anyone help please?
-
This reply was modified 10 years by
kornobis.
I’m designing this website: http://www.latinacorriere.it/ltcwp/ and i would like the Title to appear above the main image of the HP. I used the block 13 with 1 image, but I couldn’t find any block displaying the title above the featured image,
https://photos.google.com/photo/AF1QipPdjI9O0zsfB1DEnsU8Cd75WDSgd-I5nPsWU3AP
https://photos.google.com/photo/AF1QipMMtu_KeraPhycj-xwttsvyESfdzM5GJtFz4Cfl
Facebook like plugin code
<div class="fb-page" data-href="https://www.facebook.com/fitnessgelistirici" data-width="500" data-height="500" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/fitnessgelistirici"><a href="https://www.facebook.com/fitnessgelistirici">Vucut Gelistirici</a></blockquote></div></div>
Facebook like plugin adress: https://developers.facebook.com/docs/plugins/page-plugin
-
This reply was modified 10 years by
berkakalinn.
hi
would like to know if it is possible to resize the Slide Block in Visual Composer. I am using Block 7 which calls for the Featured Image to be 4:3 ratio, but the Slide Block resizes the same image to be 300×350 vertical.
thanks
Hello Jerry,
This usually happens when loading the font file (which contains those icons) from another host/url
The solution would be to load them from the same url as the site or try this solution – http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Let me know how it goes!
Thanks.
-
This reply was modified 10 years by
Bogdan B..