
The plugin allows you to parse all kinds gutenberg blocks and render them in your own template.
Use the filter ‘jinx_block_renderers’ in your theme to render gutenberg blocks.
<?php function my_render_function(array $fields) { echo $fields['url']; } add_filter('jinx_block_renderers', function($renderers) { $renderers[] = [ 'block' => 'core-embed/youtube', // name of the block 'conditions' => [], // default - accepts an array of key value pairs // 'conditions' => [ // 'className' => 'is-style-custom', // strings are used inside a regular expression // 'field' => function($value) { // callbacks will receive the fields value and must return true or false // return $value === 'some value'; // } // ], 'fields' => [ 'url' => [ // name of your parameter 'path' => '//iframe[@src]', 'item' => 0, // 'item' => 9, // if not exists, will return null // 'item': 'first', // constant Jinx\BlockRenderer\Field::ITEM_FIRST // 'item': 'last', // constant Jinx\BlockRenderer\Field::ITEM_LAST // 'item': null // default - returns all results as an array 'attr' => 'src', //'attr' => null // default - returns the results value //'filter' => 'my_filter_function' // filters each matched field ], ], // 'insert' => '//*[contains(@class,"wp-block-")]' // default - inserts rendered block back into the block-wrapper 'template' => __DIR__.'/youtube-video.php', // relative path, templates will handle each field as a variable // 'callback' => 'my_render_function' ]; return $renderers; }); ?> Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Lukas Rydygel
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.
Show Threads posts in a live feed that keeps content fresh, builds social proof, and helps visitors engage on your site.
Collect user insights with a feedback form that gathers valuable input, improves user experience, and helps you understand visitor needs more clearly.

3D cards that highlight important information with depth and motion, capture attention instantly, and help visitors navigate content more effectively.

Collect event responses with an RSVP form that lets guests register easily, saves submissions, sends notifications, and helps you organize attendance efficiently.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.
Use a subscription button to streamline recurring payments, simplify signup, and help increase conversions with seamless PayPal or Stripe integration.
Create engaging stop motion displays with a stop motion player that turns image sequences into interactive animations to boost creativity and visitor engagement.
Show eBay reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions that support higher sales.
Show Google Play reviews for your Android app to build trust, strengthen credibility, and help visitors make confident download decisions.
Use team members blobs to present your staff in a clear, creative format that builds trust, supports transparency, and strengthens brand credibility.
Showcase content with a card carousel that combines images and text, improves visual design, and helps visitors explore key information.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
