Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 2,964 total)
  • Author
    Posts
  • in reply to: Disable a metabox #3821
    Steve
    Keymaster

    @kattagami– We really appreciate your support of Piklist.

    Closing ticket.

    in reply to: Display code examples? #3817
    Steve
    Keymaster

    @davisdp– Welcome to the Piklist community!

    If I’m reading your post correctly, you understand admin forms, but not front end forms:
    -The current version of Piklist is really for building fields in the WordPress admin. The next version of Piklist will make frontend forms possible… and as easy as the backend ones.

    If I’m wrong, and you want to learn about backend forms:
    -Read our Getting Started post. If you don’t understand something on the post, or you think we can explain something better, please let us know.
    -Check out the Piklist built-in Demos. You can easily use this code in your own project.

    To use WP_Query to retrieve data:
    -Piklist stores everything the standard WordPress way. In “most” cases the fields you create will be storing “meta”: post_meta, user_meta and term_meta. You can use the WP_Query meta query to find the right posts to display.
    -To display your data you will probably use functions like get_post_meta. This post explains how to display data (towards the end of the post)

    Please feel free to post as many questions as you want. We strive to provide the best support for any plugin.

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

    @fmalinge– WordPress automatically assigns a unique identifier to each post… the Post ID.

    in reply to: hide "add new" on edit.php #3812
    Steve
    Keymaster

    My pleasure…

    closing ticket.

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

    This can definitely be done by Piklist! In fact, sample code is already in the built-in demos:

    Activate the demos
    -Go to: Add New Demo
    -Click on the “Advanced” Tab.
    -The field “Content Section (Grouped)” is pulling in Post Titles to a dropdown.

    The code is located in:

    wp-content/plugins/piklist/add-ons/piklist-demos/parts/meta-boxes/field-add-more.php
    

    Let us know if that helps.

    in reply to: Disable a metabox #3804
    Steve
    Keymaster

    @kattagami

    Sorry for the late reply.

    You can do this with the beta, which I believe you have.

    Here’s a very simple example. This code will disable any meta-box with the name “Text Fields”.

    function my_disable_metabox($part_data, $folder)
    {
      if (isset($part_data['title']) && $part_data['title'] == 'Text Fields')
      {
        return;
      }
    
      return $part_data;
    }
    add_filter('piklist_part_add','my_disable_metabox', 10, 2);
    
    in reply to: hide "add new" on edit.php #3803
    Steve
    Keymaster

    @irene– I know it’s a bit of a shock, but Piklist can’t do everything. 😉

    This one requires some css:

    body.post_type-YOUR-POST-TYPE a.add-new-h2 {
      display: none;
    }
    
    in reply to: My field is not saved #3802
    Steve
    Keymaster

    @quanganh– Thanks for the help!

    Closing ticket.

    in reply to: Deploy to a standalone plugin #3801
    Steve
    Keymaster

    @mbnoimi– Piklist is not designed so you can write a standalone plugin. It is designed to be installed as a plugin, and essentially help your plugin work. You can read why we do this here >

    in reply to: Repository of Piklist #3800
    Steve
    Keymaster

    @mbnoimi– The official repository is not public yet. Once we hit v1.0, we will make it available on Github. If you want to get involved with the project, please read this page.

    Thanks!

    in reply to: wp_dashboard_setup filter #3799
    Steve
    Keymaster

    @poxtron– Welcome to the Piklist community!

    You were definitely correct about removing the Dashboard Widgets… they weren’t working as expected.

    Just released v1.7.0 which should fix that issue, and has a new feature… add Featured Posts to list tables.

    Enjoy!

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

    Glad it worked! That’s one of my favorite Piklist filters… so awesome.

    Closing this ticket.

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

    @vgrch– If you have it showing once, you can easily copy the code to each meta box… however, you will have to change the field name on each. You can’t have the same field name more than once per form.

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

    @gospelnerd– It’s working fine for me… permalink is user_login-time.

    -Make sure all other custom code is disabled.
    -Disable ‘title’ in your supports parameter when registering post type.
    -Save your permalink structure again… just to flush them.

    Let me know if that helps.

    in reply to: New attribute metabox #3787
    Steve
    Keymaster

    Great. Closing ticket

Viewing 15 posts - 1,741 through 1,755 (of 2,964 total)