Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@zanedickens– Another way is to create two meta boxes, and use the Role parameter to limit who sees them.
-Creator
-ReviewerIn the Creator meta box, create the normal Piklist Fields.
In the Reviewer meta box, pull the data (i.e. get_post_custom if a CPT), and then display the data using the Piklist HTML field.
Let us know if you need any help.
SteveKeymaster@chrissoutham– Was just able to push an update for the tabs. We don’t see the issue with “Remove Dashboard Widgets” or “Remove Widgets”.
Can you email screenshots to: [email protected]
SteveKeymaster@chrissoutham– Just released WP Helpers v1.5.5 which fixes the issue. So happy you’re loving Piklist and WP Helpers!
SteveKeymaster@chrisoutham– We replaced the function. Will have a solution in a few hours.
SteveKeymasterTab Order is not broke… it just never really worked. So we fixed it, but forgot to document it. 😉
You can set Tab Order in the files for each tab section. Piklist will only honor the first file that sets this for that tab. So if you have multiple sections (files) assigned to one tab, make sure the first one (or all of them), have the correct (same) tab order.
The default settings tab that was registered using the
piklist_admin_pagesfilter anddefault_tabparameter, will automatically be set toTab Order: 10. This allows you place tabs before it if you like.
example: Tab Order: 20Let me know if this makes sense or needs further clarification.
SteveKeymasterI see no reason why Piklist and Foundation wouldn’t play nice together. If you try it, please let us know.
SteveKeymasterWhat is Foundation?
July 18, 2014 at 4:29 pm in reply to: Taxonomies with 'hide_meta_box' => true still showing metaboxes? #2030
SteveKeymasterThere was a typo in our documentation.
hide_meta_boxshould go inside the configuration array:,'configuration' => array( 'hierarchical' => false ,'hide_meta_box' => true ,'labels' => piklist('taxonomy_labels', 'Model') ,'show_ui' => true ,'query_var' => true ,'rewrite' => array( 'slug' => 'model' ) )July 18, 2014 at 9:23 am in reply to: Taxonomies with 'hide_meta_box' => true still showing metaboxes? #2027
SteveKeymaster@mattyd247– Glad you’re enjoying Piklist. Sortable list table columns are not ready yet. You’re going to have to go old school >
SteveKeymasterIn the next version of Piklist you will be able to do this with the
piklist_get_file_datafilter:EXAMPLE:
Allow Piklist to read “User ID” in comment blockadd_filter('piklist_get_file_data', 'allow_user_id', 10, 2); function allow_user_id($data, $type) { // If not a User section than bail if($type != 'users') { return $data; } // Allow the comment block to read the "User ID" attribute. $data['user_id'] = 'User ID'; return $data; }July 17, 2014 at 1:38 pm in reply to: Best way to set up make/model settings for custom listing post type? #2021
SteveKeymaster@catacaly– There are three ways you can do this:
1) CONDITIONS: Piklist has an ‘update’ condition you can see in Piklist Demos > Add New Demo > Conditions tab. You will still have to built out all your lists and associations.
2) SETTINGS TABS: This may not be ideal, but it would work. Each tab is Manufacturer > Model > Year. When you click on the Model tab, you can run a query against the value’s set in Manufacturer.
3) AJAX: You would have to write your own ajax methods, but you can dynamically load dropdowns based on another field.Hope this helps.
SteveKeymaster@zanedickens– Luckily you’re using Piklist 😉
You can easily save the data to the current users profile. This way you use ONE Post Type form, but save the data as user_meta.
First make sure that this is at the top of each file:
$current_user = wp_get_current_user();
Add this to each field:
,'scope' => 'user_meta' ,'object_id' => $current_user->ID
This should work with the current version of Piklist. If not, email us at [email protected]
SteveKeymasterYup… duplicate fields can cause things to blow up. 😉
SteveKeymaster@stebcom– You can use the standard WordPress parameter
show_in_menufor the custom post type. Full code below:add_filter('piklist_admin_pages', 'custom_options'); function custom_options($pages) { $pages[] = array( 'page_title' => __('Custom options', 'piklist') ,'menu_title' => __('Options', 'piklist') ,'capability' => 'manage_options' ,'menu_slug' => 'custom-options' ,'setting' => 'custom_settings' ,'save_text' => 'Save these settings' ); return $pages; } add_filter('piklist_post_types', 'custom_posts'); function custom_posts($post_types) { $post_types['custom_post'] = array( 'labels' => piklist('post_type_labels', 'Custom') ,'title' => __('Enter a new Custom Post') ,'public' => true ,'show_in_menu' => 'custom-options' ,'has_archive' => true ,'supports' => array( 'title' ,'editor' ) ,'rewrite' => array( 'slug' => 'custom-posts' ) ,'capability_type' => 'post' ); return $post_types; } -
AuthorPosts