• Hi,

    I have a list of child page generated with…

    <?php
    if($post->post_parent)
    $children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
    else
    $children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
    if ($children) { ?>

      <?php echo $children; ?>

    <?php } ?>


    Can anyone suggest how to assign a Active state to these links,
    example: like active state of menu items.

    Warm Regards

    Dipankar

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_pages – Active state’ is closed to new replies.