Support the ongoing development of Laravel.io →
posted 10 years ago
Views Blade

What is I want to do is shortcodes like on WordPress. When I get post content from database I want to apply blade filters. I have extended Blade with shortcodes like @menu or @widget. When there is shortcode (e.g @widget) in post i want to run function which is described for @widget shortcode with Blade::extend function. Thanks

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Gugis gugis Joined 6 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.