WordPress Short Code

Start WP Short Code Example

Shortcode 1 is working.

The red text content above is rendered by using “shortcode1” in brackets on a page or post created in WP Admin and inserting the following code in functions.php:

function sc1_func( $atts ){
return "Shortcode1 is working.";
}
add_shortcode( 'shortcode1', 'sc1_func' );

End WP Short Code Example