note_box

The ColorWay Theme note box shortcode.


Usage

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

Defined (1)

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

/functions/shortcodes.php  
  1.  
  2. /** Note */ 
  3. function note_box_shortcode($atts, $content = null) {  
  4. return '<div class="note-box">' . do_shortcode($content) . '</div>'; 
  5. add_shortcode('note_box', 'note_box_shortcode'); 
  6.  
  7.  
  8. /** Download */ 
  9. function download_box_shortcode($atts, $content = null) {  
  10. return '<div class="download-box">' . do_shortcode($content) . '</div>';