sitemap

Sitemap shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/sitemap.php  
  1. /* Sitemap shortcode. 
  2. * Usage: [sitemap] 
  3. */ 
  4.  
  5. add_shortcode( 'sitemap', 'jetpack_sitemap_shortcode' ); 
  6.  
  7. /** 
  8. * Renders a tree of pages. 
  9. * @since 4.5.0