At line 212 you see
function flexipages_pageids()
{
global $wpdb;
$page_ids = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_type = 'page' AND post_status = 'publish'" );
return $page_ids;
}
[Please post code snippets between backticks or use the code button.]
When I change post_type = ‘page’ in * I think it should work. But it doesn’t…
I’m also looking for a solution to show the Custom Post.