WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('legacy_doc_cat', 'mai_theme_legacy', 'pdc_theme', 'seo_theme') AND tr.object_id IN (1221) ORDER BY tt.order ASC
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('wp_theme') AND t.name IN ('bizbudding-docs')
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '1221' AND `object_type` = 'post' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '1221' AND `object_type` = 'post' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'legacy_doc_cat' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'legacy_doc_cat' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'mai_theme_legacy' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'mai_theme_legacy' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'pdc_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'pdc_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'seo_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '1221' AND `taxonomy` = 'seo_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable_hierarchy' doesn't exist] DELETE FROM `wp_yoast_indexable_hierarchy` WHERE `indexable_id` = NULL
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '893' AND `object_type` = 'post' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '893' AND `object_type` = 'post' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'legacy_doc_cat' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'legacy_doc_cat' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'mai_theme_legacy' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'mai_theme_legacy' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'pdc_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'pdc_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'seo_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_primary_term' doesn't exist] SELECT * FROM `wp_yoast_primary_term` WHERE `post_id` = '893' AND `taxonomy` = 'seo_theme' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '1' AND `object_type` = 'user' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '1' AND `object_type` = 'user' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '1' AND `is_public` = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '1' AND `is_public` = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '1' AND `is_public` IS NULL LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '1' AND `is_public` IS NULL LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '5' AND `object_type` = 'user' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT * FROM `wp_yoast_indexable` WHERE `object_id` = '5' AND `object_type` = 'user' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '5' AND `is_public` = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '5' AND `is_public` = '1' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '5' AND `is_public` IS NULL LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_yoast_indexable' doesn't exist] SELECT `id` FROM `wp_yoast_indexable` WHERE `object_type` = 'post' AND `object_sub_type` IN ('post') AND `author_id` = '5' AND `is_public` IS NULL LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = 22
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') AND t.slug = '22' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') AND t.name IN ('22') LIMIT 1
BizBudding Docs
Documentation
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = 23
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') AND t.slug = '23' LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_terms' doesn't exist] SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') AND t.name IN ('23') LIMIT 1
WordPress database error: [Table 'bizbud01_docsdb2.wp_users' doesn't exist] SELECT * FROM wp_users WHERE ID = '5' LIMIT 1
[grid] Shortcode Parameters
Learn more about the Mai Post/Term Grid blocks in Mai Theme 2.0, an extremely powerful set of blocks to display a grid of post or term entries in various layoutsβno shortcode required!
An organized list of parameters for use with the [grid] shortcode
Mai Theme includes the [grid] shortcode for powerful and dynamic layouts. Grid can be used on any post type or templates to format a variety of content types into a grid.
Shortcode
[grid content="post"]
POPULAR EXAMPLES
Note: Many examples use post, category, or term Object IDs.
All of the parameters have defaults set, so you only need to use them for custom display. There are also more advanced grid parameters for even further customizations.
align_text
Type: string
Description: Aligns the text within columns horizontally and vertically with no effect on the columns. Accepts comma separated values for horizontal and vertical alignment. Accepted values are “left”, “center”, “right”, “top”, “middle”, “bottom”. Works great to center text, especially when image_location=”bg”.
Description: Display entries in a boxed or seamless look.
Example: [grid content="post" boxed="false"]
columns
Type: integer
Default: 3
Description: The number of columns to display. Accepts “1”, “2”, “3”, “4” or “6”.
Example: [grid content="post" columns="4"]
categories
Type: integer(s), comma separated
Description: Show posts for defined Post categories. Accepts a comma-separated list of category IDs. Does not include child categories in hierarchical category structures. To show posts in another taxonomy, (tags, custom taxonomies, etc) you need to use taxonomy and terms parameters.
Example: [grid content="post" categories="16, 7"] To show posts that include child categories you need to use taxonomy/terms parameters like this: [grid content="post" taxonomy="category" terms="16" tax_include_children="true"]
content_limit
Type: integer
Description: Limit number of words displayed when show=”excerpt” or show=”content” is used.
Description: Display specific posts or terms. Accepts a comma-separated list of post/term IDs. Content must match what you are trying to display. post must use post ID’s for ids parameter.
Example: [grid content="post" ids="345, 1320"]
number
Type: integer
Default: 12
Description: The number of posts to display. Use “all” to display all posts.
Description: Order posts by ascending or descending order. Accepted values are “ASC” and “DESC”.
Example: [grid content="post" order="ASC"]
order_by
Type: string
Description: Sort retrieved posts by parameter.
Example: [grid content="post" order_by="author"], [grid content="post" order_by="menu_order"], [grid content="post" order_by="rand"] (some hosts may disable “rand” – I’m looking at you WP Engine). To order entries by the order of IDs in the ids parameter use order_by="post__in" (note there are 2 underscores between post and in) when content is a post/page/cpt and order_by="include" when content is a category/tag/taxonomy.
parent
Type: string, integer
Description: Set the parent to the current page, a page/post/term ID, or a page/post/term slug. Great for displaying child pages of the current page. To only show top level pages/terms, use parent="0"
Description: Display posts in a horizontally scrollable slider, instead of rows.
Example: [grid content="post" slider="true"]
ADVANCED PARAMETERS
Most users will never need to use most of the available parameters. Below is a list of additional parameters that can be used with the grid shortcode.
align
Type: string, comma-separated
Description: Align columns and the text within the columns horizontally and vertically within the content area. Accepts a space-separated list of values in any order. Accepted values are (left, center, or right) and (top, middle, or bottom). This overrides align_cols and align_text if used.
Description: Aligns columns within the content area, with no effect on the text within. Accepts a comma-separated list of values in any order. Accepted values are (“left”, “center”, or “right”) and (“top”, “middle”, or “bottom”).
Description: Grid automatically configures this value based on the value of the “content” parameter. If you run into an issue where a post_type and a taxonomy are registered with the exact same name, you may need to manually set the content_type value. Accepts the values “post” for all post types, or “term” for all taxonomies.
Description: Exclude the current post. This is useful when displaying recent posts on a single post page. When true, the grid will not show the post you are currently viewing.
Description: Configure the image display location. Note: the “show” parameter must have “image” as one of it’s values (this is the default). If the “show” parameter doesn’t have “meta” as a value, after_title and before_content will look the same. Accepts “bg” (background image), “before_entry”, “before_title”, “after_title”, and “before_content”
Description: Link grid content to original content. You may want to show a grid of content that doesn’t link to the original post/term. This may be useful for displaying testimonials or similar.
Example: [grid content="post" link="false"]
meta_key
Type: string
Description: Display content with a specific meta data key/value.
Description: Define a message to display with posts that have no content.
Example: [grid content="post" no_content_message="Uh oh! There is nothing to see here!"]
offset
Type: integer
Default: 0
Description: The number of posts to skip in the query before display. Useful when using multiple instances of [grid] to show sequential posts with different layouts/columns per-instance.
Example: [grid content="post" offset="2"]
overlay
Type: string
Default: “dark” if image_location=”bg”, otherwise null.
Description: The style of overlay, if any, to add on an entry. Typically used when image_location=”bg”. Accepts “gradient”, “light”, “dark”.
Description: Terms in a taxonomy or list of taxonomies (via WP_Query). Accepts a comma-separated list of category IDs, unless tax_field is ‘slug’, then comma separated list of slugs. Used with “taxonomy” parameter.
Description: Configure the title HTML wrapping element.
Example: [grid content="post" title_wrap="h3"]
top
Type: integer
Default: null
Description: The amount of top margin/spacing on each grid entry. Accepts “none”, “xxxs”, “xxs”, “xs”, “sm”, “md”, “lg”, “xl”, or “xxl”
Example: [grid content="post" top="lg"]
SLIDER PARAMETERS*
*Require slider="true" in your [grid]
adaptiveheight
Type: boolean
Default: false
Description: Allow the grid height to shrink/grow depending on each slide’s content. Only works when columns="1". Ignores align_cols parameter. Only allows align_text to be left , center , or right .
These are very complex and typically won’t be needed by normal users. Proceed with caution. π
The following parameters can be used to set the span of each column out of 12 total imaginary columns on the page. If you set a breakpoint parameter to “6” that would display in 2 columns (or 1/2), since 6 is 1/2 of 12. To display 3 columns you would us “4” since 4 out of 12 is 3, or 1/3.
I told you it was confusing π
xs
Type: string
Description: Set the span each entry should use out of 12 columns per row on extra small size devices/screens.
Example: [grid content=”post” xs=”12″]
sm
Type: string
Description: Set the span each entry should use out of 12 columns per row on small size devices/screens.
Example: [grid content=”post” xs=”12″ sm=”6″]
md
Type: string
Description: Set the span each entry should use out of 12 columns per row on medium size devices/screens.
In its simplest use, use the Grid shortcode to display all your posts in a grid that will display all posts with their featured image and title, like this:
[grid content="post" number="6"]
To display pages instead of posts, use
[grid content="page" number="6"]
Example 2 – Display titles over featured image
To displays the 3 most recent posts, center-aligned within the page, with horizontally and vertically centered content, showing the post’s title and featured image as a background, use the shortcode like this:
Example 3 – Display title, excerpt, and read more link
The show parameter is used to display the content, excerpt, image, more_link (as a Read More button), title, author, date and taxonomies. This example uses Grid with 4 show values – image, title, excerpt and more_link – an excellent layout for any blog.
Grid is a true powerhouse when it comes to site architecture. Use it to display child pages of a parent on any page, including the parent page. Used this way, Grid is a great alternative to traditional sub-page menus.