smallpink

The Black Rider Lite Responsive Theme smallpink shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[smallpink]'); 
  1. // variable usage 
  2. $result = do_shortcode('[smallpink]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/functions/shortcodes.php  
  1. //Small Pink Button 
  2. function smallpink_shortcode($atts, $content = null) { 
  3. extract(shortcode_atts(array("url" => ''), $atts)); 
  4. return '<a href="' . $url . '" class="button2 pink">' . do_shortcode($content) . '<span></span></a>'; 
  5. add_shortcode('smallpink', 'smallpink_shortcode'); 
  6. //Small Brown Button 
  7. function smallbrown_shortcode($atts, $content = null) { 
  8. extract(shortcode_atts(array("url" => ''), $atts)); 
  9. return '<a href="' . $url . '" class="button2 brown">' . do_shortcode($content) . '<span></span></a>';