- 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 Bettina,
Can you show me how to arrange everything in one line in your demo with below conditions
– Use Dropcase for the numbers. Round circle i mean
– Has only one line of text and not multiple.
https://demo.tagdiv.com/newspaper_recipes/td-post-girl-scout-cookie-samoa-shake/
i have tried block editor as mentioned before and don’t se anyway to do the horizontal alignment.
Is there a way i can share a video with you to know what i mean.
Thanks,
Gautam
Hi, i think it’s a little late but perhaps this works for somebody 🙂
This is an add for the function render:
//get the js for this block
$buffy .= $this->get_block_js();
function dismount($object)
{
$reflectionClass = new ReflectionClass(get_class($object));
$array = array();
foreach ($reflectionClass->getProperties() as $property) {
$property->setAccessible(true);
$array[$property->getName()] = $property->getValue($object);
$property->setAccessible(false);
}
return $array;
}
$array=dismount($tdb_state_single);
$parcial1=$array[“wp_query”];
$author=cap_get_coauthor_terms_for_post($parcial1->queried_object_id); //function for get the coauthor for post: #####
Right now i’m suffering with a different implementation for the co-author in the post perhaps you could help me:
function render( $atts, $content = null ) {
parent::render( $atts ); // sets the live atts, $this->atts, $this->block_uid, $this->td_query (it runs the query)
global $tdb_state_single;
$post_author_data = $tdb_state_single->post_author->__invoke();
$add_text_pos = $this->get_att(‘add_text_pos’);
$buffy = ”; //output buffer
$buffy .= ‘<div class=”‘ . $this->get_block_classes() . ‘ tdb-post-meta” ‘ . $this->get_block_html_atts() . ‘>’;
//get the block css
$buffy .= $this->get_block_css();
//get the js for this block
$buffy .= $this->get_block_js();
//NUEVOS AGREGADOS
if ( function_exists( ‘coauthors_posts_links’ ) )
{
wp_reset_query();
wp_reset_postdata();
$buffy .= ‘<div class=”tdb-author-name-wrap”>’;
$buffy .= ‘<style>
.tdb_single_author a{vertical-align:unset !important;}
</style>’;
$buffy .= ‘<span class=”tdb-author-by”>Por ‘ . coauthors_posts_links( null, null, null, null, false ) . ‘</span> ‘;
}
$buffy .= ‘</div>’;
$buffy .= ‘</div>’;
$buffy .= ‘</div>’;
return $buffy;
}
This print two times my post content i know it’s for the wp_reset_query but i don’t know how to make it work in an easy way, not the hard one.
Hello team,
I have added a background image to the column. If I look at it from a PC (desktop), I scroll and the background image is fixed, and the blocks move over the background image.
But if I look at the same column from a mobile phone, the background image is barely visible (I don’t see the clouds), and the background image is not fixed, I scroll and the image also moves.
Can this be solved?
I attach a video with the problem: https://vimeo.com/736096166
We need accordion to display content on our posts and that’s one feature we would like to have and currently missing in Newspaper theme. Is it possible for you to add this feature?
Hi,
i’ve created a CPT and it’s taxonomies and want to replicate this page https://cloud.tagdiv.com/#/single/category/Category/566 but i can’t find this block in the cloud library.
Why the installed tag library isn’t complete (https://imgur.com/NwhwCGP)?
On the front end in the cpt category page i see archive page instead of a proper category page, why (https://imgur.com/hnVOVJf)?
THX
Hi,
Most of the time this situation appears when it is a plugin or some settings that are blocking the theme builder request. My suggestion is to try only with tagDiv plugins and in case that the problem persist, then please do a full backup for your website and contact us via mail at contact@tagdiv.com, include wp-admin and cPanel access, also provide the link of this topic so we can identify you. We’ll try to check it as soon as possible.
Thank you!
Hello,
There are a few elements that consume CPU, from the theme. Normally that would not be a problem, but for a larger website with high traffic, and depending on the elements used from the composer, that will affect the performance. To name one such element, that is the ajax pagination, I see you are using quite a lot of it, for all the blocks I believe – https://i.imgur.com/JfcYH6C.jpg
Ajax pagination, like the next/prev, load more button etc and also the infinite loading, will consume CPU. They are supposed to consume CPU, or they would not work otherwise.
I would suggest trying to reduce the usage of ajax pagination, clear the cache, and that should have a positive impact on the performance.
I wanted to suggest to try cleaning the database – https://www.wpbeginner.com/plugins/how-to-clean-up-your-wordpress-database-for-improved-performance/ Or look for a plugin that does this regularly automatically, there should be some that can do this.
I can say that I have seen high traffic websites using database cleaning/optimization plugins, whether they are used in an automatic way or manual, with great results. But that doesn’t quite mean that this will have the same result across all the websites. Each website is different. Maybe try the plugin you mention for a while, to see if it helps.
Thank you!
Thanks but tried all that, didnt work. I think the problem is the text in WP Editor isnt actually appearing for some reason. Because if I close the editor without any change, the previously saved text remains on the live website. But if I add anything into the blank WP Editor, then the new text is saved and appears on the live website.
I disabled all ad blockers and tried on different browsers, and get the same problem.
Any other suggestions?
Hi there,
following some gtmetrix howto’s i learn the magic content-visibility thing…
my website is really big and i get a really bad score in terms of loading time, so i try my best to solve the problem.
I manage to get from F to D and at the moment, the only thing i need (it seems) it’s to Avoid an excessive DOM size so i search in the web and the only thing i found it’s to paginate or reduce the things inside the page… ok … it’s not my case…
but i found also this CSS properties : https://web.dev/content-visibility/
how can i tag rows or flex blocks with this css rule?
thanks
I would like to customize two blocks of the footer, the ones that show news and categories and be able to include custom links. I’ve been looking at how to do it from the widget but I can’t find a way to change this content, is there any way to change it?
Hi,
Unfortunately, at the moment that option isn’t in our theme. The options that we have now are for the featured video and it will be apply only inside the article -> https://i.imgur.com/tOVUAkC.png also for flex block to popup the featured video -> https://i.imgur.com/jiRAEhR.jpg
Thank you for your understanding!
Hi,
Thank you for your waiting. There has ben made an work around and the problem can be fixed now by simply disable the tagDiv Composer and tagDiv Cloud libraries, delete those plugins and reinstall them from Newspaper > plugins, after that in the theme panel a new option will be displayed under the Blocks settings -> https://i.imgur.com/k7jlJki.png
This method can be done by all users that have the Newspaper v11.5.1
Thank you for your time!
Hello,
You can change the color with tagdiv composer, select the block and go in the tab Style -> https://i.imgur.com/9TBhkqR.jpg
Thank you!
Hi,
as you can see i setup the flex block 3 with a category (that contains 4 video article) but the frontend (and also the backend) doesn’t show anything.
i double check the category and i have one with that id and is populated by video articles.
But …
i try also to modify the flex block but unfortunately it show posts only when i set the filter to “all categories”.
Thanks
Hi,
Sorry for the late reply, I was on vacation with my kids for a few days.
I assume you mean the little overview: “New in the calendar”
This is solved quite simply: EventOn are simple posts that only appear on the calendar page. I took a Flex block 1, PostID is entered “ajde” and Multiple taxonomies filter and Post Type “ajde_events”.
Content preloading disabled, limit post 5
that’s all
Thomas
Hello,
The tagDiv Speed Booster plugin has become a deprecated plugin, so please uninstall it.
You can use flex block 1 and design it as you want -> https://i.imgur.com/QIESTlS.png
Thank you!
Hi Mukesh,
Can you please let me know how did you made the update?
Did you use the theme panel option to update the theme?
If the theme update has been manually made, then, please be sure that the old theme and old plugins were removed and not overwritten.
1. Usually the “Invalid reply from server endpoint error” is caused by insufficient WP_Memory_limit, if you’ll set it to 256M, and is still not working, please double it and check the rest of the settings from our guide -> https://forum.tagdiv.com/requirements-for-newspaper/ also make sure that you are using SSL and you have a good bandwidth
2. This problem with the td_block_3_widget please check to be sure that the tagDiv Standard Pack plugin is enabled (this can be installed and enabled from Newspaper > plugins).
I hope this will help you!
Hello,
I just checked and seems you have one H1 on the page https://i.imgur.com/bjnwEyZ.png on the title of the block, you can set one h1 on the logo -> https://i.imgur.com/NKp3M3y.png
Thank you!
Hello tagdiv,
I noticed with the ‘single post share’ block, there is no option for secondary colors that you can use for hovering : https://prnt.sc/0gDGV2QLNCNt
Has this been done on purpose? Is there any other way I can add specific color for hovering?
Thank you!
I am trying to use this block to add a custom short code, or any text for that matter, and there is no save button on the test popup window. saving on the left menu bar area doesn’t update either.
Hello,
I installed Convertkit Plugin for WordPress, but the Convertkit Form is not showing on the website https://parenting20.ro/. What appears is just a code like [convertkit_form form=”467478″] if I try to add the form from Classic Editor, or appears nothing online when I try to add it from Block Editor, although it appears ok in the editor.
It is been 2 months that I cannot find a solution for this problem.
Please help!
Thank you!
I am getting multiple errors after updating to 11.5.1
1. Invalid reply from server endpoint – when trying to use cloud library
2. The “td_block_3_widget” block was affected by errors and may not function properly. Check the developer tools for more details.
Please see attached image: https://prnt.sc/lDh_LdAewNKO
Looking forward for an fix update
Hi, I need to use the category template on an actual page. However, when I go to load the cloud templates, it is now showing me the category templates, only blocks and homepage templates.
How can I use the category template from the cloud database on a standard page?
Hi everyone, I would like to disable the hover effect in the Big Grid Flex 2 block. Currently if you hover over the block, the images are zoomed in. I would like to disable this at all. Is there a way in the settings to disable the hover effect? Unfortunately, I did not find anything about it.
Kind regards
Isabell Nölle
Hi,
This is a known issue while you are using the tagDiv Composer and this option can interfere with our builder and block some js scripts. We recommend you disable the Rocket Loader -> https://forum.tagdiv.com/cloudflare-cdn/
Thank you!