Dynamically inject WordPress Gutenberg Layouts in pages, posts and WooCommerce

Published: 12 October 2021
on channel: Jamie WP
914
37

Introducing our brand new WordPress plugin, Block Injector for Gutenberg and WooCommerce.

Block Injector sales page https://www.pootlepress.com/block-inj...

Timeline
0:00 - Intro
0:10 - What Block Injector does
0:40 - Step 1 - Create your Gutenberg Layout
1:36 - Step 2 - Set the location and position of your Gutenberg Block Layout
3:52 - Step 3 - Set WooCommerce options


How Block Injector works
Block Injector has four different conditional rules that you can define:

Location: Choose which pages, posts or Woocommerce, the content appears on.
Position: Choose where on the page the content should display.
Exceptions: Post IDs to exclude.
Schedule: Date and time-based start and end dates.
We've also added WooCommerce specific location options, including shop pages, category pages, product pages, checkout/cart pages, and account pages.




Reviews
I started my blog in 2008 and it's fair to say that a lot has changed in that time, particularly in terms of how content ranks in Search and what a good User Experience means. As well as producing new content, I'm also having to find time to retro-fix old content, whether that's updating broken links or adding new elements to make the content work better for the modern audience. Block Injector has saved me tons of time by allowing me to insert contact forms into numerous articles in one go while empowering me to set up bespoke advertising slots in specific posts in minutes. While I'll always be working on improving my site, Block Injector has become a trusted friend in speeding up the process and enabling me to deliver a great reading experience for my audience.

Jamie Chalmers (aka Mr X Stitch)

WP Tavern
Block Injector really shines when paired with WooCommerce. The development team added several shop-specific location options. They also expanded on the positioning rules to utilize a range of WooCommerce hooks. This can create a powerful set of tools for store owners, particularly for seasonal sales. For example, users can display a coupon for the month leading up to Christmas.
https://wptavern.com/contextually-dis...
Justin Tadlock – WP Tavern