WordPress.org

Ready to get started?Download WordPress

Forums

Add class to wp_list pages? (1 post)

  1. rwilki
    Member
    Posted 1 year ago #

    I'm trying to add a css class to this line of code below. I can't apply a DIV or span class to <ul> or <li> because I have them set to a different class.

    I'm just looking to see if I can add a class to this function

    wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");

    Thanks,
    Bob

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.