WordPress.org

Ready to get started?Download WordPress

Forums

Adminimize
[resolved] doesn't work on Plugin WP-Property (4 posts)

  1. mnewmedia
    Member
    Posted 2 years ago #

    Hi, this Plugin does not work with WP-Property maybe with some tuning of this settings: ?

    file: class_core:

    //** Set up our custom object and taxonomyies */
    
        WPP_F::register_post_type_and_taxonomies();

    file: class_functions:

    // Register custom post types
    
        register_post_type('property', array(
    
          'labels' => $wp_properties['labels'],
    
          'public' => true, 
    
          'exclude_from_search' => true, /* Added post 1.30.1 to stop properties from coming up in regular search results. */
    
          'show_ui' => true,
    
          '_edit_link' => 'post.php?post=%d',
    
          'capability_type' => array('wpp_property','wpp_properties'),
    
          'hierarchical' => true,
    
          'rewrite' => array(
    
            'slug'=> $wp_properties['configuration']['base_slug']
    
          ),
    
          'query_var' => $wp_properties['configuration']['base_slug'],
    
          'supports' => array('title','editor', 'thumbnail'),
    
          'menu_icon' => WPP_URL . 'images/pp_menu-1.6.png'
    
        ));

    would be nice for some help!!
    Greetings and great Plugin by the way!

    http://wordpress.org/extend/plugins/adminimize/

  2. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    the plugin create a difference right objects; think this is the problem
    array('wpp_property','wpp_properties'),
    I use many different plugin fpr custom post type with custom rights and works. Bit all this plugin create default objects to the roles; normaly namespaces for the objects.

  3. mnewmedia
    Member
    Posted 2 years ago #

    Add also the Plugin "user role Editor" and try out wich rights needed...

    these 2 Plugins needs each other =) !!

    Works Great Thanks

  4. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, this works. You can also use the plugin Members; works great.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags