• Hello,

    Thanks for plugin. it is great help to use it. I am trying to use gallery with custom post type but it seems it is not accepting its values, then I digged into core file includes/class-galleries.php on line 2119 with code
    if ( array_key_exists( $post_status, $fields[‘post_status’][‘options’] ) )

    seems this check shouldn’t be there because $fields is having default values with a hook that is not hoooked anywhere yet. so seems this fields if trying to find post type name in default value array of $field. can you please have a look and explain me if I am missing something or otherwise if it is a bug then please create a fix for it.

    Thank you.

    The page I need help with: [log in to see the link]

The topic ‘Gallery shortcode not accepting Post Type’ is closed to new replies.