• On my page.php I have this command to show the children pages:

    $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0&depth=1');
      if ($children) { ?>
      <ul>
      <?php echo $children; ?>
      </ul>

    is there a way of showing the icons for these sub-pages (set with a caticons_page custom field) within the parent page, possibly similar to how this retrieves the icon for the parent page?

    <?php $values = get_post_custom_values('caticons_page'); ?>
    				<?php
    if (function_exists('get_cat_icon') && isset($values[0])) {
      get_cat_icon('link=false&class=myicons&cat='.$values[0]);
    }
    ?>

    https://www.ads-software.com/extend/plugins/category-page-icons/

  • The topic ‘[Plugin: Category and Page Icons] Show icons for children categories’ is closed to new replies.