Food Theme Documentation

Installation

Through Dashboard
  • Log in to the WordPress Dashboard.
  • Go to Appearance->Themes.
  • Active Food themes.
Manual Installation using FTP
  • Unzip food.zip to your Desktop.
  • Using an FTP client to access your host web server. Go to /wp-content/themes/
  • Upload theme to /wp-content/themes/.
  • Go to Appearance->Themes and activate theme from Dashboard.

Home Page Setup

How to Set up Home Page?
  • WordPress Admin -> Appearance -> Customize -> FRONT PAGE -> STATIC FRONTPAGE -> Your Latest Posts

Slider Section

How to Manage Slider?
  • WordPress Admin -> Appearance -> Customize -> FRONT PAGE -> SLIDER
  • Under Heading "Slider Font Typography & Colors" manage slide title, description, button font-family, color, and font-size.
  • When you add new slide instead of default so first removed all slides field data Slide Image, Slide Title, Slide Link, Slide Button than add your new slides data.

Food Home Sections

How to Manage Home Sections ?
  • First Create Page For Each Sections. Eg: For "Home Section One" Add Page "Top Three Boxes"...
  • So for add new Page under admin pannel click on "Pages" in top left navigation. than click on "Add New".
  • After add pages back on customizer pannel and choose page for section.
  • Check Below Steps:
  • WordPress Admin Appearance -> Customize -> FRONT PAGE -> HOME SECTIONS
  • Below is the screen of Top Three Boxes "Edit Page"
  • Below is the code of all home sections. Just Copy and Paste it in newly created page.
  • Home Section 1 Code:
  • 
    [centertitle text="Our Services" titlecolor="#232323" boxboder="#ff9c00" seperatorcolor="#e6e6e6"]
    [space height="40"]
    [columns size="2"] [/columns]
    [columns size="2"]
        [service pattern="boxpattern-3" icon="ADD IMGE URL HERE" title="Meat" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
        [service pattern="boxpattern-3" icon="ADD IMGE URL HERE" title="Sweet" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
        [service pattern="boxpattern-3" icon="ADD IMGE URL HERE" title="Quick Food" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
        [service pattern="boxpattern-3" icon="ADD IMGE URL HERE" title="Hot Food" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
    [/columns]
  • Home Section 2 Code:
  • 
    
    [centertitle text="Our Menu" titlecolor="#232323" boxboder="#ff9c00" seperatorcolor="#ececec"]
    [space height="50"]
    

    Pellentesque quis pellentesque lacus. Curabitur fermentum elit est, at ultricies nibh malesuada in. Mauris dapibus sed nibh in venenatis. Mauris malesuada tempor Mauris malesuada tempor Mauris malesuada tempor ex Mauris malesuada tempor ex, quis semper justo varius et. Pellentesque volutpat facilisis ligula in varius facilisis. Fusce augue orci, varius quis tempus et, consequat ac sem.

    [clear] [space height="130"] [columns size="2"] [ourmenu filter="true" menuexcerptlength="15" allmenu="All Menu"] [/columns] [columns size="2"]
    [readmore align="center" icon="shopping-cart" button="FREE DELIVERY" links="#" margintop="0" target="_parent" color="#ffffff" bgcolor="#282828"][readmore align="center" icon="tag" button="ONLINE ORDER" links="#" margintop="0" target="_parent" color="#ff9c00" bgcolor="#ffffff"] [clear]
    [readmore align="center" button="VIEW ALL MENU" links="#" margintop="70%" target="_parent" color="#ffffff" bgcolor="#ff9c00"] [clear] [/columns] [clear]
  • Home Section 3 Code:
  • 
    [centertitle text="Our Chef" titlecolor="#232323" boxboder="#ff9c00"  seperatorcolor="#ececec"]
    [space height="50"]

    Pellentesque quis pellentesque lacus. Curabitur fermentum elit est, at ultricies nibh malesuada in. Mauris dapibus sed nibh in venenatis. Mauris malesuada tempor Mauris malesuada tempor Mauris malesuada tempor ex Mauris malesuada tempor ex, quis semper justo varius et. Pellentesque volutpat facilisis ligula in varius facilisis. Fusce augue orci, varius quis tempus et, consequat ac sem.

    [space height="40"] [clear] [ourteam col="4" show="4" excerptlength="" readmore="READ MORE"]
  • Home Section 4 Code:
  • 
    
    [centertitle text="Book Your Table" titlecolor="#232323" seperatorcolor="#d6d5d5"]
    [space height="50"]
    [columns size="2"]
    	[contact-form-7 id="4" title="Contact form 1"]
    [/columns]
    [columns size="2"] [/columns]
    
    
  • Contact form 7 create form and add this field code
  • 
    [text* your-name placeholder 'Your Name']
    [tel* your-tel placeholder 'Mobile Number'] 
    [email* your-email placeholder 'Your Email']
    [date your-date class:your-datepicker date-format:dd/mm/yy placeholder 'Date']
    [time your-time time-format:HH:mm placeholder 'Time']
    [text* your-name placeholder 'No of Person']
    [submit "BOOK NOW"]
    
  • Home Section 5 Code:
  • 
    [centertitle text="Latest News" titlecolor="#232323" seperatorcolor="#ececec"]
    [space height="50"]
    

    Aliquam sodales viverra dictum. Ut magna lectus, efficitur nec rhoncus quis, pretium ut arcu. Pellentesque quis pellentesque lacus. Curabitur quis semper justo varius et fermentum elit est, at ultricies nibh malesuada in. Mauris dapibus sed nibh in venenatis. Mauris malesuada tempor ex, quis semper justo varius et.

    [space height="70"] [posts-style4 show="3" cat="" excerptlength="" readmore=""]
  • Home Section 6 Code:
  • 
    [space height="50"]
    [testimonials-rotator show="-1"]
    

Multilingual

How to make translate ready ?
  • First Install Plugin qTranslate X from WordPress plugin.
  • Used following code for making text translate ready : [:en]English Text[:de]Deutsch Text[:]
  • Viewing in Dutch used website url : http://www.yourwebsiteurl.com/de/
  • Viewing in English used website url : http://www.yourwebsiteurl.com/en/
  • Check below screen shot for making slider translation ready.

  • Dutch Translated
    English Translated

Basic Options

Customize Basic Options
  • Click on Appearance>Customize>Basic
  • Basic
    • SITE LAYOUT
    • Site Layout Boxed
    • COLORS OPTIONS
    • Managed Following Under Color Options:
    • Site Background Color
      Site Background Image
      Site content Text Color
      Other Elements Background
      Other Elements Text Color
      Default Anchor Color
      Default Anchor Hover Color
      H1, H2, H3, H4, H5, H6 Color
      H1, H2, H3, H4, H5, H6 Hover Color
      Team Box Background Color
      Social Icon Bgcolor
      Social Icon Hover Bgcolor
      Testimonial Box Bgcolor
      Testimonial Pager Color
      Testimonial Active Pager Color
      Gallery Active Filter Bgcolor
      Skills Bar Background Color
      Skills Bar Text Color
      Post Title Color
      Sidebar Widgets Background Color
      Sidebar Widget Title Color
      Sidebar Widget Text Color
      Sidebar Widget Link Color
    • FONT TYPOGRAPHY
    • Managed Following Under Font Typography:
    • Site Content Font [family, subsets, size]
      H1, H2, H3, H4, H5, H6 [family, subsets, size]
      Turn All Headings to Uppercase
    • CUSTOM CSS
    • SITE IDENTITY

Header Option

Customize Header Options
  • Click on Appearance>Customize>Header
  • Header
    • HEADER
    • We also use widget for top right and top left instead of customize header option.
    • SITE TITLE
    • SITE LOGO
    • HEADER LAYOUT

Inner Page Header

Inner Page & Posts Header

  • First on custom field option from page & posts edit screen. if it is not on.
  • Add embeded map, shortcode Or any video code in header instead of feauted image page & post header. create custom field with name "headercode" and put code in custom box.

Post & Page Options

Customize Post & Page Options
  • Click on Appearance>Customize>Post & Page
  • Post & Page
    • POSTS SETTINGS
    • SINGLE POST LAYOUT
    • PAGE HEADER SETTINGS
    • Page Header With Featured Image
    • If page have not assign featured image. so from page header settings have set background color or background image for header. also there is have hide page header option for hide header.
    • BLOG PAGE SETTINGS
    • CONTACT PAGE SETTINGS

Customize Buttons

Customize Section Buttons

  • Click on Appearance>Customize>Sections Buttons
  • Section Buttons
    • SECTION BLOCKS BUTTON

Page Templates

Page Templates

  • Default Template
    • Helps in setting up the content on any page with Right Sidebar
  • Page Left Sidebar
    • Helps in setting up the content on any page with Left Sidebar
  • Page No Sidebar
    • Helps in setting up the content on any page No Sidebar
  • Page Full Width
    • Helps in setting up the content on any page without Sidebar
  • Contact Layout1 & Contact Layout2
    • Select page template for set contact page layout.
  • Testimonials
    • Select testimonials template for showing all testimonials.

Testimonials Page Setup

Set up Testimonials page

  • Set up by using Page Template:

Contact page Setup

Set up Contact page

  • Set up by using Page Template:

Setup Blog Page

Setup Blog page

  • Set up by using Page Template Blog on any page to show blog posts
  • Blog Full Width, Blog Left Sidebar, Blog No Sidebar, Blog Right Sidebar page templates

Set up Sidebar

Set up Sidebar

  • Go to Appearance->Widgets->Page Sidebar
  • Go to Appearance->Widgets->Blog Sidebar
  • Drag and Drop anythings you want also text widget drag and drop write thire anythings you want.

Disable Page Comments

Disable Page Comments

  • All you need to do is go to that page after Log into WordPress dashboard. Scroll down and check the section: Discussion (if not able to see check above Screen Options to show Comments).
  • Uncheck the box: Allow Comments and click on Update.
  • If you want to remove comments sidewide on Pages use this plugin: “Disable Comments” https://wordpress.org/plugins/disable-comments/

Setting up Shop

Setting up Shop

  • Go to Plugins -> Add New in the WordPress Admin panel
  • Type WooCommerce is search box and click on search button
  • Install and then Activate the plugin.
  • It will ask whether to set up default pages. Kindly click on setting up default pages of the WooCommerce
  • That’s it now you can go to shop page and check the default product.

Food Shortcodes

Shortcodes

  • Testimonial Rotator:
  • [testimonials-rotator show="3"]
  • Testimonial Box:
  • 
                                [testimonials-box col="4" show="4"]
                                [testimonials-box col="3" show="3"]
                                [testimonials-box col="2" show="2"]
                                [testimonials-box col="1" show="1"]
                                
  • Our Team:
  • [ourteam col="4" show="4" excerptlength="" readmore="READ MORE"]
  • [ourteam col="3" show="3" excerptlength="" readmore="READ MORE"]
  • [ourteam col="2" show="2" excerptlength="" readmore="READ MORE"]
  • [ourteam col="1" show="1" excerptlength="" readmore="READ MORE"]
  • col="4" means four columns in a single row and show="3" means number of team member show.
  • [ourteam col="4" show="4" excerptlength="10"]
  • [ourteam col="3" show="3" excerptlength="" readmore="READ MORE"]
  • [ourteam col="2" show="2" excerptlength="" readmore="READ MORE"]
  • [ourteam col="1" show="1" excerptlength="" readmore="READ MORE"]
  • Services:
  • 
                            [service pattern="boxpattern-1" icon="ADD YOUR IMAGE URL HERE" title="Meat" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
                                
  • 
    [service pattern="boxpattern-2" icon="ADD YOUR IMAGE URL HERE" title="Meat" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]                            
  • 
    [service pattern="boxpattern-3" icon="ADD YOUR IMAGE URL HERE" title="Meat" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
                                
  • 
    [service pattern="boxpattern-4" icon="ADD YOUR IMAGE URL HERE" title="Meat" go="" url="#"]Lorem ipsum d siame consectetur adipiscing eullam est liberolacinia id massa...[/service]
                                
  • Clear:
  • [clear]
  • Photo Gallery:
  • [photogallery filter="true"]
  • Show Without Filters Use Shortcode : [photogallery filter="false"]
  • Photo Gallery Carousel:
  • [gallery-carousel]
  • 1. To set up a gallery go to Photo Gallery option from you WordPress dashboard
  • 2. Click on Add New option
  • 3. Enter the title of the image. If you want to show Video then add video URL. For image set the featured image.
  • Recent Posts:
  • [posts-style1 show="4" cat="1" excerptlength="24"]
  • [posts-style2 show="2" cat="1" excerptlength="24"]
  • Above listed two types of posts style shortcode.
  • [posts-style1 show="4" cat="1" excerptlength="24"]
    "show=4" means display four posts if you want to display 6 or 8 or etc. so just change show=6 or show=8. and "excerptlength=24" set box character length. and "cat=1" ID of display posts category
  • [posts-style2 show="2" cat="1" excerptlength="24"]
    "show=2" means display two posts if you want to display 4 or 6 or etc. so just change show=4 or show=6. and "excerptlength=24" set box character length. and "cat=1" ID of display posts category
  • Post Timeline:
  • [posts-timeline show="4" cat="1" excerptlength="24"]
  • Post Grid:
  • [posts-grid show="4" cat="1" excerptlength="24"]
  • Skill:
  • [skill title="HTML" percent="80" bgcolor="#a0ce4e"][skill title="Wordpress" percent="99" bgcolor="#a0ce4e"][skill title="Web Design" percent="90" bgcolor="#a0ce4e"][skill title="Web Development" percent="95" bgcolor="#a0ce4e"][skill title="Responsive" percent="85" bgcolor="#a0ce4e"]
  • Clients
  • [client url="#" image="image url"]
  • Social Icons
  • [social_area]
        [social icon="facebook" link="#"]
        [social icon="twitter" link="#"]
        [social icon="google-plus" link="#"]	
        [social icon="linkedin" link="#"]
        [social icon="pinterest" link="#"]
    [/social_area]
  • Flip Box
  • Horizontal Flip:
    [flipbox fliptype="h" frontimage="http://www.yoursite.com/wp-content/themes/Food/images/model-429733_640.jpg" fronttitle="The Front Title" frontdescription="Some Lorem Content Description Goes Here" backtitle="The Back Title" backdescription="This is the back description for testing purpose will added some dummy description text. This is the back description for testing purpose will added some dummy description text.This is the back description for testing purpose will added some dummy description text." backurl="#" backbutton="Read More"]
  • Vertical Flip:
    [flipbox fliptype="v" frontimage="http://www.yoursite.com/wp-content/themes/Food/images/person-822552_1280.jpg" fronttitle="The Front Title" frontdescription="Some Lorem Content Description Goes Here" backtitle="The Back Title" backdescription="This is the back description for testing purpose will added some dummy description text. This is the back description for testing purpose will added some dummy description text.This is the back description for testing purpose will added some dummy description text." backurl="#" backbutton="Read Now"]
  • Dividers:
  • [divider style="divider1"]
  • [divider style="divider2"]
  • [divider style="divider3"]
  • [divider style="divider4"]
  • [divider style="divider5"]
  • [divider style="divider6"]
  • [headingdivider text="Heading Title"]
  • Promotion Box:
  • [promobox1 bgcolor="#f7f7f7" topbordercolor="#a0ce4e" otherbordercolor="#e8e6e6"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/promobox1]
  • [promobox2 bgcolor="#f7f7f7" leftbordercolor="#a0ce4e" button="Hello Text" url="#"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/promobox2]
  • [promobox3 bgcolor="#f7f7f7" bottombordercolor="#a0ce4e" button="Hello Text" url="#"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/promobox3]
  • [promobox4 bgcolor="#f7f7f7" bordercolor="#a0ce4e"]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/promobox4]
  • [squarebox image="image" title="title" url="#" target="blank"]
  • [ourteamexpanded show="4"]
  • [perfectbox image="image" title="title" description="description" url="#" target="blank"]
  • [blockbox url="url" image="image" title="title" titlecolor="titlecolor" target="self"]
  • 
    
    [lefttitle text="Our Services" titlecolor="#232323" boxboder="#ff9c00" seperatorcolor="#e6e6e6"]
    
    [centertitle text="Our Services" titlecolor="#232323" boxboder="#ff9c00" seperatorcolor="#e6e6e6"]
    
    
    

  • [headingseperator text="text"]
  • [boxthumb name="name" url="#" image="image" target="blank"]
  • Button Shortcode:
  • 
    [readmore align="center" icon="shopping-cart" button="FREE DELIVERY" links="#" margintop="0" target="_parent" color="#ffffff" bgcolor="#282828"]
    
  • Column Shortcodes:
  • Two Columns:
  • 
    	[row]
                                    [columns size="1/2"]

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo congue laoreet. Nullam cursus pretium nulla

    [/columns] [columns size="1/2"]

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo congue laoreet. Nullam cursus pretium nulla

    [/columns] [/row]
  • Three Columns:
  • [row]
                                    [columns size="1/3"]

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo congue laoreet. Nullam cursus pretium nulla

    [/columns] [columns size="1/3"]

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo congue laoreet. Nullam cursus pretium nulla

    [/columns] [columns size="1/3"]

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo congue laoreet. Nullam cursus pretium nulla

    [/columns] [/row]
  • For Other columns size like 4, 5, 6, 7, 8, 9, or 10 just change size in shortcode for four columns: size="1/4", for five columns: size="1/5", for six columns: size="1/6", for seven columns: size="1/7" , for eight columns: size="1/8", for nine columns: size="1/9", for ten columns: size="1/10"
  • Columns Padding:
  • You can also set padding of columns with following shortcodes:
  • [row]
                                    [columns size="1/2" toppadding="10px" bottompadding="10px" rightpadding="10px" leftpadding="10px"]
                                    
                                    [/columns]
    							[/row]
    
  • Chagne Padding px As per your settings.