Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 2,964 total)
  • Author
    Posts
  • in reply to: New attribute metabox #3785
    Steve
    Keymaster

    @irene– Welcome to the Piklist community!

    When you press “Add New Post”, WordPress sets the Post Status to auto-draft. So just use the status parameter to tell Piklist you only want to show the meta box when the post status is auto-draft.

    Add this to your comment block:

    Status: auto-draft
    

    No need to use the new attribute. new is really used to NOT show a metabox on the new page: New: false.

    Let us know if you need anything else.

    in reply to: [Custom Post Type] New column data doesn't display #3784
    Steve
    Keymaster

    Great. Closing ticket

    in reply to: [Custom Post Type] New column data doesn't display #3783
    Steve
    Keymaster
    This reply has been marked as private.
    in reply to: Taxonomy field not saving on CPT #3782
    Steve
    Keymaster

    Great. Closing ticket

    in reply to: Meta Box Not Showing #3779
    Steve
    Keymaster

    Great. Closing ticket.

    in reply to: Meta Box Not Showing #3774
    Steve
    Keymaster

    @vagelis– You’re so close!

    A few issues with your parameters:
    1) Post Type: services, post, page: you had it set to service (singular), but your post type is plural.
    2) New: true: remove. You really only need if setting to false.
    3) Status: all: all is not a valid status. You would either have to type all the statuses here, or just remove this.
    4) Order: none: if you don’t want to set the order, then just leave this out.

    You comment block should look like this:

    /*
    Title: Test
    Description: Test metabox
    Post Type: services, post, page
    Context: normal
    Priority: high
    Locked: false
    Collapse: true
    */
    

    Let us know if you have any other questions.

    in reply to: [Custom Post Type] New column data doesn't display #3770
    Steve
    Keymaster

    Welcome to the Piklist community!

    Custom fields still need to be added to list tables the old fashioned way. Here’s a good post on how to do it.

    in reply to: Attach same set of related posts a few times #3769
    Steve
    Keymaster

    I guess I didn’t understand your question. Can you provide more details?

    in reply to: No-title CPT permalink? #3763
    Steve
    Keymaster

    This should work. Place it in your main plugin file or your themes functions.php file:

    add_filter('piklist_empty_post_title', 'my_empty_post_title', 10, 2);
    function my_empty_post_title($data, $post_array)
    {
      global $current_user;
    
      get_currentuserinfo();
    
      return $post_array['post_type'] == 'YOUR-POST-TYPE' ? $current_user->user_login . '-' . time() : $post_array['post_title'];
    }
    
    in reply to: No-title CPT permalink? #3760
    Steve
    Keymaster

    Piklist has a filter, piklist_empty_post_title, that may help you. Check out this support ticket >

    Let us know if that helps.

    in reply to: Is piklist is for me ? #3758
    Steve
    Keymaster

    @fmalinge— I’m not 100% clear on your scope, but I’m guessing you can do this in WordPress/PHP/Piklist.

    And yes, Piklist works well in multisite.

    in reply to: Workflow displays all metaboxes at once #3757
    Steve
    Keymaster

    Great! Closing ticket.

    in reply to: Attach same set of related posts a few times #3754
    Steve
    Keymaster

    @vgrch– I’m not 100% clear on your question, however, this may help.

    You don’t have to include the field code in each part file. You can have it sit in your main plugin file wrapped in a function, and then call that function in the part file.

    For example:

    In your main plugin file, or theme’s functions.php, add this:

    function my_text_field()
    {
        $field = array(
          'type' => 'text'
          ,'field' => 'my_text_field'
          ,'label' => __('My Text Field')
        );
    
        return $field;
     }
    

    And then in your parts files just call this:
    my_text_field();

    Does that help?

    in reply to: Is piklist is for me ? #3753
    Steve
    Keymaster

    @fmalinge– Welcome to the Piklist community!

    It sounds like you will need lots of post types and custom fields. This is basic Piklist and it does it very well.

    If you can do it in WordPress… you can do it faster, easier and with more power with Piklist!

    The best part of Piklist is that it’s easy to get started and use it.

    Feel free to post specific questions on the support forum. We’re here to help!

    in reply to: Tab without save button? #3752
    Steve
    Keymaster

    @Samer– You will have to use CSS to remove the button for now. This is on our list of todos.

Viewing 15 posts - 1,756 through 1,770 (of 2,964 total)