- 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
How do I make a homepage with tagdiv composer that only lists my latest posts with page number pagination like the default wordpress page main column? The closest thing I see to the format is using Block 21 but it only gives me the ajax next page pagination.
Hi,
Use the code below and place it in Theme panel -> Custom CSS area.
.widget_text .block-title > a, .block-title > span{
background-color:#006600;
}
The result is here -> https://www.screencast.com/t/dwtfRO7NY
Thank you!
Hi,
Unfortunately there is no settings in theme for this and this is not very easy to achieve, but I will try to help you, please try this custom css
.td_block_big_grid_1 .td-post-date, .td_block_3 .td-post-date {
overflow-x: hidden;
line-height: 1.4;
text-indent: -74px;
}
Hope this will help you!
Thank you!
It’s in the ‘Authors Block’
Screenshot: https://www.dropbox.com/s/jhuhjudz87hcvn4/2019-07-23%2005.15.12.png?dl=0
Hi,
Unfortunately that can be done only with custom work, you’ll need to add some functions that can remove the blocks from category page if you are on the category loop/pagination.
Thank you for your understanding!
In the table below, find the tap targets that are too small, their size in pixels and the overlapping target that is too close to be easily clicked.
Tap Target Size Overlapping Target
<i class=”td-icon-close-mobile”></i> 80×18 <i class=”td-icon-font td-icon-mobile”></i>
<a href=”https://banghelala.com/dia-chi-lam-sofa-theo-yeu-cau-o-dau-tai-tp-hcm/” rel=”bookmark” titl 297×15 <a href=”https://banghelala.com/xuong-san-xuat-ghe-sofa-lala-xuong-dong-sofa-uy-tin-chuyen-nghiep-ta
<a href=”#” class=”td-ajax-prev-page ajax-page-disabled” id=”prev-page-td_uid_45_5d36b5c6c9d87″ data 25×26 <a href=”#” class=”td-ajax-next-page” id=”next-page-td_uid_45_5d36b5c6c9d87″ data-td_block_id=”td_ui
<span class=”td-cat-name”>HCM</span><span class=”td-cat-no”>21 34×18 <span class=”td-cat-name”>BỌC GHẾ</span><span class
<span class=”td-cat-name”>BỌC GHẾ</span><span class 68×18 <span class=”td-cat-name”>BỌC GHẾ</span><span clas
<span class=”td-cat-name”>BỌC GHẾ</span><span clas 68×18 <span class=”td-cat-name”>BỌC GHẾ SOF
Hi.
Picture is still wrong on authors block.
Okobserverorg.wpmudev.host
Can you please assist?
Thanks.
Hi,
That is true, the guide doesn’t actually show how to create a block replica and customize it if needed. I will make a note of it and add it on the list, it would indeed be helpful in such a situation to have this in the guide.
The blocks and modules can now be used in a child theme, after the latest update. There are still a few quirks with the child theme but they will be solved as quickly as possible.
Thank you for your suggestions.
Hi,
There are some footers style that are predefined as footer style 1/2 in footer style 3 only the section for footer 1 is predefined -> http://prntscr.com/oiu915 those templates with predefined styles can not be change, if you want tomake some changes you’ll need to try other style like style 3 and add in widgets the blocks/elements you need/want.
If you chose to use a footer page from tagDiv Cloud Library, then you’ll need to edit that footer page using tagDiv Composer -> https://forum.tagdiv.com/footer-templates/
Hope this will help you!
Thanks.
Hi,
The problem is that you have before a background color and the title from the footer blocks are with, after you set the background transparent this is not longer visible
-> http://prntscr.com/oitcmz in order to have the transparent background and to display the titles of posts you need to change the color from footer -> http://prntscr.com/oitdxk
Hope this will help you!
Thank you!
Glad I can help.
The mobile theme won’t work with composer content, only what is possible through the simple mobile editor. So displaying a block on phones when the mobile theme is active is not possible. You can check how the mobile theme looks by visiting this demo with a phone or with a browser emulator – https://demo.tagdiv.com/newspaper_local_news/
However we introduced in he latest update a setting which can now be used to disable the mobile theme per page or post. So for example the homepage on mobile can be made to not use the mobile theme and will display the content from desktop, while the rest of the website will. This was a much requested feature, now it is possible.
The setting is found in the page/post edit screen in Gutenberg – http://prntscr.com/oisnlc
Please let me know if you have more questions.
Hello !
If you mean this section: https://www.screencast.com/t/k5sQN4iZ2 ?
You will have to add the element using the tagDiv Composer: https://www.screencast.com/t/tNdqp1LbC5x
Go to elements and add one of othe blocks / flex blocks and give the title you want: https://www.screencast.com/t/bI7wn2uM9Wtx
I hope this was helpfull !
Thank you !
This code works:
if (document.body.classList.contains(‘category’)) {
if (document.body.classList.contains(‘paged’)) {
document.getElementsByClassName(“td_block_big_grid_1”)[0].style.display = “none”;
}
}
But it only hides the grid. We want to remove the links completely from the page’s source code.
Hi Guys,
I’m sure I am not alone when I say that a lot of the features of Newspaper 9 are great – and as soon as you can sort out the Child theme functionality it will make the management a lot easier.
However, I am sure I am also not alone when it comes to a major shortfall in the support for customisation of blocks. Blocks 9 and 10 are a traditional news snippet style, and the flexibility of the Flex blocks is also good.
However, I would like to request a detailed tutorial that shows how to replicate these blocks. The tutorial here, https://forum.tagdiv.com/developer-info/ is not of any use to someone who wants looping or to have two versions of the same block where one shows tags – courtesy of custom code – and the other doesn’t. I want to have the option to play with the page view at the design level.
Please, please, please can we get a tutorial that addresses this issue.
Thanks in advance.
Gary
after click IMPORT TEMPLATE nothing happend.
It looks like a confirmation popup is behind this popup with a description of the template.
macbook, last OS.
I believe that’s what I have:

