2011. September 18. Sunday

Sitemap

Pages

‘;

echo “

    “;

    // Add pages you’d like to exclude in the exclude here
    wp_list_pages(
    array(
    ‘depth’ => 0,
    ‘show_date’ => ”,
    ‘date_format’ => get_option(‘date_format’),
    ‘child_of’ => 0,
    ‘exclude’ => ”,
    ‘include’ => ”,
    ‘title_li’ => __(‘Pages’),
    ‘echo’ => 1,
    ‘authors’ => ”,
    ‘sort_column’ => ‘menu_order, post_title’,
    ‘link_before’ => ”,
    ‘link_after’ => ”,
    ‘walker’ => ”
    );
    );
    echo “

“;

echo ‘

Posts

‘;

echo “

    “;
    // Add categories you’d like to exclude in the exclude here
    $cats = get_categories(‘exclude=’);

    foreach ($cats as $cat) {
    echo “

  • “.$cat->cat_name.”

    “;
    echo “

      “;

      query_posts(‘posts_per_page=-1&cat=’.$cat->cat_ID);

      while(have_posts()) {
      the_post();
      $category = get_the_category();
      // Only display a post link once, even if it’s in multiple categories

      if ($category[0]->cat_ID == $cat->cat_ID) {
      echo ‘

    • ‘.get_the_title().’
    • ‘;
      }
      }

      echo “

    “;
    echo “

  • “;
    }
    echo “

“;

foreach( get_post_types( array(‘public’ => true) ) as $post_type ) {
if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) )
continue;

$pt = get_post_type_object( $post_type );

echo ‘

‘.$pt->labels->name.’

‘;

echo ‘

    ‘;
    query_posts(‘post_type=’.$post_type.’&posts_per_page=-1′);

    while (have_posts()) {
    the_post();
    echo ‘

  • ‘.get_the_title().’
  • ‘;
    }
    echo ‘

‘;
}
?>Pages

‘;

echo “

    “;

    // Add pages you’d like to exclude in the exclude here
    wp_list_pages(
    array(
    ‘depth’ => 0,
    ‘show_date’ => ”,
    ‘date_format’ => get_option(‘date_format’),
    ‘child_of’ => 0,
    ‘exclude’ => ”,
    ‘include’ => ”,
    ‘title_li’ => __(‘Pages’),
    ‘echo’ => 1,
    ‘authors’ => ”,
    ‘sort_column’ => ‘menu_order, post_title’,
    ‘link_before’ => ”,
    ‘link_after’ => ”,
    ‘walker’ => ”
    );
    );
    echo “

“;

echo ‘

Posts

‘;

echo “

    “;
    // Add categories you’d like to exclude in the exclude here
    $cats = get_categories(‘exclude=’);

    foreach ($cats as $cat) {
    echo “

  • “.$cat->cat_name.”

    “;
    echo “

      “;

      query_posts(‘posts_per_page=-1&cat=’.$cat->cat_ID);

      while(have_posts()) {
      the_post();
      $category = get_the_category();
      // Only display a post link once, even if it’s in multiple categories

      if ($category[0]->cat_ID == $cat->cat_ID) {
      echo ‘

    • ‘.get_the_title().’
    • ‘;
      }
      }

      echo “

    “;
    echo “

  • “;
    }
    echo “

“;

foreach( get_post_types( array(‘public’ => true) ) as $post_type ) {
if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) )
continue;

$pt = get_post_type_object( $post_type );

echo ‘

‘.$pt->labels->name.’

‘;

echo ‘

    ‘;
    query_posts(‘post_type=’.$post_type.’&posts_per_page=-1′);

    while (have_posts()) {
    the_post();
    echo ‘

  • ‘.get_the_title().’
  • ‘;
    }
    echo ‘

‘;
}
?>Pages

‘;

echo “

    “;

    // Add pages you’d like to exclude in the exclude here
    wp_list_pages(
    array(
    ‘depth’ => 0,
    ‘show_date’ => ”,
    ‘date_format’ => get_option(‘date_format’),
    ‘child_of’ => 0,
    ‘exclude’ => ”,
    ‘include’ => ”,
    ‘title_li’ => __(‘Pages’),
    ‘echo’ => 1,
    ‘authors’ => ”,
    ‘sort_column’ => ‘menu_order, post_title’,
    ‘link_before’ => ”,
    ‘link_after’ => ”,
    ‘walker’ => ”
    );
    );
    echo “

“;

echo ‘

Posts

‘;

