- 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,
Sorry, you should check all of our available blocks from here -> https://demo.tagdiv.com/newsmag/block-1/ and check how which one you like and adapts to your wishes.
Thanks.
You could use a CSS that will hide the sub-category by the position number. For example the Style hunter is number 4 in the list of sub-categories
– http://prntscr.com/mgdw7p
The code to hide it is like this – http://prntscr.com/mgdye0
Code used in example here
.menu-item-291 .block-mega-child-cats a:nth-child(4) {
display:none;
}
I used the ID of the menu-item so that the code will apply only to that menu item
– http://prntscr.com/mgdz7v
Hi,
I think you want to change the space between menu and first block on the page if is so then you’ll need to set on the first row the margin top ‘-48’ https://www.screencast.com/t/fWpleU759Jw
Using css -> https://www.screencast.com/t/poM2zmAyHJ
In order to translate the login form please go in Newspaper>theme panel>Translations> Translations -> https://www.screencast.com/t/OlpU9vHOU
Hope this will help you!
Thanks.
I have a problem with server scaled images, specifically the thumbnails of the author of post in the Flex block 1 blocks on entry pages.
Ahhh got you, thanks for that. One more question, i’m having some issues with certain images not showing up properly in my media library. Also, I had a block in my sidebar on my homepage which I had to delete because the thumbnails were sometimes missing upon page load. Has something happened since switching from Divi to my images? If so, can I sort it? Thanks!
Hi,
If you want to achieve that you can do it only for content post -> https://www.screencast.com/t/ZRyW9QvRAyc , unfortunatly the modules/blocks do not have any option to do that, sorry.
Thank you for your understanding!
Hi,
In order to make sure that the post are not getting to repeat you can set on blocks an offset number -> https://www.screencast.com/t/PFZWC4mi for example if you are displaying in all blocks 3 post you can set on the second block to start from 3 -> https://www.screencast.com/t/i1OsSCu2E4 also make sure that all blocks are sort order to latest -> https://www.screencast.com/t/iWklA6xSPlif
Hope this will help you!
Thanks.
Hello.
I am trying to update the available image sizes on Flex Block 1 (Layout > Article Image > Image size)
I have tried with api function update_key, but i’ve failed, so I had to modify td_config.php file
Can you help me on how can I pass my own parameters on that selectbox?
Hi,
Shouldn’t be a problem deleting elements in a page, and adding new ones. So for example an element can be deleted by clicking the delete icon – http://prntscr.com/mgba8u
or by dragging it to the right corner – http://prntscr.com/mgbam6
Then you can add new elements, by dragging and dropping them from the left composer sidebar in the desired location
– http://prntscr.com/mgbb3y
Here is a composer guide – https://forum.tagdiv.com/tagdiv-composer-tutorial/
And a block settings guide – https://forum.tagdiv.com/block-settings-guide/
If I misunderstand the problem, or you have more questions, please let me know.
Thanks
Hi,
If you are using blocks like Block 12 -> https://www.screencast.com/t/zV33fy60XR
than you can change the name from -> https://www.screencast.com/t/Gd7oDVNRSK -> https://www.screencast.com/t/calZkQv2b
Or you can use custom css to hide it -> https://www.screencast.com/t/zPvvcnyRobCS
.td_module_11 .td-read-more {
display: none;
}
The above custom css will hide all buttons for read more from module 11, just set it in Newspaper>theme panel>Custom code>Custom css
Thanks.
Hi,
Flex blocks will be the ones to use in this layout, predefined blocks can be placed there but they may not look good.
Widget sidebars can be created from a few places – https://forum.tagdiv.com/sidebars-tutorial/
Thanks
Hi,
That depend on headers, if those are form blocks you can set the color with tagDiv Composer -> https://www.screencast.com/t/qayFrkSuT or form widgets -> https://www.screencast.com/t/ixTy2vnarYH also you can use custom css.
Thank you for your understanding!
Hello~
How can I speed up my mobile site.
1. My mobile site speed is ‘3’ in ‘PageSpeed Insights’
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fpapacurator.com%2F
2. I did your guide
https://forum.tagdiv.com/how-to-make-the-site-faster/
1) Enabling Gzip compression
: Already did in hosting service
2) Set the Leverage Browser Caching
: I did below code in .htaccess
3) Optimize images
: I use ‘EWWW Image Optimizer’
4) Use a cache plugin (WP Super Cache)
: I set WP Super Cache
5) Remove render blocking css/js –
using the TagDiv SpeedBooster plugin (advanced users)
: I tried but nothing changed
target ‘FILE-ID’
…td-multi-purpose/style.css?ver=72ece2d…
(papacurator.com) 68 KB 2,130 ms
code ‘FILE-ID’
$this->move_style_to_footer_queue(‘td-multipurpose’);
Hi,
Unfortunately this is the only way to add a new Block and Module, if you want you can try the flex blocks, those have more settings, but I not for sure that you will can achieve what you need, sorry!
Thank you for your understanding!
Hi, I am adding one code in footer script code block. basically, its code of one network as soon as I enter code here my all ads disable.
This I want to achieve
I want to add code near the bottom, just before </body>
update css code
.slidershow, .td-theme-slider,.td_module_slide .td_block_inner{
height: 300px !important;
}
.td_module_slide {
height: 300px !important;
}
Hi,
I am looking for a way to have the “td block slide” module more on a square size.
Right now the “rectangular” size doesn’t show the feature image properly.
See screenshot please https://prnt.sc/mfyl5e
Please advise.
Thank you in advanced
Hi,
Thought this looked too easy. I created a custom ad which inserts a simple image. I then used the tagDiv composer to add an element in the sidebar although the image was not showing. I saved and got out of it then not only was the ad not showing but the blocks below where it was inserted are also not showing.
When I go back into the tagDiv editor the custom ad block is there as well as the other blocks. The image url tested fine. Any clues would be great.
Cheers
Hi – I’d like to have the widget/block title RELATED ARTICLES/MORE FROM AUTHOR as upper and lower case, like this: Related articles/More from author
Is this possible in a standard post like this?
https://jazzjournal.co.uk/2019/01/20/yelena-eckemoff-better-than-gold-and-silver/
I can no find parameter under Theme Fonts to adjust this – do I have to use a post template from Cloud Templates to achieve this?
Many thanks
MG
I’ve changet this:
.vc_row.vc_column-gap-2 {
margin-left: -16px;
margin-right: -16px;
}
into this:
.vc_row.vc_column-gap-2 {
margin-left: -1px;
margin-right: 0px;
}
Is a correct solution or there is a better way to solve?
Is there a way to make sure posts aren’t duplicated, e.g., on homepage, even if you have several separate sections/elements, etc.? I use a 3-post top block, a post loop below, and a custom sidebar. I’d like to be sure no posts are duplicated between all those. Thanks!
Hi Ankur,
Thanks for recognising us!
I am the owner and founder of “The Last DNA”.
Here is your answer:
1. Yes, It is built only on Newspaper theme.
2. I use tag div cloud template.
3. For hover effect: select “element like Post loop or grid or module”—> Layout—-> Hover Effect—-> Shadow
4. For round corner and shadow, you had to change your website’s code. (or contact support for detailed help).
5. Here is my code for my site:-
.sf-menu img {
width: 100%;
}
.tdb-author-box .tdb-author-photo img {
width: 100%;
}
.td-video-play-ico>img {
width: 20%;
}
.post blockquote p{
text-align: left;
}
.td-header-wrap .td-header-menu-wrap-full, .td-header-menu-wrap.td-affix {
background: linear-gradient(to right, #e0e3e44f 0, #daefee 14%, #a7eaef 30%, #84eef3d6 50%, #14beff 100%);
}
@media (max-width: 767px){
body .td-header-wrap .td-header-main-menu {
background: linear-gradient(to right, #00d8ff 0, #e6edec 24%, #e6edec 76%, #24e5bb 100%);
}
}
.td-module-container {
border-radius: 10px 10px 10px 10px ;
}
.td-module-thumb, .td-image-wrap, .entry-thumb {
border-radius: 10px;
}
.td-element-style {
border-radius: 10px 10px 10px 10px ;
}
.td-post-content figure img {
border-radius: 10px;
box-shadow: 6px 4px 15px rgba(0,0,0,0.35)
}
.td-trending-now-title {
border-radius: 50px
}
.tdc-row.td-stretch-content {
padding-left: 30px;
padding-right: 30px;
}
.td-header-wrap #td-header-search {
border-radius: 10px 0 0 10px
}
.td-header-wrap .td-drop-down-search .btn {
border-radius: 0 10px 10px 0
}
.td-header-wrap .td-drop-down-search.td-drop-down-search-open {
border-radius: 10px;
}
.sf-menu>.td-normal-menu>.sub-menu {
border-radius: 10px
}
.td-mega-menu .sub-menu {
border-radius: 10px
}
@media (max-width: 767px) {
.td-scroll-up {
display: block;
}}
.td-scroll-up {
background-color: rgba(0, 0, 0, 0.35);
border-radius: 8px;
width: 45px;
height: 45px;
bottom: 10px;
right: 10px;
}
.td-scroll-up:hover {
background-color: #000;
}
.td-scroll-up .td-icon-menu-up{
width: 45px;
top: 8px;
}
.wp-block-image .alignleft{
max-width: 60%;
}
.wp-block-image .alignright{
max-width: 60%;
}
.wp-block-pullquote{
border-radius:10px;
}
.wp-block-quote{
color: #005f7f;
background-color: rgba(198, 239, 243, 0.16);
border-left: 10px solid #dbebf5d1!important;
padding:10px!important;
}
I am repeatedly getting the following in my error_log and seems to be maxing out the sites resources
PHP Warning: A non-numeric value encountered in /home/aglcxlpdayf8/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 1395
Do you know what may be causing this.
Hi,
So i’ve created this page http://www.motherhoodincorporated.ca/westislandblog/kims-test-2/ and think i’m understanding. the only type of content that will work well in that middle area would be any of the flex blocks, correct?
ALso i can’t see a way to add more sidebars, i see a few that seem to have come when i installed the demo, but i can’t seem to add more. Where do i do that?
Is there a way I can make my “About” page, for example, have the same look as Posts? That is, it would help if I could just have a featured image, sidebar, and the standard editing space where I can just add body text, Heading tags, add media, etc., without using Page Builder. Unless there is some kind of block in Page Builder that will let me just put in all the content as if I were editing in the regular WordPress page editor? One of my main problems is that I want to have the default .td-post-content body text. Most of the blocks I’ve found in the TD Page Builder seem to default to different body text styling…and I can’t find anything as flexible for editing a long page of content with multiple chunks of text, headings, graphics, and links. Thanks!