Hello,
Before latest update, I was using a custom block with custom logic (not available with flex block).
Now it doesn’t work as the oldest api plugin is not used anymore.
I checked the new creative plugin, but I don’t understand how I can add a filter tab to my custom block ?
My old syntax was something like this :
td_config::get_map_filter_array(),
td_config::get_map_block_ajax_filter_array(),
td_config_helper::block_font(),
td_config_helper::module_110_font(),
td_config::get_map_block_pagination_array()
How can I get the same result with the new plugin ?
Thanks !
Hello !
Using the tagDiv Composer you are able to filter the blocks content. Simply go here: https://www.screencast.com/t/jyyZwp9fP and set the filters you want.
Unfortunately we can offer support only for this plugins: https://www.screencast.com/t/PaXgnivgK6
Thank you !
Actually I’m following this guide https://forum.tagdiv.com/developer-info/ , but I want to be able to add a filter tab to my custom block (in td_api_block::add) like I did with the previous version of Newspaper! (with td_config::get_map_filter_array() which doesn’t work anymore).
Hi,
This guide -> https://forum.tagdiv.com/developer-info/ is made for advance users/developers to be able to crate a compatible plugin with our theme ( for example to create new blocks ), you need to do it yourself through the code and if you are not aware of the steps which are needed to take, in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thank you for your understanding!
But it was working really nice for months before the latest update! Our custom plugin (block and module)
Now we get this error in td_api_block::add
Fatal error: Uncaught Error: Call to undefined method td_config::get_map_filter_array()
Is there any other simple way to call this method inside td_api_block::add or is it more complicated?
Thanks!
Hi,
Most of the theme files were moved into the tagdiv composer plugin as per the requirements of envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/
The easiest way it will be to make an downgrade to Newspaper v9.6k, in this way you’ll be still able to use the api.
Thank you!
Thank you Calin,
I think I will do it as the ultimate solution…
In the meantime I’m trying to use flex block as an alternative, but when I save it, it does not appear in the widget available in classic widget section of wordpress. Can you confirm that flex block saved in Composer are not available as a widget in WP ? THanks
Hi,
The elements from tagDiv Composer can be use only with tagDiv Composer, those can not be set in widget, sorry!
You can get the Newspaper v9.6.1 from here -> https://forum.tagdiv.com/topic/important-new-update-newspaper-9-7/
Thank you!