I found the file to manually edit the defaults for now but it would be great to have a settings page with options. Is there anyway to can help with coding?
plugins\flex-posts\blocks\list\block.js
Plugin Author
Tajam
(@tajam)
Yes, you can change default values from block.js. If you already have the settings page (there are many tutorials to create a settings page), you can get the values with get_option()
, and then you need to add the values into the wp_localize_script()
argument in block.php, so you can use the values in the js file.
I put a copy of the plugin in GitHub so it can be worked on easily. https://github.com/a4jp-com/flex-posts Are you in GitHub? I’ll add you as so you can control stuff there as well if you like.
-
This reply was modified 11 months, 3 weeks ago by
a4jp . com.
Plugin Author
Tajam
(@tajam)
Sorry, we don’t use github yet. We use only private repository for now.
Okay. I’m happy to add code when the settings are open. I’m sure lots of others will also help out. We all love open source stuff.