All TB Wishlist docs
  1. TB Wishlist
  2. Docs
  3. Set up

Shortcodes and blocks

Place the heart button, the header counter and the full wishlist anywhere with three shortcodes or three blocks.

Paste a shortcode into any page, widget or page-builder Shortcode element. In the block editor, click + and search for “Wishlist”.

ShortcodeBlockWhat it shows
[tbww_button]Add to Wishlist ButtonThe heart button for the current product. Add id="123" to choose a product.
[tbww_count]Wishlist CounterA heart with the number of saved items, linking to the wishlist. Add show_icon="no" to hide the heart.
[tbww_wishlist]WishlistThe shopper's wishlists, or a shared list when someone opens a share link.
Stuck on something this page doesn’t cover? Support is free for every TB Wishlist user, Pro or not. Get help.