Skip to content

Tag: Wordpress

2 min readLaravel, My Projects1 comment

Laravel Shortcodes

WordPress based Shortcodes for Laravel 5.x with shared variables, debugbar integration, flexible configuration and other useful features. Github: https://github.com/vedmant/laravel-shortcodes Build powerful and simple layouts using shortcodes in the content or views like this: Installation Via Composer This package supports Laravel Auto-Discover and will be discovered automatically. For Laravel version before 5.5 please add the Vedmant\LaravelShortcodes\LaravelShortcodesServiceProvider::class … Continue reading Laravel Shortcodes

3 min readWordpress40 comments

Using WordPress Media Library in Widgets options

So how to add WordPress media uploader popup to our custom widget? That’s not so hard, hovewer there are a few caveats. Let’s start from our simple widget class, I’d recommend to get example from https://codex.wordpress.org/Widgets_API#Example. Then we will need to add our new option, it will be called “image”. Just copy and paste fields in … Continue reading Using WordPress Media Library in Widgets options