How to create a new flex block

Posted in: Newsmag
Post count: 23

Dear support,
i need to create a new “Flex block 1” to be customized by my own. So i tried following this tutorial usign the Theme API:
https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
but when i substitute the code from the following paths:
td-composer\legacy\Newspaper\includes\modules\td_module_flex_1.php
td-composer\legacy\Newspaper\includes\shortcodes\td_flex_block_1.php
it just doesn’t work.

Can you please point me at the right files to be included and initialized in order to create a new custom Flex Block 1?
Thank you very much.

Post count: 35449

Hi,

Please notice that this is only for advance users, also in order to achieve a new flex or block you may need to change in different files from theme, also is all these can not be set in a child you’ll lose all when you’ll make a theme update.

Thank you for your understanding!

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