Snillrik Restaurant

Snillrik Restaurant

Wordpress plugin

Install on Wordpress

App Details

The idea is that you can create a bunch of different dishes, with images, price, ingredients etc… Then these are used to make up menus that are easily changed from day to day. So a particular use would be a lunch menu where you would want the same menu and shortcode but you want to change dishes every day. You could also have several menus, maybe one for each day of the week.

There are also categories for the different dishes, so if you have like Meat, Fish, Veg, Ice cream etc, the menu will be in that order.

So, the plugin adds th post types Dishes and Menus that can be added and edited the wordpress way. Then you can use the widget to add specific dishes and a shortcode for the menu on a page.

Shortcodes
[snillrik_restaurant_menu menuid=”42″ showcategory=1|0 hideimage=1|0 linktitle=1|0 category=”” orderby=”menu_order”]
If you want to not show the category text chose 0 and if you want to link to the dish page chose 1 etc. menu_order is the order param set in admin on each dish. the orderby can be set to common wp orderbys too, like date or title.

[snillrik_restaurant_dishes]
A simple list of dishes sorted under categories. Intended to be a side menu etc.

Filters
They default to snillrik_lm_menu and snillrik_lm_dish witch might not be tha pretty, but it’s unique… So if you want the urls to be something like /dishes/ or /food/, use these.
add_filter(“snillrik_lm_rewrite_menu”,function($thename){
return “menue”;
},10,1);
add_filter(“snillrik_lm_rewrite_dish”,function($thename){
return “dish”;
},10,1);

Template / html for each dish.
The default template is a bit basic, but it’s easy to style and it’s a good start. If you want to change the html for each dish, use this filter.
add_filter(‘snillrik_restaurant_dishbox_html’, function ($return_html, $atts) {
$post_title = $atts[‘title’];
$tag_strings = $atts[‘tags’];
$content_str = $atts[‘content’];
$ingredients_str = $atts[‘ingredients’];
$price_str = $atts[‘price’];
$thumb = $atts[‘thumb’];
return “

$tag_strings
$post_title
$content_str
$ingredients_str

$price_str

$thumb

“;
}, 10, 2);

Active Contributors

  • Mattias P Kallio (Training)
  • Pricing

    Starting from $0 per month.

    Check Out the Scratch Card Widget

    By Common Ninja

    Scratch CardTry For Free!

    App Info

    Rating

    Reviewers

    1 reviews

    Tags

    lunch menu
    restaurant
    shortcodes

    Developed By

    mattiaspkallio

    Quick & Easy

    Find the Best Wordpress plugins for you

    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

    Testimonial plugins for Wordpress

    Galleries

    Galleries plugins for Wordpress

    SEO

    SEO plugins for Wordpress

    Contact Form

    Contact Form plugins for Wordpress

    Forms

    Forms plugins for Wordpress

    Social Feeds

    Social Feeds plugins for Wordpress

    Social Sharing

    Social Sharing plugins for Wordpress

    Events Calendar

    Events Calendar plugins for Wordpress

    Sliders

    Sliders plugins for Wordpress

    Analytics

    Analytics plugins for Wordpress

    Reviews

    Reviews plugins for Wordpress

    Comments

    Comments plugins for Wordpress

    Portfolio

    Portfolio plugins for Wordpress

    Maps

    Maps plugins for Wordpress

    Security

    Security plugins for Wordpress

    Translation

    Translation plugins for Wordpress

    Ads

    Ads plugins for Wordpress

    Video Player

    Video Player plugins for Wordpress

    Music Player

    Music Player plugins for Wordpress

    Backup

    Backup plugins for Wordpress

    Privacy

    Privacy plugins for Wordpress

    Optimize

    Optimize plugins for Wordpress

    Chat

    Chat plugins for Wordpress

    Countdown

    Countdown plugins for Wordpress

    Email Marketing

    Email Marketing plugins for Wordpress

    Tabs

    Tabs plugins for Wordpress

    Membership

    Membership plugins for Wordpress

    popup

    popup plugins for Wordpress

    SiteMap

    SiteMap plugins for Wordpress

    Payment

    Payment plugins for Wordpress

    Coming Soon

    Coming Soon plugins for Wordpress

    Ecommerce

    Ecommerce plugins for Wordpress

    Customer Support

    Customer Support plugins for Wordpress

    Inventory

    Inventory plugins for Wordpress

    Video Player

    Video Player plugins for Wordpress

    Testimonials

    Testimonials plugins for Wordpress

    Tabs

    Tabs plugins for Wordpress

    Social Sharing

    Social Sharing plugins for Wordpress

    Social Feeds

    Social Feeds plugins for Wordpress

    Slider

    Slider plugins for Wordpress

    Reviews

    Reviews plugins for Wordpress

    Portfolio

    Portfolio plugins for Wordpress

    Membership

    Membership plugins for Wordpress

    Forms

    Forms plugins for Wordpress

    Events Calendar

    Events Calendar plugins for Wordpress

    Contact

    Contact plugins for Wordpress

    Comments

    Comments plugins for Wordpress

    Analytics

    Analytics plugins for Wordpress

    Common Ninja Apps

    Some of the best Common Ninja plugins for Wordpress

    Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

    Scratch Card for Wordpress logo

    Scratch Card

    Add an interactive scratch card to engage users, reveal offers, and support lead capture through gamified participation.

    Card Builder for Wordpress logo

    Card Builder

    Add customizable content cards to your site to display structured information clearly with flexible layout and design options.

    Age Verification for Wordpress logo

    Age Verification

    Verify visitor age with an age verification popup that helps you meet legal requirements, protect your business, and ensure responsible access.

    Email Subscription Form for Wordpress logo

    Email Subscription Form

    Capture email leads with an email subscription form that collects addresses, saves entries, sends notifications, and helps grow your audience.

    Corner Button for Wordpress logo

    Corner Button

    Corner button that stays fixed on the screen to highlight promotions, improve navigation, and guide visitors toward important actions with clear visibility.

    Marketing Button for Wordpress logo

    Marketing Button

    Marketing button with text and an icon that highlights key offers, draws attention to promotions, and helps increase engagement and conversions.

    Right Click Protection for Wordpress logo

    Right Click Protection

    Use right click protection to prevent copying by disabling right click actions, protecting your content and reducing unauthorized reuse on your site.

    Pricing Tables for Wordpress logo

    Pricing Tables

    Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.

    Course Listings for Wordpress logo

    Course Listings

    Create course listings with a course catalog widget that displays programs clearly, supports easy organization, and helps visitors explore courses effectively.

    Card Slider for Wordpress logo

    Card Slider

    Showcase content with a card slider that presents images, text, and buttons in a smooth, customizable layout to keep visitors engaged.

    Website Search for Wordpress logo

    Website Search

    Add a Google powered search bar that delivers relevant results, improves navigation, and helps visitors find content fast.

    QR Code for Wordpress logo

    QR Code

    Use the QR Code Generator to create and display QR codes for URLs, contact info, downloads, locations, and more.

    More plugins

    plugins You Might Like

    Discover Apps By Platform

    Discover the best apps for your website

    WordPress
    Wix
    Shopify
    Weebly
    Webflow
    Joomla
    PrestaShop
    Shift4Shop
    WebsiteX5
    MODX
    Opencart
    NopCommerce

    Common Ninja Search Engine

    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!

    Multiple platforms