how to edit Flex Block 3?

Posted in: Newspaper
Post count: 18

Hello,

I want to edit elements in the Flex Block 3 to add/replace code in it:

null

Could you please tell me where I can find this file?

Post count: 18

I want to change echo $this->get_author(); to echo do_shortcode(‘[co_author_boxes]’); for all elements. If I can do this in another way – please let me know.

Thank you!

Post count: 35449

Hi,
Using tagDiv Composer on element you can enabled/disable the options that the block has.
To edit the block in code you need to do it in theme files, unfortunately the code will be lost when the theme will be updated.
To add multiple authors you can use this guide – https://forum.tagdiv.com/adding-multiple-authors-articles/
Thank you!

Post count: 18

Could you please specify where the original code is located?
Thank you!

Post count: 35449

Hi,
The flex block file are on this path:
– wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_3.php
– wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_3.php
Thank you!

Post count: 18

I see that I can’t simply insert the needed data in td_flex_block_3.php
I use tagDiv Composer v2.7 and Newspaper theme v10.3.9.1 and it will be a pain to do an update. Would you please tell me how to edit modules connected to this block? Maybe this approach will work?

Post count: 18

nevermind, all works well, thanks

Post count: 35449

I’m glad it was resolved and the unit is working properly.

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