Apply API on functions.php file

Posted in: Newspaper
Post count: 22

Hi,

Is it possible to use the API just by adding it on the functions.php

I wanted to use this API(https://forum.tagdiv.com/td_api_thumbupdate/) but I don’t want to put it into a plugin.

Is there an instruction on how to just put and call it inside functions.php?

td_api_thumb::update(‘td_100x75’,
array(
‘name’ => ‘td_100x75’,
‘width’ => 100,
‘height’ => 75,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘small’,
‘used_on’ => array(
‘Module 6, 7’, ‘Block 1, 2, 7, 8’
)
)
);

Thanks

Post count: 23312

Hello,

Here is talking about API Theme implementation which is made through such a plugin td-api-plugin. You need to check our documentation from here -> https://forum.tagdiv.com/the-plugin-method/ Also, notice that API implementation is not covered by our support 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 implementation at the moment, sorry!

Thanks for the message!

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