pixel

Include Guide

Include Guide

What is an include?

Includes are a way to add dynamic and automated content to a page.

<!--bbinc="testimonials"-->

This example would render a vertical testimonials for the side bar

How do I put one on a page?

You can select one from a dropdown menu or enter in the code manually.

Enter:
<!--bbinc="testimonials"-->

Select
Selecting an include will insert the bbinc code at your cursor's position on the page editor.

Amigos Section

Output tiles of our amigos. The amigos are preselected.

<!--bbinc="amigos"-->
Contact Us

Output a vertically oriented contact us form.

<!--bbinc="contact_us"-->
Image Slider - Section

Output a slider of the the supplied images in a horizontal section .

<!--bbinc="image-slider:cdn.bajabound.com/img/1.jpg;cdn.bajabound.com/img/2.jpg"-->
Notes:
  • Notice the colon after the bbinc="image-slider:">
  • You separate each image url followed by a semi-colon (after the colon).
  • <!--bbinc="image-slider : cdn.bajabound.com/img/1.jpg ; cdn.bajabound.com/img/2.jpg "-->
Special Note: You cannot use https:// or http:// in the file url. Start with "cdn.bajabound.com"
Index Accordion - Section

Output an accordion of the the current directories subdirectories and files in a horizontal section .

Notes:
  • This works well on directories like /info/
  • There must be subdirectories. Like /info/entering_mexico/ These equal an accordion header
  • There should be pages within the subdirectories. Like /info/entering_mexico/mexican_permits.php. These equal an accordion contents
<!--bbinc="index-auto-accordion"-->
Index Blocks - Section

Output a colorful grid of the the sub-directories or files in a section .

Notes:
  • This works well on directories with subfolders. Though it does not list the subdirs. files
  • Each page/subdir should have at least a header image and a title.
<!--bbinc="index-auto-blocks"-->
Index Tiles - Section

Output a grid of the the sub-directories or files in a section .

Notes:
  • This works well on directories without subfolders
  • There should be pages within the subdirectories. Like /cities/tijuana.php.
  • Each page should have at least a header image and a title.
<!--bbinc="index-auto-tiles"-->
Testimonials Heart - Sidebar

Output a supplied number of testimonials from our customers

Notes:
  • This include takes a parameter, the number of testimonials to show
  • This example shows one testimonial set like this :1
<!--bbinc="testimonials:1"-->
Testimonials Blvr - Sidebar

Output a supplied number of testimonials from our customers

Notes:
  • This include takes a parameter, the number of testimonials to show
  • This example shows one testimonial set like this :5
<!--bbinc="testimonials-blvr:5"-->
Testimonials Card - Sidebar

Output a supplied number of testimonials from our customers

Notes:
  • Recommended on right side
  • This include takes a parameter, the number of testimonials to show
  • This example shows three testimonials set like this :3
<!--bbinc="testimonials-card:3"-->
Testimonials Slider - Section

Output a supplied number of testimonials from our customers in a slider

Notes:
  • This include takes a parameter, the number of testimonials to show
  • This example shows three testimonials set like this :3
<!--bbinc="testimonials-slider:3"-->
Lead Form

Output a button on the page. When clicked, the button opens a popup form.

Notes:
  • This include requires a contact email..
  • This can be supplied as a parameter or by selecting a location.
  • If a location is used, the location must have a contact email saved.
<!--bbinc="leadform:bob@bobhouse.com"-->
or set a location for the page. <!--bbinc="leadform"-->

Map & Location

Output a sidebar location display.

Notes:
  • This include requires a location to be set.
<!--bbinc="location"-->
Map Hero

Output map hero of locations by location-tag.

Notes:
  • This include takes a parameter, a location tag.
  • This example shows locations with beach tags like this :beach
<!--bbinc="map-hero:beach"-->
Map Widget (classic)

Output a map square. Can be used in content or sidebar.

Notes:
  • This include requires a location to be set.
<!--bbinc="googlemap"-->
Newsletter (signup)

Output a small signup widget.

<!--bbinc="newsletter"-->
Page Navigation

Output previous / next buttons on bottom of a page.

Notes:
  • These are good within folders with many articles, like wineries or travel
<!--bbinc="page-navigation"-->
Page Title

Output page title in large font.

<!--bbinc="page-title"-->
Related Stories

Output other pages from the same directory.

Notes:
  • These are good within folders with many articles, like wineries or travel
<!--bbinc="related-stories"-->
Wine List (classic)

Output a sidebar list of all wineries.

Notes:
  • This widget requires an update for beta once content is created.
<!--bbinc="winelist"-->