• S0 i’m trying to make a control panel for a theme i’m designing,
    And I want to have a setting that lets the user specify a specific page by drop down menu, for a link in on the page.

    It works fine for categories:

    $LS3_categories_obj = get_categories(‘hide_empty=0’);
    $LS3_categories = array();
    foreach ($LS3_categories_obj as $LS3_cat) {
    $LS3_categories[$LS3_cat->cat_ID] = $LS3_cat->cat_name;
    }

    How do I make a separate one that can do pages, or better yet both??

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to get list of Pages?’ is closed to new replies.