EasyToolsWP

Shortcodes

[etwp_shortcodes_list]

Automatic Topmenu

ShortcodeDescription
[​etwp_topmenu_menu menu="Main"]
[​etwp_topmenu_menu location="primary"]
[​etwp_topmenu_terms taxonomy="product_cat" depth="2" hide_empty="1"] taxonomy="category",
post_tag,
product_cat,
product_tag
[​etwp_topmenu_pages parent="0" depth="2" include="" exclude="" Pages
[​etwp_topmenu_pages parent="0" depth="2" include="" exclude="" Posts
[​etwp_topmenu_products per_page="12" cats="hoodies,tshirts" tags="" orderby="title" order="ASC"] Products
HTML <div class="etwp-topmenu">
<div class="etwp-inner">…your menu markup…</div>
</div>

BMI Calculator

ShortcodeDescription
[​etwp_bmi]

CF7 Woo Product Dropdown

ShortcodeDescription
[​woocommerce_products_dropdown your-field-name]

Show readtime & youtube duration time

ShortcodeDescription
[​readtime] Read time: 6 minutes
[​readtime wpm="220" include_links="1" min="2"] depth, wpm, include_links, min, readtime_label, minute_singular, minute_plural
[​youtube_count depth="self" unique="1"] 3

Count of YouTube videos in content.

depth, unique
[​youtube_duration api_key="YOUR_KEY" cache_ttl="43200"] Videos total duration: 8 minutes

Total duration of all YouTube videos (via YouTube Data API).

depth, api_key, cache_ttl, videos_total_duration_label, hour_singular, hour_plural
[​content_metrics show="readtime,duration" prefix="At a glance: "] Read time: 6 minutes • Videos: 3 • Videos total duration: 8 minutes

Combined overview of reading time, YouTube video count, and YouTube video duration.

depth, show, separator, prefix, suffix, wpm, include_links, min, api_key, cache_ttl, readtime_label, videos_label, videos_total_duration_label, hour_singular, hour_plural, minute_singular, minute_plural
[​youtube_list type="ids" separator=" | " unique="1"] abc123,def456,ghi789

Helper/debug to output detected YouTube video IDs.

depth, type, separator, unique
depth="self" self – only current post/page

depth="child"
current + direct children

depth="siblings"
all siblings (same parent) excluding current

depth="siblings+child"
current + siblings + direct children

depth="total"
current + all descendants (full subtree)

Sticky button for mobile

ShortcodeDescription
.mobilephonestickyhide

Woo Ajax Live Search

ShortcodeDescription
[​wc_live_search] Show search input

Woo Bundle View with shortcode

ShortcodeDescription
[​etwp_bundle_button ids="1388,1369,1370,1366" coupon="may_coupon" button_text="Buy bundle now!" coupon_text="Get 20% off" items_per_row="2"] Sell WOO products in bundles
[​etwp_bundle_button] ids="1388,1369,1370,1366"
coupon="may_coupon"
button_text="Buy bundle now!"
coupon_text="Get 20% off"
items_per_row="2"

Woo Email Confirm

ShortcodeDescription
[​etwp_username]
[​etwp_email]
[​etwp_last_login]
[​etwp_last_login_days]

Woo Extra Product Text

ShortcodeDescription
[​etwp_username]
[​etwp_email]
[​etwp_last_login]
[​etwp_last_login_days]

Woo Product Weight

ShortcodeDescription
[​cart_total_weight]

Woo Shipping Countdown Timer

ShortcodeDescription
[​etwp_cd_countdown]

Woo SKU Barcode

ShortcodeDescription
[​etwp_barcode]
[​etwp_barcode sku="ABC-123" size="48" align="left" font="Libre Barcode 39" label="yes"]

Woo Subscription Manager

ShortcodeDescription
[​user-day-left]
[​etwp-user-expiry-date format="Y-m-d"]
[​etwp-user-progress height="12" show_text="yes"]
[​etwp-renew-button text="Renew now" url=""]

Youtube Playlist (Shortcode)

ShortcodeDescription
[​etwp-youtube-video] playlist="YOUR_PLAYLIST_ID"
items="10"
video_height="315"
show_video_title="true"
show_thumbnail_title="true"
[​etwp-youtube-video playlist="YOUR_PLAYLIST_ID" items="10" video_height="315" show_video_title="true" show_thumbnail_title="true"]