SeedProd Documentation

Documentation, Reference Materials, and Tutorials for SeedProd

SeedProd Shortcodes

SeedProd includes a set of built-in shortcodes that power its blocks and template tags behind the scenes. These shortcodes can also be used directly in your pages and templates to render specific content, integrate with WooCommerce or Easy Digital Downloads, pull in WordPress widgets and menus, and more.

Below is a complete reference of all available SeedProd shortcodes, their attributes, and example usage.


Business Reviews

Shortcode: [businessreview]

Renders the Business Reviews block, pulling in reviews from Google Places or Yelp.

Attributes:

  • reviewsource: The review platform to pull from. Options: googleplaces, yelp. Default: googleplaces.
  • googleplaceid: Your Google Place ID (required when reviewsource is googleplaces).
  • yelpbusinessid: Your Yelp Business ID (required when reviewsource is yelp).
  • languagecode: Language code for the reviews display (e.g., en).
  • imageposition: Position of the reviewer image. Default: abovename.
  • filterby: How to filter reviews. Default: rating.
  • minimumrating: Minimum star rating to display. Default: no.
  • reviewerimage: Show or hide the reviewer’s image. Default: true.
  • reviewername: Show or hide the reviewer’s name. Default: true.
  • reviewerlinkname: Show reviewer name as a link. Default: true.
  • reviewdate: Show or hide the review date. Default: true.
  • reviewdatetype: Format for the review date. Options: relative, absolute. Default: relative.
  • reviewrating: Show or hide the star rating. Default: true.
  • reviewtext: Show or hide the review body text. Default: true.
  • reviewtextlength: Maximum number of words to show before truncating. Default: 13.
  • readmoretext: Label for the “read more” link. Default: read more.
  • layout: Display layout for reviews. Options: grid, slider. Default: grid.
  • slidetoshow: Number of reviews visible at once in slider layout. Default: 4.
  • numofreviews: Total number of reviews to display. Default: 5.
  • navcolor: Navigation color for the slider. Default: d.

EDD Downloads Grid

Shortcode: [sp_edd_downloads_grid]

Renders an Easy Digital Downloads product grid on your page.

Attributes:

  • category: Filter products by category slug.
  • exclude_category: Exclude products from a specific category slug.
  • tags: Filter products by tag.
  • exclude_tags: Exclude products with specific tags.
  • relation: Relation operator for combined filters. Options: AND, OR.
  • number: Number of products to display.
  • price: Show or hide the product price.
  • excerpt: Show or hide the product excerpt.
  • full_content: Show full product content instead of excerpt.
  • buy_button: Show or hide the buy button.
  • columns: Number of columns in the grid.
  • thumbnails: Show or hide product thumbnails.
  • order_by: Field to sort products by (e.g., title, date, price).
  • order: Sort order. Options: ASC, DESC.
  • ids: Comma-separated list of specific product IDs to display.
  • pagination: Enable or disable pagination. Default: true.

EDD Buy Now Button

Shortcode: [sp_buy_now_button]

Renders an Easy Digital Downloads Buy Now button for a specific product.

Attributes:

  • product_id: The ID of the EDD product to purchase.
  • direct_to_checkout: Send the customer directly to checkout on click. Default: true.
  • show_price: Display the product price on the button. Default: true.
  • btn_txt: Custom button label text.
  • before_icon: Icon to display before the button text.
  • after_icon: Icon to display after the button text.

EDD Cart

Shortcode: [sp_edd_cart]

Renders the Easy Digital Downloads cart section or page. No attributes required.

Example: [sp_edd_cart]


EDD Checkout

Shortcode: [sp_edd_checkout]

Renders the Easy Digital Downloads checkout section or page. No attributes required.

Example: [sp_edd_checkout]


EDD Add to Cart

Shortcode: [sp_edd_add_to_cart]

Renders a SeedProd EDD Add to Cart button for the current product.

Attributes:

  • direct_to_checkout: Send the customer directly to checkout on click. Default: true.
  • show_price: Display the product price on the button. Default: true.
  • btn_txt: Custom button label text.
  • before_icon: Icon to display before the button text.
  • after_icon: Icon to display after the button text.

Posts — Default, Custom, and Manual

SeedProd includes three shortcodes used by the Posts block to render different types of post queries.

Default Posts: [defaultposts] — Renders posts from the current query string.

Custom Posts: [customposts] — Renders posts using custom query filters such as post type, categories, tags, and authors.

Manual Posts: [manualposts] — Renders a manually selected set of posts.

