How to create my own block

Posted in: Newspaper
Post count: 7

I’m a newbie of wordpress. It’s amazing to use Newspaper’s blocks. How to create my own block template? Could you give me some good reference ? thanks!

Post count: 27

Hi.
In newspaper, Blocks are made of Modules.
Tagdiv has a nice little plugin that helps you create a new Block and Module.
Here: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/

Keep in mind this plugin is a bit outdated, hence it doesn’t work with the new newspaper version 7.3.
In any case, It’s possible to make it work. Just follow the instructions and not the default files.

Outdated files are:
/css/style.css
/modules/td_module_77.php
/shortcodes/td_block_77.php

Hope this helps

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