Skip to content

Podcast E057 – Shortcodes

kswp-57
This week I talk about Shortcodes.

Upcoming Events

Segment 1: In the News

Segment 2: Shortscodes – what are they?!

A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. 

Shortcode = shortcut.

A very simple sample code to use when creating a custom plugin.

function my_name () {

return ‘Written by, Adam Silver';

}

add_shortcode( ‘name', ‘my_name');

Segment 3: Tool of the Week