and like us on FB

We have a lot of WordPress shortcodes on this website – 256 of them and counting. The number of shortcodes listed above is a live count and will update when a new shortcode is published to the website… and this feature forms part (if not the focus) of the function we’ve provided below. The other component of the shortcode function will list all your shortcode functions in a list.

The Result

The usage that motivated the code was a means of counting the number of our registered shortcodes. So, [shortcodes count="1"] will output 256. You might optionally list all shortcodes with [shortcodes].

If you run a publishing site and need to provide a resource on shortcode usage, linking to an author-only page with the same slug name detailing shortcode usage (and attributes) might be an easy means of keeping your team educated.

  • wp_caption (img_caption_shortcode)
  • caption (img_caption_shortcode)
  • gallery (gallery_shortcode)
  • playlist (wp_playlist_shortcode)
  • audio (wp_audio_shortcode)
  • video (wp_video_shortcode)
  • embed (__return_false)
  • image (beliefmedia_image_manipulation_scaling)
  • bmtime (beliefmedia_return_timestamp)
  • pjs (beliefmedia_platformjs_text)
  • googleplusonebutton (internoetics_google_plusone_button)
  • gpone (beliefmedia_google_plusone_button)
  • googleplusicon (beliefmedia_googleplus_icon)
  • googleplusbadge (beliefmedia_googleplus_badge)
  • googleplusfollow (beliefmedia_googleplus_follow_button)
  • googleplusembed (beliefmedia_googleplus_embed_post)
  • chart_depreciated (beliefmedia_chart_shortcode_depreciated)
  • twitterlikes (beliefmedia_twitter_likes)
  • bmtweet (beliefmedia_oembed_tweet)
  • fbshare (beliefmedia_facebook_share_button)
  • fbsharecount (beliefmedia_facebook_share_count)
  • linkedinshares (beliefmedia_linkedin_shares)
  • pins (beliefmedia_count_url_pinterest_pins)
  • facebooklike (beliefmedia_facebook_simple_like_button)
  • shortturl (internoetics_wordpress_shortt_link)
  • fbpage (facebookpagebox)
  • bmsitemap (beliefmedia_wordpress_readable_sitemap)
  • updateprettify (beliefmedia_update_local_prettify)
  • htmlentities (beliefmedia_html_entity_encode_decode)
  • binaryascii (beliefmedia_binary_ascii_converter)
  • qencoding (beliefmedia_q_encoding)
  • bacon (beliefmedia_bacon_cipher)
  • twitalics (beliefmedia_twitalics_text)
  • quotedprintable (beliefmedia_quoted_printable)
  • base64encoding (beliefmedia_base64_encoding)
  • utf8encoding (beliefmedia_utf8_encoding)
  • wtf8encoding (beliefmedia_wtf8_encoding)
  • bmtestyy (bmtesticle)
  • search (beliefmedia_wordpress_search)
  • contactmonth (beliefmedia_show_contact_month)
  • break (beliefmedia_break)
  • underconstruction (beliefmedia_under_construction_result)
  • squares (beliefmedia_squares)
  • cf (custom_shortcode_blurb)
  • cache (custom_cache_blurb)
  • sw (custom_shortcode_widget_blurb)
  • fbsdk (custom_fbsdk_blurb)
  • wpplugin (wordPressPluginBox)
  • wpsupport (beliefmedia_wpplugin_intro_text)
  • sc (beliefmedia_display_shortcode)
  • wpp (beliefmedia_wordpress_plugin_box)
  • fmc (internoetics_fmc_cdu)
  • posttypes (beliefmedia_get_post_types)
  • download (beliefmedia_download_zipfile)
  • highlight (beliefmedia_highlight_text)
  • referencemenu (beliefmedia_code_reference_menu)
  • childpages (beliefmedia_child_pages)
  • future (beliefmedia_future_posts)
  • bmlist (beliefmedia_custom_list)
  • dropdown (beliefmedia_wp_post_dropdown)
  • categorypages (beliefmedia_category_pages)
  • fbvideo (beliefmedia_facebook_video)
  • pageplugin (beliefmedia_facebook_pageplugin)
  • fbpost (beliefmedia_embed_facebook_posts)
  • fbsave (beliefmedia_facebook_save_button)
  • fbfollow (beliefmedia_facebook_follow_button)
  • fblikes (beliefmedia_facebook_page_likes)
  • fblikesimage (beliefmedia_fb_pagelikes_image)
  • ipgeo (beliefmedia_geo_country_city)
  • iplink (beliefmedia_api_sample_link)
  • geotitle (beliefmedia_geographic_titles)
  • abcjs (beliefmedia_abcjs_notation)
  • youtube (beliefmedia_embed_youtube_player)
  • vimeo (beliefmedia_embed_vimeo_video)
  • ytsubscribe (beliefmedia_youtube_subscribe_button)
  • keek (beliefmedia_keek_video)
  • videopress (beliefmedia_videopress)
  • ustream (beliefmedia_ustream_video)
  • yahoonews (beliefmedia_yahoo_news_video)
  • slideshare (beliefmedia_slideshare_oembed)
  • ytchannel (beliefmedia_youtube_channel_data)
  • ytchannel_sc (beliefmedia_youtube_channel_data_sc)
  • youtubevideo (beliefmedia_youtube_video_meta)
  • youtube_video (beliefmedia_youtube_video_meta_simple)
  • ytdata (beliefmedia_youtube_video_data_thumbnails)
  • funnyordie (beliefmedia_funnyordie_video)
  • ytrss (beliefmedia_youtube_tower_rss)
  • metacafe (beliefmedia_embed_metacafe)
  • youtube_gallery (beliefmedia_youtube_gallery)
  • pastebin (beliefmedia_pastebin)
  • gist (beliefmedia_wordpress_github)
  • codepen (beliefmedia_embed_codepen_pen)
  • snipplrr (beliefmedia_snipplr_default)
  • snipplr (beliefmedia_snipplr_json)
  • simplephp (beliefmedia_simple_php_highlighter)
  • fact (beliefmedia_random_fact)
  • aviationquote (beliefmedia_aviationquote)
  • trends (internoetics_google_trend)
  • wpdl (beliefmedia_wp_download_count)
  • bmimagestest (beliefmedia_wordpress_get_images_except_featured)
  • bmpostimages (beliefmedia_wp_get_images_except_featured)
  • attachmentdatatest (beliefmedia_get_attachment_data_test)
  • bmwordpress (beliefmedia_wordpress_download_links)
  • snap (beliefmedia_wp_snapshot)
  • wpimporters (beliefmedia_wordpress_importers)
  • bmtextbox (beliefmedia_textbox)
  • wpmeets (beliefmedia_wordpress_meetups)
  • wpcredits (beliefmedia_wordpress_credits)
  • blockquote_old (beliefmedia_simple_blockquote_old)
  • blockquote (beliefmedia_blockquote)
  • progress (beliefmedia_percentage_div)
  • phpversions (beliefmedia_php_version_google_pie_chart)
  • change (beliefmedia_change_graph)
  • changedata (beliefmedia_change_datas)
  • dimensions (beliefmedia_detect_screen_dimensions)
  • useragent (beliefmedia_resolve_useragent)
  • useragentmobile (beliefmedia_mobile_browser)
  • random (beliefmedia_random_posts)
  • numberposts (beliefmedia_count_posts)
  • countdown (beliefmedia_simple_countdown)
  • days (beliefmedia_static_countdown)
  • timeago (beliefmedia_posted_ago)
  • series (beliefmedia_series_posts)
  • gqr (beliefmedia_google_qrcode)
  • qr (beliefmedia_qrcode)
  • glink (beliefmedia_google_icon_links)
  • shortcodes (beliefmedia_display_shortcodes)
  • weatherunderground (beliefmedia_weatherunderground_forecast)
  • bmquote (beliefmedia_simple_quote)
  • showposttypes (beliefmedia_show_post_types)
  • soundclouds (beliefmedia_soundcloud_data)
  • soundcloudsi (beliefmedia_soundclouds_data)
  • soundcloud (beliefmedia_soundcloud_player)
  • donate (beliefmedia_paypal_donate)
  • importimagedemo (beliefmedia_import_image_demo)
  • remoteimagedemo (beliefmedia_remote_image_demo)
  • voxer (beliefmedia_embed_voxer)
  • food2fork (beliefmedia_foodfork_recipe)
  • stock (beliefmedia_alphavantage_quotes)
  • stocks (beliefmedia_alphavantage_candlestick_quotes)
  • hexgraph (beliefmedia_rgb_pie_graph)
  • atisgraph (beliefmedia_atis_graph_basic)
  • temprange (beliefmedia_atis_temperature_range)
  • temp_dp (beliefmedia_atis_temperature_ranges)
  • metar_temp_dp (beliefmedia_metar_temp_dp_line)
  • metarpressure (beliefmedia_sample_google_pressure)
  • pricingtable (beliefmedia_pricing_table_basic)
  • php (beliefmedia_syntax_highlighter)
  • bom (beliefmedia_bom_forecast)
  • blockchaintxt (beliefmedia_blockchain_bitcoin_text)
  • blockchain (beliefmedia_blockchain_bitcoin_ticker)
  • fleschscore (beliefmedia_readability_scores)
  • flesch (beliefmedia_readability_score)
  • flightradar (beliefmedia_flightradar)
  • metar (beliefmedia_internoetics_metar_shortcode)
  • taf (beliefmedia_internoetics_taf_shortcode)
  • qnh (beliefmedia_internoetics_metar_qnh)
  • temperature (beliefmedia_internoetics_metar_temp)
  • arfor (beliefmedia_internoetics_bom_arfor)
  • bmgallerygrid (beliefmedia_grid_gallery)
  • bmgallerygrids (beliefmedia_grid_post_gallery)
  • math (beliefmedia_mathjax)
  • conversion (beliefmedia_currency_conversion)
  • atts (beliefmedia_atts_test)
  • getip (beliefmedia_ip)
  • myemails (beliefmedia_show_email)
  • iphoneypot (beliefmedia_ip_honeypot)
  • myemail (beliefmedia_obfuscate_email)
  • age (beliefmedia_determine_age)
  • bmcount (beliefmedia_wordpress_textfile_count_show)
  • randomstring (beliefmedia_random_string_example)
  • latestdownloads (beliefmedia_get_latest_downloads)
  • qotz (beliefmedia_wp_qotz)
  • phpfunctions (beliefmedia_get_php_functions)
  • wpcodexfunctions (beliefmedia_get_wordpress_codex_functions)
  • insult (beliefmedia_insult)
  • bmplugin (beliefmedia_wordpress_download_box)
  • showplugins (beliefmedia_active_site_plugins)
  • showactivevalid (beliefmedia_active_valid_site_plugins)
  • linkactivevalid (beliefmedia_active_valid_link_plugins)
  • telephone (beliefmedia_telephone_link)
  • googlemap (beliefmedia_google_maps)
  • sameas (beliefmedia_social_sameas_test)
  • imgtst (beliefmedia_test_image_sizes)
  • bmkeys (beliefmedia_shortt_keys)
  • rss (beliefmedia_simplepie_rss)
  • relatedposts (beliefmedia_related_posts)
  • stampduty (beliefmedia_update_local_stampduty)
  • podcasttest (podcast_test)
  • bmaudio (beliefmedia_podcast_player_one)
  • podcast_introduction (beliefmedia_podcast_introduction)
  • podcast (beliefmedia_podcast_episode)
  • podcasts (beliefmedia_list_podcasts)
  • stats (beliefmedia_podcasts_stats_week)
  • bmemail (beliefmedia_update_bmemail)
  • et (beliefmedia_email_test)
  • locations (beliefmedia_locations_page_data)
  • suburb_map (beliefmedia_locations_google_maps)
  • bmseo (beliefmedia_bm_seo_data)
  • bmtst (beliefmedia_testicle_thumbs)
  • blind (beliefmedia_simple_blind)
  • bc (beliefmedia_breadcrumbs)
  • wpsearch (beliefmedia_wp_search)
  • hiztory (beliefmedia_internoetics_get_hiztory)
  • link (internoetics_link_shortcode)
  • tag (beliefmedia_tag_link)
  • category (beliefmedia_category_link)
  • audioplayer (internoetics_audioplayer)
  • ipc (internoetics_post_count)
  • contact-form-7 (wpcf7_contact_form_tag_func)
  • contact-form (wpcf7_contact_form_tag_func)
  • is_logged_in (themify_shortcode)
  • themify_is_logged_in (themify_shortcode)
  • is_guest (themify_shortcode)
  • themify_is_guest (themify_shortcode)
  • button (themify_shortcode)
  • themify_button (themify_shortcode)
  • quote (themify_shortcode)
  • themify_quote (themify_shortcode)
  • col (themify_shortcode)
  • themify_col (themify_shortcode)
  • sub_col (themify_shortcode)
  • themify_sub_col (themify_shortcode)
  • img (themify_shortcode)
  • themify_img (themify_shortcode)
  • hr (themify_shortcode)
  • themify_hr (themify_shortcode)
  • map (themify_shortcode)
  • themify_map (themify_shortcode)
  • list_posts (themify_shortcode_list_posts)
  • themify_list_posts (themify_shortcode_list_posts)
  • flickr (themify_shortcode_flickr)
  • themify_flickr (themify_shortcode_flickr)
  • twitter (themify_shortcode_twitter)
  • themify_twitter (themify_shortcode_twitter)
  • box (themify_shortcode_box)
  • themify_box (themify_shortcode_box)
  • post_slider (themify_shortcode_post_slider)
  • themify_post_slider (themify_shortcode_post_slider)
  • slider (themify_shortcode_slider)
  • themify_slider (themify_shortcode_slider)
  • slide (themify_shortcode_slide)
  • themify_slide (themify_shortcode_slide)
  • author_box (themify_shortcode_author_box)
  • themify_author_box (themify_shortcode_author_box)
  • icon (themify_shortcode_icon)
  • themify_icon (themify_shortcode_icon)
  • list (themify_shortcode_icon_list)
  • themify_list (themify_shortcode_icon_list)
  • themify_video (wp_video_shortcode)

The Shortcode Function

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

If you require shortcode to work in a sidebar widget, you'll have to enable the functionality with a filter. If you're using our custom functions plugin, you'll have that feature enabled by default.

Shortcode Attributes

count

By default we’ll output a list of shortcodes. To display the number (or count) of registered shortcodes, use count="1".

cache

The cache is the length of time we’ll cache the result.

Shortt URL for this post: http://shor.tt/Dyg