archives

Archives shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/archives.php  
  1. /* Archives shortcode 
  2. * @author bubel & nickmomrik 
  3. * [archives limit=10] 
  4. */ 
  5.  
  6. add_shortcode( 'archives', 'archives_shortcode' ); 
  7.  
  8. function archives_shortcode( $attr ) { 
  9. if ( is_feed() ) 
  10. return '[archives]'; 
  11.