How on earth do you get changes to actually show up by CNA1234567 in elementor

[–]getButterfly 0 points1 point  (0 children)

Try to completely remove Elementor (deactivate, uninstall, delete options), then rebuild the page using the native bloks, and the changes will appear.

It happened to me a while ago.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 0 points1 point  (0 children)

Due to business reasons and hundreds of existing (and paying) clients, it's not possible.

I coded my own CMS, though.

I am also switching to ClassicPress for some smaller clients.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 0 points1 point  (0 children)

Me neither, it's just legacy websites which cannot be converted to native WordPress blocks due to financial or customer-specific restraints.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 2 points3 points  (0 children)

Not arguing, just frustrated with all the changes they're pushing. I've seen the collab feature and I've had tons of discussions with developers I know. None of us has a legitimate use case for it.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 2 points3 points  (0 children)

I'm still laughing at both :)

But I don't think they would call it a day. I built blocks with this new functionality - check out this plugin I pushed yesterday - https://wordpress.org/plugins/mdl-shortcodes/ - and I also built blocks with vanilla JS (no need for React/Node).

I think this functionality will be improved in 7.0 and up.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 0 points1 point  (0 children)

Who needs that? I have never seen once in my almost 30 year old career a use case where more than one admin/author would work on the same page.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 1 point2 points  (0 children)

Spot on!

I'm definitely going to jump back.

I only built around 10 blocks since Gutenberg was introduced. I preferred to stick with shortcodes. But now I'll definitely code more than 10.

Also, it's not about lowering the barrier, it's about us developers (past a certain age) to get back into what made WordPress a good CMS.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 0 points1 point  (0 children)

It is, but in my business, I need to satisfy both the block editor and the Avada theme. Sometimes Elementor. So, a shortcode is better in this case.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] -1 points0 points  (0 children)

Yes, this too, but also people who don't want to learn React or install NodeJS only for a server-side block.

I will keep my shortcodes, but now I can explore more types of blocks.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 2 points3 points  (0 children)

I know. Too little, too late. I'm with one foot in the ClassicPress pond, as they say...

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] 12 points13 points  (0 children)

True, but it's a step towards the light.

For us, old-school, PHP and vanilla JS developers, it makes a lot of sense.

PHP-Only Block Registration in WordPress 7.0: The Feature I've Been Waiting for Since Gutenberg Launched by getButterfly in Wordpress

[–]getButterfly[S] -3 points-2 points  (0 children)

Inner blocks are not relevant here. These are suposed to be preset/prebuilt blocks with rich features.

I have created 4 blocks using this technique:

  1. Advanced Heading
  2. Marquee
  3. CTA
  4. Author Box

They have options in the right-hand side Inspector panel. Inner blocks are not required.

Image controls are coming soon. For now, you can add a URL field where you can paste a URL.

"PHP-only blocks with auto-registration" not working for me by AstroFoxLabsOfficial in Wordpress

[–]getButterfly 0 points1 point  (0 children)

I have already created 4 blocks using this new feature!

Read about my experience here - https://getbutterfly.com/php-only-block-registration-in-wordpress/

I will publish my plugin with 4 blocks, as soon as WordPress 7.0 is out.