intro

The ColorWay Theme intro shortcode.


Usage

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

Defined (2)

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

/shortcodes.php  
  1. /* 
  2. */ 
  3. function intro_shortcode( $atts, $content = null ) { 
  4. return '<h1 class="intro">' . do_shortcode($content) . '<span></span></h1>'; 
  5. add_shortcode( 'intro', 'intro_shortcode' ); 
  6. /** 
  7. * Columns 
  8. */ 
  9. /** 2 Columns */ 
/functions/shortcodes.php  
  1. /**/ 
  2.  
  3. function intro_shortcode( $atts, $content = null ) { 
  4. return '<h1 class="intro">' . do_shortcode($content) . '<span></span></h1>'; 
  5. add_shortcode( 'intro', 'intro_shortcode' ); 
  6.  
  7.  
  8. /** 
  9. * Columns