Cotton Rohrscheib

The Cotton Club Blog & Podcast

  • Home
  • About
  • Blog
    • Collecting & History
    • Faith & Family
    • Marketing & Tech
    • Farm & Business
    • Sports & Entertainment
    • Health & Wellness
    • Urban Farming
    • Weekend Projects
  • Podcast
  • Newsletter
  • Media
    • Photo Galleries
    • Video Archives
    • Apple Music Playlists
  • Marketplace
    • My Account
    • Shopping Cart
    • Checkout
  • Connect
You are here: Home / 2012 / December / Archives for 18th

Archives for December 18, 2012

Using [shortcodes] in WordPress Widgets

December 18, 2012 by Cotton Rohrscheib Leave a Comment

I figured out a cool trick this evening that I thought I would share. Let’s say you have a shortcode that you would like to display inside of a wordpress text widget area, just locate your theme directory and edit your functions.php file to include the following: add_filter( 'widget_text', 'shortcode_unautop'); add_filter( 'widget_text', 'do_shortcode');

Filed Under: Marketing & Tech Tagged With: Wordpress™

Shopping Cart

Recent Updates

  • “Waiting”: The Story of Pedro, Helena’s Most Faithful Dog
  • What Should Arkansas Farmers Plant in 2027?
  • Helena, Arkansas: The Civil War Crossroads of the Mississippi Delta
  • Coming Soon: Vintage Power Tools at High Cotton Collectibles
  • Arkansas Farmers Grew the Crop in 2026 — Making Money Was Another Matter

Blog Categories

  • Blog (475)
  • Collecting & History (22)
  • Faith & Family (157)
  • Farm & Business (316)
  • Health & Wellness (38)
  • Marketing & Tech (595)
  • Podcasts (34)
  • Sports & Entertainment (385)
  • Urban Farming (25)
  • Weekend Projects (17)

Blog Archives

Content Copyright © 2000-2026
Cotton Rohrscheib | Rohrscheib Capital
Disclaimer | Privacy Policy | Account Manager | View Cart

All opinions expressed on this website are 100% Cotton (see my disclaimer). All content, including text, images, and media, are the intellectual property of Rohrscheib Capital unless otherwise noted. To learn how we use your private information, checkout our privacy policy.