- 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,
Just edit the code like here: http://screencast.com/t/5rnWGav3 and use this CSS to adjust the look, add it in Theme Panel -> Custom CSS section
.td-login-wrap {
padding: 21px 21px 17px;
}
#login-form .mfp-close {
display: none;
}result: http://screencast.com/t/FGr1ZSsZ
I have edited top-menu.php like your pic. But the Newspaper default login box still shows.
My site: dautu365.com
Please help me!
Hi,
You can’t set the infinite scroll pagination just on theme’s blocks and the classic blog uses the latest post page which can’t be customized using Visual Composer page builder. Sorry!
Thanks for the message!
Hi
Theme’s blocks were designed to work on 1/3, 2/3 or 3/3 columns, and to be displayed fine on 1/4 columns it needs additional customization which involve custom work. Unfortunately we cannot offer custom work services at the moment as we work hard on the development, updates, fixes and support. You can always get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.
Thanks for the message!
Hi
1. You can add a specific class for this section: http://screencast.com/t/aqoraLw4GjpU – http://screencast.com/t/ApYGAAAuZr6 and set the background color using custom css like here:
.colored-post-area{
background-color: antiquewhite;
}
2. If you want to change the background color for a block from a specific post you can use custom css and target the post id class and the block’s class:
.postid-490 .td_block_7{
background-color: red;
}
To get the post id follow this link: http://screencast.com/t/OTJLzYed9 The result should be like here: http://screencast.com/t/3nUhtPU7
3. To change the mega menu background color try this custom css: http://screencast.com/t/d8IHOxhvYI
.sub-menu{
background-color: aqua!important;
}
4. I’ve tested the block title ant works fine: http://screencast.com/t/0Rt1YAbt8 – http://screencast.com/t/t7RWYd5VD try to clear the cache and test again.
Thanks!
Hi
The mobile version of your site is the same as the one for desktop, but styled differently, so you can use custom css in theme panel > custom css :
@media (max-width: 767px) {
.td-header-main-menu{
background-color: #AF2828!important;
}
}
@media (max-width: 767px) {
.td_block_related_posts{
display: none;
}
}
@media (max-width: 767px) {
.td-footer-container{
display: none;
}
}
@media (max-width: 767px) {
.td-sub-footer-container{
display: none;
}
}
Let me know how it goes and provide more details if this is not what you mean.
Thanks!
Hi
To hide the author from block content you need to edit the module used like here: http://screencast.com/t/6otXuydyVz You can check which module it’s used for a specific block in theme panel > block settings: http://screencast.com/t/Ty6Sx8zX
To change the date color use this custom css in theme panel > custom css: http://screencast.com/t/k7KVNtr6
.td-post-date{
color: blueviolet!important;
}
To add the publish post time you need to create a custom date format in WordPress > Settings: http://screencast.com/t/zKcsdlAUc3ih and add this parameters: D d/M/Y H:i The result should be like here: http://screencast.com/t/LEyPJwgz4l Here you can find more details about date format if you want a different customization: https://codex.wordpress.org/Formatting_Date_and_Time
Thanks
Hi,
If you refer to this block(18) please try to use this custom css in Theme Panel to remove the gradient background – http://screencast.com/t/g5c1e7U03Su
.td_block_18 .td_module_mx8 .td-module-thumb a:last-child:after {
opacity: 0;
}
Please provide more details if this is not what you mean.
Thanks!
Salut,
Ar trebui sa verifici ce blocuri si module o sa folosesti si asa o sa poti sa activezi numai thumb-urile pentru ce folosesti – http://screencast.com/t/y406KT7uEK apoi regenereaza thumb-urile – https://forum.tagdiv.com/using-the-theme-with-existing-content/
Din pacate modulele/block-urile folosesc diferite marimi asa ca imaginea uploadata(featured image) va fi taiata la dimensiunile folosit, asa ca in functie de ce o sa folosesti atatea imagini o sa fie. Poti citi si acest ghid despre featured image(este pentru newsmag, dar principiul e la fel si pentru Newspaper), poate ajuta – https://forum.tagdiv.com/image-size/
Mersi!
OK so the explanation is that is block to 2 levels under.
I am not a dev but maybe it is just a single value to change in your code? 🙂
Maybe you could put 5 instead of 2.
However, if other clients agree we me on the bug, please let us know HERE to be sure it will be change on next updates! 🙂
Regards
Hi,
1. For mega menu block add the sort attribute like this: http://screencast.com/t/jgjknQvhwDwh
$atts['sort'] = 'random_posts';
This sort option brings random posts regardless of the previous ones so there could appear duplication. If you want a different implementation you need additional customization and it is not an easy task, sorry!
2. You can try to find a plugin to redirect category to a page. You can try this – https://wordpress.org/plugins/simple-301-redirects/
Thanks!
I’ve updated the theme and now I see all strange ( I think visual composer) code
See example:
[td_block2 limit=”6″ custom_title=”NATUURLIJK ETEN & DRINKEN” ajax_pagination=”next_prev” category_id=”32″ show_child_cat=”all”][td_block1 category_id=”29″ limit=”5″ custom_title=”NATUURLIJKE VERZORGING” show_child_cat=”all” ajax_pagination=”next_prev”][td_slide autoplay=”7″ category_id=”31″ limit=”5″ custom_url=”NATUURLIJKE OMGEVING” show_child_cat=”all”][td_block3 category_id=”30″ limit=”5″ custom_title=”NATUURLIJK OUDERSCHAP” show_child_cat=”all” ajax_pagination=”next_prev”]
I already uploaded the theme again and also uploaded Visual composer again.
Can you help me?
Hi,
The theme doesn’t have an option to display to ads side by side for your post pages. You will need custom modifications in the code to achieve this, for example you can add the code in Theme Panel > Ads section in custom ad spots that you want yo use – http://screencast.com/t/LpPAVOv0 and use do_shortcode function in the post template that you use – http://screencast.com/t/ruQnSe1J and adjust the banners using custom css – http://screencast.com/t/eDF1dtDZ
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');?>
.td-a-rec-id-custom_ad_1, .td-a-rec-id-custom_ad_2 {
float: left;
margin: 0 0 20px 20px!important;
}
Please note that if you use adsense you have to change a with g – .td-g-rec-id-custom_ad_1, .td-g-rec-id-custom_ad_2
If you don’t know how to do it I suggest to hire a professional developer, as we cannot provide custom work, sorry! I have provided an example how it can be done(I did not take time customize them).
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Hi,
For sidebar ads you can use the code in a text block widget and add the title – http://screencast.com/t/cai6khk7 – http://screencast.com/t/IYP2gKeybIVj
Thanks!
Hi,
The block 7 is created using module 6 – http://screencast.com/t/uEkxEoIBrf you can inspect the block that you use just to see what module it uses and reduce the padding like I suggested above for block 11(just change the numbers for block and module).
Thanks!
Hi,
Sorry for delay! We missed somehow your post.
I have checked and seems that you sidebar ad is not added on the page, you have only some banners added using text block.
Please add your banner using sidebar ad spot from Theme Panel like Andrei suggested above and also paste this custom css in Theme Panel > Custom Css:
.td-a-rec-id-sidebar img {
width: inherit !important;
margin: 0 auto;
}
Also if you still have this issue please create a test page, add your code to sidebar spot from panel, and display it on the page using Ad Box block, then provide the link here on forum, so we can provide an accurate solution.
Thanks!
Hey, what happened with great support guys? 😉
Is it possible that its only me with issues on mobile responsive version?
I am using latest update of Newspaper theme – what can cause that Ajax is not working at all?
Search bar can not be opened, navigation menu too, what ever link I click like in category navigation in blocks does not load new set of news, and so on … it has to be some Ajax not loading issue on mobile … how to check, how to fix?
Thanks!
how to change the white section from blog post body to other color?
http://www.screencast.com/t/D9aQPoXAhC
also mega drop down color
http://www.screencast.com/t/4HzUD2Vr
i have some trouble with [tagDiv]block 7 when i put it on the sidebar,
http://www.screencast.com/t/xgRY21YWRs
i can’t change the block title
http://www.screencast.com/t/zcb39yJnZ
Hi,
i need some help..
how to add “post time” into bottom of block post?
please take a look at this picture for details:
picture 1 (the question)
picture 2 (sample)
picture 3 (sample)
Hello,
I have Newspaper setup on several WordPress sites, but only one is not displaying any content when I set a block to display posts that were most popular during the last 7 days. The non-working site is http://www.danoah.com. I have tried it with and without caching, turned the options on and off, and it still never displays anything. I really need this feature.
Please see this page for an example:
http://www.danoah.com/test-page
I have setup three blocks, the first is set to popular last 7 days (you’ll see it’s loading blanks). Next two are setup otherwise as shown.
Thanks for your help.
What you’ve described makes sense …
However, I added it at the bottom of the existing custom code for my site, and I’m not seeing any change.
Your continued assistance will be most welcome.
Here’s what the entire Custom CSS for my site looks like now:
/*************************************
H O M E P A G E
***********************************/
#td_parallax_header_6 > header > div.meta-info > div.td-post-views,
#td_parallax_header_6 > header > div.meta-info > div.td-post-comments,
header > div.meta-info > div.td-post-views,
header > div.meta-info > div.td-post-comments
{display:none;}
#td-outer-wrap > div.td-transition-content-and-menu > div.td-header-wrap.td-header-container > div.td-header-menu-wrap > div
{width: 100%;}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div.td-header-wrap.td-header-container.td-header-style-7 > div.td-header-row.td-header-header > div > a > img
{width:1021px;}
body div#td-outer-wrap div.td-header-wrap.td-header-container.td-header-style-7 div.td-header-row.td-header-top-menu div.td-header-sp-top-menu ul.top-header-menu.td_ul_login li.menu-item
{display: none;}
body.single div#td-outer-wrap div article div.td-container div.td-post-sharing,
div.td-post-sharing.td-post-sharing-top,
#td-outer-wrap div.td-module-comments
{display:none;}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div div > div div:nth-child(5) > div > div > div.td-visible-desktop > iframe
{
border-top: 5px solid #000;
border-left: 5px solid #000;
border-right: 5px solid #000;
}
#td-outer-wrap div.td-a-rec.td-a-rec-id-sidebar div.td-visible-desktop a img
{
border-bottom:5px solid #000;
border-left: 5px solid #000;
border-right: 5px solid #000;
position:relative;
bottom: 5px;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div.td-footer-container.td-container > div > div aside.widget.widget_tag_cloud > div.block-title > span,
.td-footer-container .block-title > a, .td-footer-container .block-title > span,
body div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-footer-container.td-container div.td-pb-row div aside.widget.widget_text div.block-title span,
div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-container.td-pb-article-list div.td-container-border div.td-pb-row div.td-main-content div.td-ss-main-content h4.block-title span,
div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-container.td-pb-article-list div.td-container-border div.td-pb-row div.td-main-sidebar div.td-ss-main-sidebar aside.widget.widget_archive div.block-title span,
div#td-outer-wrap div.wpb_wrapper h2.wpb_heading.wpb_video_heading,
body.page div#td-outer-wrap div div.td-container div.td-container-border div.td-main-sidebar div.td-ss-main-sidebar aside.widget.widget_text div.block-title span
aside .block-title > a, aside .block-title > span
{
color: #faf992 !important;
background-color: #ee0bcd !important;
}
#menu-main-navigation-1 li.menu-item > ul > li.menu-item a
{font-size:1rem; color: #fff;}
#menu-main-navigation-1 li.menu-item > ul > li.menu-item
{background: #ff0099; }
#td_parallax_header_6 > header > div.meta-info > div.td-post-views, #td_parallax_header_6 > header > div.meta-info > div.td-post-comments, header > div.meta-info > div.td-post-views, header > div.meta-info > div.td-post-comments {
display: none;
}
#td-outer-wrap > div.td-transition-content-and-menu > div.td-header-wrap.td-header-container > div.td-header-menu-wrap > div {
width: 100%;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div.td-header-wrap.td-header-container.td-header-style-7 > div.td-header-row.td-header-header > div > a > img {
width: 1021px;
}
body div#td-outer-wrap div.td-header-wrap.td-header-container.td-header-style-7 div.td-header-row.td-header-top-menu div.td-header-sp-top-menu ul.top-header-menu.td_ul_login li.menu-item {
display: none;
}
body.single div#td-outer-wrap div article div.td-container div.td-post-sharing, div.td-post-sharing.td-post-sharing-top, #td-outer-wrap div.td-module-comments {
display: none;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div div > div div:nth-child(5) > div > div > div.td-visible-desktop > iframe {
border-left: 5px solid #000;
border-right: 5px solid #000;
border-top: 5px solid #000;
}
#td-outer-wrap div.td-a-rec.td-a-rec-id-sidebar div.td-visible-desktop a img {
border-bottom: 5px solid #000;
border-left: 5px solid #000;
border-right: 5px solid #000;
bottom: 5px;
position: relative;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div.td-footer-container.td-container > div > div aside.widget.widget_tag_cloud > div.block-title > span, .td-footer-container .block-title > a, .td-footer-container .block-title > span, body div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-footer-container.td-container div.td-pb-row div aside.widget.widget_text div.block-title span, div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-container.td-pb-article-list div.td-container-border div.td-pb-row div.td-main-content div.td-ss-main-content h4.block-title span, div#td-outer-wrap div.td-transition-content-and-menu.td-content-wrap div.td-container.td-pb-article-list div.td-container-border div.td-pb-row div.td-main-sidebar div.td-ss-main-sidebar aside.widget.widget_archive div.block-title span, div#td-outer-wrap div.wpb_wrapper h2.wpb_heading.wpb_video_heading, body.page div#td-outer-wrap div div.td-container div.td-container-border div.td-main-sidebar div.td-ss-main-sidebar aside.widget.widget_text div.block-title span aside .block-title > a, aside .block-title > span {
background-color: #ee0bcd !important;
color: #faf992 !important;
}
#menu-main-navigation-1 li.menu-item > ul > li.menu-item a {
color: #fff;
font-size: 1rem;
}
#menu-main-navigation-1 li.menu-item > ul > li.menu-item {
background: #ff0099 none repeat scroll 0 0;
}
#td_parallax_header_6 > header > div.meta-info > div.td-post-views, #td_parallax_header_6 > header > div.meta-info > div.td-post-comments, header > div.meta-info > div.td-post-views, header > div.meta-info > div.td-post-comments {
display: none;
}
#td-outer-wrap > div.td-transition-content-and-menu > div.td-header-wrap.td-header-container > div.td-header-menu-wrap > div {
width: 100%;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div.td-header-wrap.td-header-container.td-header-style-7 > div.td-header-row.td-header-header > div > a > img {
width: 1021px;
}
body div#td-outer-wrap div.td-header-wrap.td-header-container.td-header-style-7 div.td-header-row.td-header-top-menu div.td-header-sp-top-menu ul.top-header-menu.td_ul_login li.menu-item {
display: none;
}
body.single div#td-outer-wrap div article div.td-container div.td-post-sharing, div.td-post-sharing.td-post-sharing-top, #td-outer-wrap div.td-module-comments {
display: none;
}
#td-outer-wrap > div.td-transition-content-and-menu.td-content-wrap > div div > div div:nth-child(5) > div > div > div.td-visible-desktop > iframe {
border-left: 5px solid #000;
border-right: 5px solid #000;
border-top: 5px solid #000;
}
#td-outer-wrap div.td-a-rec.td-a-rec-id-sidebar div.td-visible-desktop a img {
border-bottom: 5px solid #000;
border-left: 5px solid #000;
border-right: 5px solid #000;
bottom: 5px;
position: relative;
}
.td-trending-now-title.block-title,
.td-related-title .td-cur-simple-item
{
background-color: #ee0bcd !important;
color: #faf992 !important
}
@media (max-width: 645px) {
.gphy-embed {
width: 100% !important;
}
}
Hi
I have a problem with css after the upgrade to 6.4
When you click on the ads or blocks certain it’s not working
Inside the topic also does not function until the shadow copies
Preview link
http://www.3bia.com/
Thank you
Hi Alin,
I understand that blocks cannot have the desired pagination. But instead of a block, I’d like to use whatever is at work here:
As I mentioned, I found that on some example page, but I just do not know what module that is. I could use it instead of a block if I knew. 🙂
Hi Vesa,
I have already provided a solution here – https://forum.tagdiv.com/topic/showing-blog-links-with-equally-sized-images-and-texts/#post-49933 how to add text for next/prev on blocks. I suggest to hire someone to implement this for you as we cannot provide custom work, sorry!
The classic(numeric) pagination is not available on blocks. The theme have 3 types of ajax pagination for blocks – Next/Prev, Load More and Infinite Load.
Thanks!
Hi
The infinite load pagination can be used only on blocks, so you can add a block in content area and chose the infinite load pagination like here: http://screencast.com/t/34AGa7Iz
Let me know how it goes and provide more details if this is not what you mean.
Thanks!
Hi
By default the theme hides the top bar, which includes the registration widget, on mobile devices but you can use custom css to display it, so there is no need to pay for a plugin. You can use this custom css in theme panel > custom css section:
@media (max-width: 767px){
.td-header-top-menu {
display: block!important;
}
}
@media (max-width: 767px){
.td-header-sp-top-menu{
left: 15px!important;}
}
@media (max-width: 767px){
.td-header-sp-top-menu .td_data_time{
display: none;
}
}
You can modify the values as you like. The result should be like here: http://screencast.com/t/C3W4NdBXh
Thanks!
-
This reply was modified 10 years by
Andrei L..