- 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
Hello,
can you please tell me:
1.How can i change the dimensions of thumbnail image to the block elements? for.ex block 4
2.Is it required to regenerate thumbnails every time i upload a post?
3.How can i change the dimensions of slide element?I want lower height.
4.How is possible to remove some elements from Category pull-down filter?
5.Change logo dimensions?
Thank you
I added the code and its fixed, but now i see a black flash when i refresh the page. How to remove the black flash?
I changed all the article titles in the ‘modules and blocks’ section (see here https://imgur.com/Rjbajmw) and my grid titles are still white. This is super annoying. Where can i change the color of my grid titles? I dont see the setting.
Hi Vlad,
I am not sure where to go to make the changes you recommended. Your screenshot does not look like what I see. Are you using the Theme Panel to make changes or something else? Where do I go edit the blocks filter?
Thanks!
Hello,
I use a custom post widget using td_global_blocks::get_instance('td_block_7')->render('sort' => 'popular') structure. Is it possible to display the most popular posts during the last 1/7 days? I activated the 7 days post sorting option from admin.
Also, is there any known plugin integration that makes possible to create a widget that display the most shared articles on social media?
Thanks.
I know where the loop.php is located, I am wanting to know where in loop.php I should input this code
$adcounter++;
if (is_category()) {
if ($adcounter == 2) {
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
}
elseif($adcounter == 4){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_2"]‘);
}
}
That was mentioned by Catalin back in 2017 since the format of loop.php has changed so much since then.
Thanks
Hello !
You can edit the blocks filter in order to display the latest articles as you can see here: https://www.screencast.com/t/irufndkYXVlL
Thank you !
Hello !
You should be able to edit the block using the tagDiv Composer as you can see here: https://www.screencast.com/t/raOfQAOw2
I hope this was helpfull !
Thank you !
Hello !
Please follow our tutorial on regenerating your thumbnails: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you !
Thanks Vlad!
It works inside the post. I have already achieved it also using td_post_video meta keys.
The issue is that I would like to make the snippet work in a single page template. But, it does not work there… Any ideas to point me?
One example of the use could be to update an icon block or a button block via theme API in a way we clould use the featured video URL in the video popup field…
Thanks!
-
This reply was modified 6 years by
manasek.
Column Text is now not working for me on Firefox as well. I can add text but it does not save what I added. Is there any other block I can use to add shortcode?
Hi,
I would like to make some modifications to the homepage in the default template, e.g. add a different block, move some elements elsewhere, add some elements from another template, etc.
Is it possible? Because e.g. i can’t delete some rows? Is the only solution CSS / tagDiv Composer or can I using e.g. WPBakery Page Builder.
I am asking for advice how to customize a template quickly and easily?
Best regards,
Mario
I have the exact same problem. When having a sidebar, the blocks (for example Block 7) display one post on every row. Look at socialisterna.org
Hello !
That can be removed by going in Theme Panel – Block Settings – Meta Info on module / Blocks as you can see here: https://www.screencast.com/t/zZqfevZdnAX
Thank you !
Hello! We have a problem editing items. When trying to replace images in blocks, we get the error: “Invalid data Current state has involved an issue”. Please help solve the problem. Screenshot: https://send.firefox.com/download/38aaeb4ffcb165b0/#2q6CiHpXBsOc0u3OiYm21w
Dear Newspaper Team!
I am trying to build a sitewide header that uses the Element “big grid” to display fixed content. Is that possible? If so, i need to edit the big grid design (e.g. remove header and author) – where would I do that? Also, I do not understand the two header related things:
A) Do I need to use a cloud template to make a custom header? Could find no way of doing it without!
B) Howe does the settings under “BLOCK HEADER TEMPLATE” influence the header design if I am using a cloud template that I edited? I am confused here!
Thank you in advance, kindest regards, Stefan
Hello,
I would like to remove the small comment box that appears next to the title of the news.
The normal comments I have uninhabited, but I can not find a way to remove this small black block, which also appears in most news number 0.
In which route can I edit this small box?
This is the page: https://www.sophiadigital.es/
You can see in the first three news that little black box with the 0 blank …
Thank you 🙂
Hello !
Add this code to functions.php file and let me know if this fixed your issue: add_action(
'admin_head',
function() {
echo '<style>.block-editor-writing-flow { height: auto; }</style>'; // phpcs:ignore
}
);
Paste the code here: https://www.screencast.com/t/kMKPrLsg7Tk
Thank you !
Hi. When I edit a new post on my page: https://www.privatøkonomi.net/, the settings, Yoast and other blocks overlap the text itself. It’s happening on all posts and pages.
I’ve tried:
1. deactivating all plugins one by one, before clearing cache. None helped fix the problem.
2. Removing any custom CSS code.
3. Updating Newsmag to latest version.
4. Looked for fixes in the theme panel.
Here’s a screenshot of what it looks like, plus a list of my plugins:
https://imgur.com/OFto0e8
https://imgur.com/EzpVmAU
https://imgur.com/c6IR2X5
Could you please help me figure this out? My theme runs the tag-div composer.
Try adding following code to theme’s functions.php file.
add_action(
'admin_head',
function() {
echo '<style>.block-editor-writing-flow { height: auto; }</style>'; // phpcs:ignore
}
);
Hope this will help
This is know issue related with chrome browser.
Add following code to theme’s functions.php file.
add_action(
'admin_head',
function() {
echo '<style>.block-editor-writing-flow { height: auto; }</style>'; // phpcs:ignore
}
);
Hope this will help
This is know issue related with chrome browser.
Add following code to theme’s functions.php file.
add_action(
'admin_head',
function() {
echo '<style>.block-editor-writing-flow { height: auto; }</style>'; // phpcs:ignore
}
);
Hope this will help
Here is the code:
<div class=”embed-container my3″><iframe src=”https://clips.twitch.tv/embed?autoplay=false&clip=OutstandingPeppyVampireRalpherZ” frameborder=”0″ allowfullscreen=”true” height=”378″ width=”620″></iframe></div>
I add it into an HTML block but it isn’t centered, is there any way to get it centered?
I don’t know if this is the right place to ask, but, hopefully I can get some help, thanks!
Hello !
Unfortunately you cannot add search bar into blocks.
We are sorry for the inconvenience !
Thank you !
ohk sir i want to add serch bar in the block section page i have send the screen short wheir i want to use serch bar
Hi,
How can I create custom editable text ‘block’ for posts – that I can use (several times if needed) inside the posts?
I’m looking to do the following (Bold Will be Static, Italic – I should be able to change)
—–Start—–
Overview:
editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text –
What you should know
editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text – editable text –
Time: 33 Hours
Date: 77 Days
Where: Click Here
—–end——
thanks