This is a screen shot to prevent the browser from interpreting the HTML in that block. Nothing appears in that block including the “TEST” title.
-
This reply was modified 7 years by
stevemanes.
Hi @wpsun,
If the those blocks make part from the page template ( how it is the Page Builder + Latest Articles + Pagination ), then you’ll Need to check in the Appearance >Widgets -> http://prntscr.com/oig87r
or if is a part of page that was build with tagDiv Composer, you can edit with this builder.
Block settings tutorial -> https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Multumesc.
Tot legat de tema mobila. Cum pot adauga block-uri pe prima pagina(nu am pagina statica) ? Pe tema standard folosesc shortcode-urile intr-o functie php, dar pe tema mobila nu le ruleaza.
Merci.
Hi Barbara,
Unfortunately, we do not recommend too much to update the theme via such that plugin because it seems to have some delays regarding on the version of the theme and also, it is possible that update to not be correctly made. Our strong recommendation is to update the theme via FTP way because this is the healthy way to update the theme.
Our list of the available blocks can be found here -> https://demo.tagdiv.com/newspaper/block-1/
Thank you!
Hi,
If you want to display the modified date to your modules on the block, please note that you will need to enable the function from here -> https://www.screencast.com/t/qkeKW85wMd and also, if you want to have the same functionality on the posts, you can do this with a Cloud Template for single which will then apply to all of your posts. Also, if you want to translate this string with another one, you will need to change the name of it from here -> https://www.screencast.com/t/nMYPExpAG7W
Hope this helps!
Thank you!
Hi,
If you are not using featured images, then the code need to be adapt, please provide me a link to your website and some details about the the blocks that you want to change the category background color and I will adapt the code for your needs.
Thank you!
nel css aggiuntivo c’è questo:
.td-pulldown-size {
background-color: #1E73BE !important;
}
.td-post-author-name{
display: none !important;
}
.td-cur-simple-item { background-color: #1E73BE !important;
}
.td-related-title {
border-color: #1E83BE !important;
}
.td-post-category {
background-color: #1E73BE !important;
}
.block-title a {
background-color: #1E73BE !important;
}
.block-title {
border-color: #1E73BE !important;
}
Hi,
I have checked your website and I saw that you are using the Mobile Theme plugin. Please, note that plugin has special functionality for the mobile articles and pages and that’s why you did not bring the blocks on mobile and some of your pages are empty on mobile. For more details about the mobile theme functionality, please check the documentation from here -> https://forum.tagdiv.com/the-mobile-theme/ Also, if you do not like the mobile theme functionality, you will simply disable it from the P{lugins section and the theme will be automatically switched to the general responsive mode.
Thank you!
Hi,
You can check the blocks design on our demo here -> https://demo.tagdiv.com/newspaper/block-1/
-> http://prntscr.com/oidbuy in this way you can chose the blocks that you want to set in sidebar widgets http://prntscr.com/oiddep or in the sidebar made with tagDiv Composer
Hope this will help you!
Thank you!