WordPress.org

Ready to get started?Download WordPress

Forums

Custom Classes
Custom post types support (2 posts)

  1. biophonc
    Member
    Posted 1 year ago #

    It would be very cool if you can update line 66 to support custom post types, ... like so:

    $post_types = get_post_types( array( 'public' => true, '_builtin' => false ), 'names', 'or' );

    Thanks! ;)

    http://wordpress.org/extend/plugins/custom-classes/

  2. sireneweb
    Member
    Posted 1 year ago #

    to solve this bug, just replace
    add_action( 'init', 'custom_classes_post_type_support');
    by
    add_action( 'init', 'custom_classes_post_type_support',20 );

    Why ?
    because some custom post type have priority to load

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.