Restaurant

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Added =How to enable commenting in single Location entry pages=)
(See also)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[http://ithemes.com/forum/builder-block-restaurant/ Support Forum for Builder Block Restaurant]
+
'''Builder Restaurant Block''' adds a number of features to your Builder site that turn it into an easy-to-use restaurant site.
  
=How to set up=
+
'''[http://ithemes.com/purchase/entree/ Builder Child Child - Entreé]''' and '''[http://ithemes.com/purchase/entree-pub/ Builder Child - Entreé Pub]''' are designed to work specifically with the Builder Restaurant Block by providing matching page templates for '''Menu Items''' and '''Locations'''.
# Download the Restaurant block plugin from [http://ithemes.com/member/downloads/plugins/builder-block-restaurant/builder-block-restaurant.zip here].
+
# Download the corresponding theme (either Entree or Entree Pub) from [http://ithemes.com/member/member.php Member Panel].
+
  
=How to enable commenting in single Location entry pages=
 
  
'''1.''' Ensure that the latest version of Builder Blocks plugin is being used. See [http://ithemes.com/codex/page/General_WordPress_Related#How_to_update_a_plugin this] to learn how to properly update plugins.
+
=Installation=
  
'''2.''' Edit wp-content/plugins/builder-block-restaurant/lib/post-types/2.location.php.  
+
# Download the Restaurant Block plugin from [http://ithemes.com/member/login.php iThemes Member Panel].
 +
# From the WordPress dashboard, navigate to '''Plugins > Add New'''.
 +
# Install and Activate the '''builder-block-restaurant''' zip file.
  
Change
+
<br />
  
<pre class="brush:php;">
+
Once Builder Restaurant Block has been installed, you'll notice two new menus have been added to the left-hand navigation of your WordPress dashboard:
    'supports'    => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
+
</pre>
+
  
to
+
* '''Menu Items''' - Add menu items with a title, text, price, featured image and apply a course type or allergy
<pre class="brush:php;">
+
* '''Locations''' - Add restaurant location(s) with a title, text, address (and map), featured image, features, cuisines, hours and contact details.
    'supports'   => array( 'title', 'editor', 'thumbnail', 'excerpt', 'comments' ),
+
</pre>
+
  
<u>Note</u>: Plugin customizations will be erased during plugin upgrades. So remember to re-do this when you update the plugin.
+
<br />
  
'''3.''' Edit wp-content/themes/BuilderChild-Entree/restaurant-location/single.php.
+
[[File:Restaurant-block-dashboard.png|800px|link=]]
  
Change
+
=Menu Items=
  
<pre class="brush:php;">
+
Builder Restaurant Block creates a custom post type for '''Menu Items''' displayed in a menu "archive" visible on the [http://demos.ithemes.com/entree/menu/ Entreé Demo Site].
    <?php //comments_template(); // include comments template ?>
+
</pre>
+
  
to
+
<br />
  
<pre class="brush:php;">
+
[[File:Menu-items.png|800px|link=]]
    <?php comments_template(); // include comments template ?>
+
</pre>
+
  
'''4.''' Go to My Theme -> Settings -> Comments. Place a tick mark for ''Locations'' and Save Settings.
+
<br />
 +
 
 +
==The Menu Items Menu==
 +
 
 +
<br />
 +
 
 +
[[file:Builder-Restaurant-block-menu.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
The '''Menu Items''' menu expands to reveal several pages:
 +
 
 +
*'''All Menu Items''' - A listing of all menu "posts"
 +
*'''Add New''' - The "Add New Menu Item" page
 +
*'''Courses''' - A listing of course types, including by default appetizers, desserts, drinks, entrees, salads, sides and soups. You can also add custom course categories.
 +
*'''Allergies''' - A listing of allergy types, including by default dairy, eggs, peanuts, rice, seafood, shellfish, soy, tree nuts and wheat. You can also add custom course categories.
 +
 
 +
 
 +
==Adding a New Menu Item==
 +
 
 +
To add a new menu item, click '''Add New'''. Add the menu item title, a description, price (using the "$"), a featured image and apply course and allergy tags.
 +
 
 +
<br />
 +
 
 +
[[File:Add-new-menu-item.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
Press '''Publish'''. Your new Menu Item will now be visible on the site from the URL located beneath the Menu Item Title.
 +
 
 +
<br />
 +
 
 +
===Courses===
 +
 
 +
The '''Courses''' page in the Menu Items Menu lists available course taxonomies that can be applied to menu items. Default courses include appetizers, desserts, drinks, entrees, salads, sides and soups. You can customize the courses by adding new allergies or removing the defaults.
 +
 
 +
<br />
 +
 
 +
[[File:courses.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
===Allergies===
 +
 
 +
The '''Allergies''' page lists available allergy taxonomies that can be applied to menu items. Default allergies include dairy, eggs, peanuts, rice, seafood, shellfish, soy, tree nuts and wheat. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.
 +
 
 +
<br />
 +
 
 +
[[File:allergies.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
==Applying the Menu Item Listing Page Template==
 +
 
 +
'''[http://ithemes.com/purchase/entree/ Builder Child Child - Entreé]''' and '''[http://ithemes.com/purchase/entree-pub/ Builder Child - Entreé Pub]''' are designed to work specifically with the Builder Restaurant Block by providing matching page templates for '''Menu Items''' and '''Locations'''.
 +
 
 +
 
 +
Add a new page for '''Menu''' (or any page title) and select the '''Menu Item Listing''' template in the Page Attributes section.
 +
 
 +
<br />
 +
 
 +
[[File:Menu-Listing.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
Applying this page template will render the styled archive view of all menu items on that page.
 +
 
 +
 
 +
'''Note:''' Only '''[http://ithemes.com/purchase/entree/ Builder Child Child - Entreé]''' and '''[http://ithemes.com/purchase/entree-pub/ Builder Child - Entreé Pub]''' provide the '''Menu Item Listing''' page templates for use with Builder Restaurant Block.
 +
 
 +
=Locations=
 +
 
 +
Builder Restaurant Block creates a custom post type for '''Locations''' displayed in a "location" archive visible on the [http://demos.ithemes.com/entree/locations/ Entreé Demo Site].
 +
 
 +
<br />
 +
 
 +
[[File:Restaurant-block-locations.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
==The Locations Menu==
 +
 
 +
<br />
 +
 
 +
[[File:Locations-menu.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
The '''Locations''' menu expands to reveal several pages:
 +
 
 +
*'''All Locations''' - A listing of all location"posts"
 +
*'''Add New''' - The "Add Location" page
 +
*'''Features''' - A listing of location feature types, including by default breakfast, brunch, buffet, business casual, carry out, casual, dancing, delivery, dinner, family friendly, fine dining, etc.
 +
*'''Cuisine''' - A listing of location cuisine types, including American, Asian, Bagels, Bakery, Barbecue, Burgers, Cajun, etc.)
 +
 
 +
==Adding a New Location==
 +
 
 +
To add a new location, click '''Add New'''. Add the location title, text, address (and map), featured image, features, cuisines, hours and contact details.
 +
 
 +
<br />
 +
 
 +
[[File:Add-new-location.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
Press '''Publish'''. Your new location will now be visible on the site from the URL located beneath the Location Title.
 +
 
 +
<br />
 +
 
 +
===Features===
 +
 
 +
The '''Features''' page lists available feature taxonomies that can be applied to locations. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.
 +
 
 +
<br />
 +
 
 +
[[File:Features.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
===Cuisine===
 +
 
 +
The '''Cuisine''' page lists available feature taxonomies that can be applied to locations. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.
 +
 
 +
<br />
 +
 
 +
[[File:Locations.png|800px|link=]]
 +
 
 +
<br />
 +
 
 +
=Customization Examples=
 +
*[[Builder_Blocks:_Restaurant_-_Example_Customizations#Setting_up_the_menu_listing_page_and_course_archive_pages_like_the_Builder_Child-Entree_demo|Setting up the menu listing page and course archive pages like the Builder Child-Entree demo]]
 +
*[[Builder_Blocks:_Restaurant_-_Example_Customizations#Enabling_commenting_in_single_location_entry_pages|Enabling commenting in single location entry pages]]
 +
*[[Builder_Blocks:_Restaurant_-_Example_Customizations#Displaying_course_description_on_course_term_archive_pages|Displaying Course description on Course Term archive pages]]
 +
 
 +
=Additional Links=
 +
 
 +
*[http://ithemes.com/forum/forum/94-builder-block-restaurant/ Support Forum for Builder Block Restaurant]
 +
 
 +
 
 +
<br />
 +
[[:Builder|← Back to Builder Codex Home]]

Latest revision as of 16:27, July 26, 2013

Builder Restaurant Block adds a number of features to your Builder site that turn it into an easy-to-use restaurant site.

Builder Child Child - Entreé and Builder Child - Entreé Pub are designed to work specifically with the Builder Restaurant Block by providing matching page templates for Menu Items and Locations.


Contents

Installation

  1. Download the Restaurant Block plugin from iThemes Member Panel.
  2. From the WordPress dashboard, navigate to Plugins > Add New.
  3. Install and Activate the builder-block-restaurant zip file.


Once Builder Restaurant Block has been installed, you'll notice two new menus have been added to the left-hand navigation of your WordPress dashboard:

  • Menu Items - Add menu items with a title, text, price, featured image and apply a course type or allergy
  • Locations - Add restaurant location(s) with a title, text, address (and map), featured image, features, cuisines, hours and contact details.


Restaurant-block-dashboard.png

Menu Items

Builder Restaurant Block creates a custom post type for Menu Items displayed in a menu "archive" visible on the Entreé Demo Site.


Menu-items.png


The Menu Items Menu


Builder-Restaurant-block-menu.png


The Menu Items menu expands to reveal several pages:

  • All Menu Items - A listing of all menu "posts"
  • Add New - The "Add New Menu Item" page
  • Courses - A listing of course types, including by default appetizers, desserts, drinks, entrees, salads, sides and soups. You can also add custom course categories.
  • Allergies - A listing of allergy types, including by default dairy, eggs, peanuts, rice, seafood, shellfish, soy, tree nuts and wheat. You can also add custom course categories.


Adding a New Menu Item

To add a new menu item, click Add New. Add the menu item title, a description, price (using the "$"), a featured image and apply course and allergy tags.


Add-new-menu-item.png


Press Publish. Your new Menu Item will now be visible on the site from the URL located beneath the Menu Item Title.


Courses

The Courses page in the Menu Items Menu lists available course taxonomies that can be applied to menu items. Default courses include appetizers, desserts, drinks, entrees, salads, sides and soups. You can customize the courses by adding new allergies or removing the defaults.


Courses.png


Allergies

The Allergies page lists available allergy taxonomies that can be applied to menu items. Default allergies include dairy, eggs, peanuts, rice, seafood, shellfish, soy, tree nuts and wheat. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.


Allergies.png


Applying the Menu Item Listing Page Template

Builder Child Child - Entreé and Builder Child - Entreé Pub are designed to work specifically with the Builder Restaurant Block by providing matching page templates for Menu Items and Locations.


Add a new page for Menu (or any page title) and select the Menu Item Listing template in the Page Attributes section.


Menu-Listing.png


Applying this page template will render the styled archive view of all menu items on that page.


Note: Only Builder Child Child - Entreé and Builder Child - Entreé Pub provide the Menu Item Listing page templates for use with Builder Restaurant Block.

Locations

Builder Restaurant Block creates a custom post type for Locations displayed in a "location" archive visible on the Entreé Demo Site.


Restaurant-block-locations.png


The Locations Menu


Locations-menu.png


The Locations menu expands to reveal several pages:

  • All Locations - A listing of all location"posts"
  • Add New - The "Add Location" page
  • Features - A listing of location feature types, including by default breakfast, brunch, buffet, business casual, carry out, casual, dancing, delivery, dinner, family friendly, fine dining, etc.
  • Cuisine - A listing of location cuisine types, including American, Asian, Bagels, Bakery, Barbecue, Burgers, Cajun, etc.)

Adding a New Location

To add a new location, click Add New. Add the location title, text, address (and map), featured image, features, cuisines, hours and contact details.


Add-new-location.png


Press Publish. Your new location will now be visible on the site from the URL located beneath the Location Title.


Features

The Features page lists available feature taxonomies that can be applied to locations. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.


Features.png


Cuisine

The Cuisine page lists available feature taxonomies that can be applied to locations. You can also add custom course categories. You can customize the allergy categories by adding new allergies or removing the defaults.


Locations.png


Customization Examples

Additional Links



← Back to Builder Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox