• Resolved myCred

    (@designbymerovingi)


    I am working on a “theme option” page and wanted to know if anyone out there knows how I can “call” all excisting posts or pages?

    I want an option where I can select which pages / posts will be shown in a specific navigation menu so I dont have to go in and add “exclude” or “include” in wp_list_pages();

    Maybe you can call it into something like this:

    array(	"name" => "Main Navigation",
    		"desc" => "Select the pages you wish to include in the main navigation.",
    		"id" => $shortname."_mainnav",
    		"options" => [list_pages],
    		"type" => "multiselect"),
  • The topic ‘Calling all posts or pages’ is closed to new replies.