echo “

    “;
    // Add categories you’d like to exclude in the exclude here
    $cats = get_categories(‘exclude=’);

    foreach ($cats as $cat) {
    echo “

  • “.$cat->cat_name.”

    “;
    echo “

      “;

      query_posts(‘posts_per_page=-1&cat=’.$cat->cat_ID);

      while(have_posts()) {
      the_post();
      $category = get_the_category();
      // Only display a post link once, even if it’s in multiple categories

      if ($category[0]->cat_ID == $cat->cat_ID) {
      echo ‘

    • ‘.get_the_title().’
    • ‘;
      }
      }

      echo “

    “;
    echo “

  • “;
    }
    echo “

“;

foreach( get_post_types( array(‘public’ => true) ) as $post_type ) {
if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) )
continue;

$pt = get_post_type_object( $post_type );

echo ‘

‘.$pt->labels->name.’

‘;

echo ‘

    ‘;
    query_posts(‘post_type=’.$post_type.’&posts_per_page=-1′);

    while (have_posts()) {
    the_post();
    echo ‘

  • ‘.get_the_title().’
  • ‘;
    }
    echo ‘

‘;
}
?>Pages

‘; echo ”

    “; // Add pages you’d like to exclude in the exclude here wp_list_pages( array( ‘depth’ => 0, ‘show_date’ => ”, ‘date_format’ => get_option(‘date_format’), ‘child_of’ => 0, ‘exclude’ => ”, ‘include’ => ”, ‘title_li’ => __(‘Pages’), ‘echo’ => 1, ‘authors’ => ”, ‘sort_column’ => ‘menu_order, post_title’, ‘link_before’ => ”, ‘link_after’ => ”, ‘walker’ => ” ); ); echo “

“; echo ‘

Posts

‘; echo ”

    “; // Add categories you’d like to exclude in the exclude here $cats = get_categories(‘exclude=’); foreach ($cats as $cat) { echo ”

  • “.$cat->cat_name.”

    “; echo ”

      “; query_posts(‘posts_per_page=-1&cat=’.$cat->cat_ID); while(have_posts()) { the_post(); $category = get_the_category(); // Only display a post link once, even if it’s in multiple categories if ($category[0]->cat_ID == $cat->cat_ID) { echo ‘

    • ‘.get_the_title().’
    • ‘; } } echo “

    “; echo “

  • “; } echo “

“; foreach( get_post_types( array(‘public’ => true) ) as $post_type ) { if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) ) continue; $pt = get_post_type_object( $post_type ); echo ‘

‘.$pt->labels->name.’

‘; echo ‘

    ‘; query_posts(‘post_type=’.$post_type.’&posts_per_page=-1′); while (have_posts()) { the_post(); echo ‘

  • ‘.get_the_title().’
  • ‘; } echo ‘

‘; } ?>Pages

‘; echo ”

    “; // Add pages you’d like to exclude in the exclude here wp_list_pages( array( ‘depth’ => 0, ‘show_date’ => ”, ‘date_format’ => get_option(‘date_format’), ‘child_of’ => 0, ‘exclude’ => ”, ‘include’ => ”, ‘title_li’ => __(‘Pages’), ‘echo’ => 1, ‘authors’ => ”, ‘sort_column’ => ‘menu_order, post_title’, ‘link_before’ => ”, ‘link_after’ => ”, ‘walker’ => ” ); ); echo “

“; echo ‘

Posts

‘; echo ”

    “; // Add categories you’d like to exclude in the exclude here $cats = get_categories(‘exclude=’); foreach ($cats as $cat) { echo ”

  • “.$cat->cat_name.”

    “; echo ”

      “; query_posts(‘posts_per_page=-1&cat=’.$cat->cat_ID); while(have_posts()) { the_post(); $category = get_the_category(); // Only display a post link once, even if it’s in multiple categories if ($category[0]->cat_ID == $cat->cat_ID) { echo ‘

    • ‘.get_the_title().’
    • ‘; } } echo “

    “; echo “

  • “; } echo “

“; foreach( get_post_types( array(‘public’ => true) ) as $post_type ) { if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) ) continue; $pt = get_post_type_object( $post_type ); echo ‘

‘.$pt->labels->name.’

‘; echo ‘

    ‘; query_posts(‘post_type=’.$post_type.’&posts_per_page=-1′); while (have_posts()) { the_post(); echo ‘

  • ‘.get_the_title().’
  • ‘; } echo ‘

‘; } ?>

Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image
Refresh

*

Top