sstasio
Member
Posted 8 months ago #
Hey, Love your plugin. Works great for pages, but I'd also like to show my custom post type titles. For example, I have a list of 220 park custom post types and would like to have a dropbox where a user can select by park name. I looked thru your code, but I am not skilled enough to make the necessary changes. Is this a feature that could be easily implemented? Thanks,
Sean
http://wordpress.org/extend/plugins/flexi-pages-widget/
norton
Member
Posted 8 months ago #
Same issue... would love to use this for custom post types, too.
cronius
Member
Posted 4 months ago #
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.