All three shortcodes share the following display attributes:

  • show_featured_image: Show or hide the featured image. Default: true.
  • show_title: Show or hide the post title. Default: true.
  • title_html_tag: HTML tag for the post title. Default: h1.
  • pagination: Enable or disable pagination. Default: false.
  • posts_per_page: Number of posts to display per page. Default: -1 (all).
  • show_meta_options: Show or hide the post meta section. Default: true.
  • show_author_meta: Show the post author. Default: true.
  • show_date_meta: Show the publish date. Default: true.
  • show_date_modified_meta: Show the last modified date. Default: true.
  • show_time_meta: Show the publish time. Default: true.
  • show_comment_count_meta: Show the comment count. Default: true.
  • meta_separator: Separator character between meta items. Default: ,.
  • show_excerpt: Show or hide the post excerpt. Default: true.
  • excerpt_length: Number of words in the excerpt. Default: 20.
  • show_read_more: Show or hide the Read More link. Default: true.
  • read_more_text: Custom label for the Read More link.
  • columns: Number of columns in the grid layout. Default: 4.
  • skin: Display skin style. Default: classic.
  • skinlayout: Layout variant for the chosen skin. Default: gridlayout.
  • imageposition: Position of the featured image relative to content. Default: left.
  • masonary: Enable masonry layout. Default: true.
  • badge: Show or hide a taxonomy badge on posts. Default: true.
  • badgetaxonomy: The taxonomy to use for the badge label.
  • avatar: Show or hide the author avatar. Default: false.
  • slidetoshow: Number of posts visible at once in slider layout. Default: 2.
  • autoplay: Enable slider autoplay. Default: true.
  • speed: Slider autoplay speed in milliseconds. Default: 100.

The [customposts] shortcode also accepts these query attributes:

  • query_by_post_type: Filter by post type. Default: true.
  • post_type: The post type(s) to query.
  • order: Sort order. Options: ASC, DESC.
  • orderby: Field to sort by.
  • query_by_category: Filter by category. Default: false.
  • cat: Category ID(s) to include.
  • query_by_tags: Filter by tags. Default: false.
  • tag__in: Tag ID(s) to include.
  • query_by_authors: Filter by author. Default: false.
  • author: Author ID(s) to include.

Archive Products

Shortcode: [sp_archive_products]

Renders WooCommerce’s product archive, used on Shop pages and category/tag archive pages.

Attributes:

  • columns: Number of product columns to display.
  • paginate: Enable or disable pagination.
  • limit: Maximum number of products to display.
  • orderby: Field to sort products by.
  • order: Sort order. Options: ASC, DESC.
  • category: Filter by product category.
  • skus: Filter by specific product SKUs.
  • tag: Filter by product tag.
  • attribute: Filter by product attribute.
  • terms: Attribute terms to filter by.
  • terms_operator: Operator for attribute term filtering.
  • tag_operator: Operator for tag filtering.
  • cat_operator: Operator for category filtering.
  • visibility: Filter products by visibility setting.

Shortcode: [seedprodnestedmenuwidget]

Renders a selected WordPress navigation menu inside the SeedProd builder.

Attributes:

  • menu: The WordPress menu to display.
  • menudivider: Divider character between menu items.
  • layout: Menu orientation. Options: h (horizontal), v (vertical). Default: h.

WordPress Widget

Shortcode: [seedprodwpwidget]

Renders a selected WordPress widget inside the SeedProd builder. Accepts a widget type and its corresponding widget attributes as parameters.


Shortcode: [seedprod_get_permalink]

Outputs the permalink of the current post or page. No attributes required.

Example: [seedprod_get_permalink]


SeedProd Template Tags

Shortcode: [seedprod]

Renders WordPress template tags for use in SeedProd page and theme templates.

Attributes:

  • tag: The template tag to render (see list below).
  • id: Optional post or term ID to target.
  • echo: Output the value directly. Default: false.
  • loop: Run the tag inside The Loop. Default: false.

Available tags:

  • the_post_thumbnail — Featured image
  • get_avatar — Author avatar
  • the_title — Post or page title
  • the_excerpt — Post excerpt
  • the_content — Full post content
  • the_author_meta(display_name) — Author display name
  • the_author_meta(description) — Author bio
  • the_date(F j, Y), the_date(Y-m-d), the_date(d/m/Y), the_date(m/d/Y) — Publish date in various formats
  • the_modified_date(F j, Y), the_modified_date(Y-m-d), the_modified_date(m/d/Y), the_modified_date(d/m/Y) — Last modified date
  • the_time(g:i a), the_time(g:i A), the_time(H:i) — Publish time
  • the_modified_time(g:i a), the_modified_time(g:i A), the_modified_time(H:i) — Last modified time
  • comments_template — Comments section
  • get_comments_number — Comment count
  • get_previous_post_link — Link to the previous post
  • get_next_post_link — Link to the next post
  • the_archive_title — Archive page title
  • the_tags — Post tags
  • the_category — Post categories
  • the_custom_logo — Site logo
  • home_url — Site home URL
  • get_author_posts_url — URL of the author’s posts archive

Example: [seedprod tag="the_author_meta(description)"]


EDD Template Tags

Shortcode: [seedprod_edd]

Renders Easy Digital Downloads template tags inside SeedProd templates.

