WordPress.org

Support

Support » Plugins and Hacks » Flexi Pages Widget » [Plugin: Flexi Pages Widget] Use to list custom post type titles in dropdown?

[Plugin: Flexi Pages Widget] Use to list custom post type titles in dropdown?

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same issue… would love to use this for custom post types, too.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Flexi Pages Widget] Use to list custom post type titles in dropdown?’ is closed to new replies.
Skip to toolbar