WordPress.org

Support

Support » Plugins and Hacks » Custom Post Types and Custom Fields creator - WCK » Meta box : Select from posts (or any post type)

Meta box : Select from posts (or any post type)

  • In my theme, I needed metabox to select multiple posts from current posts. Here it’s how I’ve done it:

    In plugin directory/wordpress-creation-kit-api/fields I created new file called selectposts.php Here is code
    For showing woocommerce products instead of posts, simply change ‘post_type’ => ‘post’ to ‘post_type’ => ‘product’

    And then in wck-cfc.php in plugin directory add ‘selectposts’ to the array on line 109 and 587

    Hope it’s helpful for someone…
    It would be great if you could implement this feature to the WCK

    http://wordpress.org/extend/plugins/wck-custom-fields-and-custom-post-types-creator/

  • The topic ‘Meta box : Select from posts (or any post type)’ is closed to new replies.
Skip to toolbar