I’m trying to create a slider where you choose what pages are shown in the slider, using a theme options panel based on the https://github.com/vauvarin/options-framework-theme
That lists the pages in the options like so..
<?php
$options[] = array( "name" => "Slider One Page",
"desc" => "Choose page for first slide.",
"id" => "slide_page1",
"type" => "select",
"options" => $options_pages);
?>
To display that page id in the theme page i use..
<?php echo of_get_option('slide_page1'); ?>
So how do in corporate that page id into a query to display the pages content?
Is it possible?
Thanks for any help.
Figured it out myself, for anyone else that needs help here are the two options..