Creative plugin and filter tab

Posted in: Newspaper
Post count: 12

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 !

Post count: 18283

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 !

Post count: 12

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).

Post count: 35449

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!

Post count: 12

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!

Post count: 35449

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!

Post count: 12

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

Post count: 12

And last question : Where can I download the 9.6 version? I was using 8.* before upgrade. On Envato, I can only download the latest version. Thanks.

Post count: 35449

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!

Post count: 12

Thank you Calin, I downgraded do 9.6.1 and it’s works now.
I hope that flex box will be available as a widget one day.

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.