Shortcode for menu groups

Support Area Forums Foxy Shortcode for menu groups

Tagged: , , ,

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question:
  • Author
    Posts
  • #5866
    Craig Bixel
    Participant

    Dear Bill,

    First of all, thank you for a great theme.

    I am trying to create a 1 long Menu for a restaurant consisting of several Categories (with text between Category Titles and Items). I have created Food Items in several Categories.

    My question is, is there a way to pull out the posts from each category to display on a page?

    For example, my Menu will be on a page that I will look like:

    Salads

    …brief desciption about salad… then
    [Shortcode for category=”salads” here]

    Entrees

    …brief desciption about entrees… then
    [Shortcode for category=”entrees” here]

    etc.

    Thank you,
    Craig

    #5871
    Bill Robbins
    Moderator

    Craig,

    I’m glad you’re enjoying the theme. It does not have a built in shortcode for displaying the menu groups all, but we can add one. I actually created a plugin for this. You can download it here.

    Once you’ve installed it, use this shortcode to display a menu group:

    Just replace the group slug with the “slug” for your menu group. You can find the slug by going to the Food section of your WordPress dashboard and selecting “Menu Groups.”

    If you need any help or have any questions, just let me know.

    Enjoy your weekend,
    Bill

    #5873
    Bill Robbins
    Moderator

    One thing I forgot to mention. If you add the shortcode to a post instead of a page, you’ll need to include this in the “Custom CSS” box on the styling tab of the theme options page:

    
    article ul.item-list p.price {
    	position: relative;
    	top: auto;
    	right: auto;
    }
    

    Otherwise the prices will all be stacked in the top right hand corner.

    #5874
    Craig Bixel
    Participant

    Awesome Bill!

    Works perfectly… Thanks for the very quick response and easy fix!!!

    You have a great weekend as well,
    Craig

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Shortcode for menu groups’ is closed to new replies.