Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Re-branding the example plugin #38116
    munirkamal
    Participant

    Hey Zac,

    Yes that code is indeed related to Dynamic block and Dynamic Alt block. So why is it break after changing the brand string only? Any Idea? And well I am trying to build a multi block plugin. I will share with you as soon I got something ready. Still gettingggg staaarteed 🙁

    Thanks for you help.

    in reply to: Re-branding the example plugin #38038
    munirkamal
    Participant

    Hi Again,

    Thank you for your response. I’ve almost made it work. with one issue only which is related to dynamic blocks. After the change I am getting this error.

    Fatal error: Uncaught Error: Call to undefined function register_block_type() in /app/public/wp-content/plugins/blocks-ultimate/jsforwp-blocks.php:137 Stack trace: #0 /app/public/wp-settings.php(305): include_once() #1 /app/public/wp-config.php(87): require_once('/app/public/wp-...') #2 /app/public/wp-load.php(37): require_once('/app/public/wp-...') #3 /app/public/wp-admin/admin.php(31): require_once('/app/public/wp-...') #4 /app/public/wp-admin/plugins.php(10): require_once('/app/public/wp-...') #5 {main} thrown in /app/public/wp-content/plugins/blocks-ultimate/jsforwp-blocks.php on line 137

    Also for others who may try to rebrand the plugin, remember two things.

    * Do not use Upercase in your string as Block names may not contain uppercase.
    * Do not use “-“ as there are functions also which will break

    Now just need to fix that above error as well 🙂

    in reply to: Theme Compatibility #37872
    munirkamal
    Participant

    Thank you for the response. I will try to find to target more specific selectors first. Let’s see how I go with that.

Viewing 3 posts - 1 through 3 (of 3 total)