WP Menu Path

wp-includes/nav-menu-template.php
wp-includes/post-template.php

<ul>
<?php wp_list_pages('title_li='); ?>
</ul>


<ul>
  <?php wp_list_pages('include=5,9,23&title_li=<h2>' . __('Poetry') . '</h2>' ); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order'); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('Prose') . '</h2>' ); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=post_date&show_date=created'); ?>
</ul>


<ul>
  <?php wp_list_pages('exclude=17,38' ); ?>
</ul>


<ul>
  <?php wp_list_pages('include=7,13,26,35&title_li=<h2>' . __('Pages') . '</h2>' ); ?>
  </ul>


<ul>
  <?php
  global $id;
  wp_list_pages("title_li=&child_of=$id&show_date=modified
  &date_format=$date_format"); ?>
</ul>

Leave a Reply

© 2020 Spirituality