Jump to content

Recommended Posts

Posted

Hi everyone!

You’ve probably seen embedded product cards directly in articles on sites like Allegro?

allegro.thumb.webp.2603b9ff4afbcbf227c49cac06d392eb.webp

I was using Hanna Code but found its capabilities limiting for my needs, so I decided to fork it and create Embedr - a more feature-rich version:

Key Features:

  • 🎯 Dynamic content blocks via ProcessWire selectors (not just static code)
  • 🔄 Live preview directly in admin interface
  • 🎨 Built-in visual card builder (UIKit-based) - no PHP required!
  • 📝 Custom PHP templates for full control when needed
  • 🏷️ Reusable embed types system
  • 🔍 Debug mode with comprehensive logging
  • Guest-safe - works for all users out of the box

Quick Example:

Create an embed with a selector:

Name: featured-products
Selector: template=product, featured=1, limit=6
Type: products

Insert in text:

((featured-products))

Done! The module automatically finds pages and renders product cards.

Need custom design? Just create a PHP template at /site/templates/components/products.php

GitHub: https://github.com/mxmsmnv/Embedr

Give it a try and let me know what you think! 🚀

  • Like 4
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...