Attributes:

  • tag: The EDD template tag to render (see list below).
  • echo: Output the value directly. Default: false.

Available tags:

  • the_title — Product title
  • the_post_thumbnail — Product image
  • the_content — Full product description
  • the_excerpt — Product excerpt
  • short_description — Short product description
  • download_instructions — Download instructions
  • price_html — Formatted product price
  • downloads — Download files list
  • download_cart — EDD cart
  • download_checkout — EDD checkout
  • purchase_link — Purchase button
  • edd_login — EDD login form
  • edd_register — EDD registration form
  • purchase_history — Customer purchase history
  • edd_receipt — Purchase receipt
  • download_history — Customer download history

Example: [seedprod_edd tag="the_post_thumbnail"]


WooCommerce Template Tags

Shortcode: [seedprod_wc]

Renders WooCommerce template tags inside SeedProd templates.

Attributes:

  • tag: The WooCommerce template tag to render (see list below).
  • echo: Output the value directly. Default: false.

Available tags:

  • the_title — Product title
  • the_post_thumbnail — Product image
  • price_html — Formatted product price
  • the_content — Full product description
  • the_excerpt — Product excerpt
  • short_description — Short product description

Example: [seedprod_wc tag="the_post_thumbnail"]


Template Part

Shortcode: [sp_template_part]

Renders a saved SeedProd template part by its ID. Use this to embed a reusable header, footer, or global section anywhere on your page.

Attributes:

  • id: The ID of the template part to render. Default: 0.

Example: [sp_template_part id="24"]


Custom Fields

Shortcode: [sp_custom_field]

Renders the value of a custom field (post meta) for a specified post.

Attributes:

  • post_id: The ID of the post to retrieve the custom field from. Defaults to the current post ID.
  • field: The meta key name of the custom field to display.

Example: [sp_custom_field post_id="43" field="post_name_custom"]


WooCommerce Menu Cart

Shortcode: [sp_menu_cart]

Renders the WooCommerce Menu Cart block.

Attributes:

  • hide_on_empty: Hide the cart icon when the cart is empty. Default: false.
  • show_subtotal: Display the cart subtotal alongside the icon. Default: true.

Example: [sp_menu_cart hide_on_empty="true" show_subtotal="true"]


WooCommerce Add to Cart

Shortcode: [sp_add_to_cart]

Renders the SeedProd WooCommerce Add to Cart button for the current product.

Attributes:

  • btn_txt: Custom button label text. Default: Add To Cart.
  • before_icon: Icon to display before the button text.
  • after_icon: Icon to display after the button text.

WooCommerce Product Meta

Shortcode: [sp_product_meta]

Renders the WooCommerce product meta section (SKU, categories, tags) for the current product.

Attributes:

  • divider: Separator character between meta items. Example: ",".

WooCommerce Product Data Tabs

Shortcode: [sp_product_data_tabs]

Renders the WooCommerce product data tabs (Description, Additional Information, Reviews) for the current product. No attributes required.

Example: [sp_product_data_tabs]


Shortcode: [sp_product_gallery_images]

Renders the WooCommerce product gallery image carousel for the current product. No attributes required.

Example: [sp_product_gallery_images]


WooCommerce Additional Information

Shortcode: [sp_additional_info]

Renders the WooCommerce product additional information tab content (attributes and dimensions) for the current product. No attributes required.

Example: [sp_additional_info]


Shortcode: [sp_product_related]

Renders the WooCommerce related products section for the current product.

Attributes:

  • columns: Number of columns to display. Default: 4.
  • limit: Maximum number of related products to show. Default: -1 (all).
  • orderby: Field to sort related products by.
  • order: Sort order. Options: ASC, DESC.

WooCommerce Product Upsells

Shortcode: [sp_product_upsells]

Renders the WooCommerce upsell products section for the current product.

Attributes:

  • columns: Number of columns to display. Default: 1.
  • limit: Maximum number of upsell products to show. Default: -1 (all).
  • orderby: Field to sort upsell products by.
  • order: Sort order. Options: ASC, DESC.

WooCommerce Product Rating

Shortcode: [sp_product_rating]

Renders the WooCommerce product star rating for the current product. No attributes required.

Example: [sp_product_rating]


WooCommerce Product Stock

Shortcode: [sp_product_stock]

Renders the WooCommerce product stock status for the current product. No attributes required.

Example: [sp_product_stock]


Legacy Contact Form

Shortcode: [seed_contact_form]

Renders the legacy SeedProd contact form.

Attributes:

  • text: Button label text. Default: Contact Us.
  • icon: Show or hide the button icon. Default: true.

Example: [seed_contact_form text="Contact Us"]


This reference covers all shortcodes available in SeedProd. Whether you’re building WooCommerce product pages, EDD storefronts, or custom theme templates, these shortcodes give you precise control over what gets rendered and where. Bookmark this page for quick reference as you build your pages.

Related Articles