Viewing 2 reply threads
  • Author
    Posts
    • #3656
      Marc
      Member

      Hi guys,
      First of, thanks a lot for a great plugin. I just started to use it and I love it!! It’s so flexible and easy to use. AWESOME. 🙂

      As I’m working on a project that uses piklist, I’ve found the necessity to add classes to metaboxes.
      I’ve seen you use the filter postbox_classes_{post_type_name}_{metabox_id} to add classes already, but it would be great to be able to add some in the meta_field headers:

      
      /*
      Title: Meta title
      Post Type: post
      Order: 200
      Lock: true
      Class: my-class my-otherclass
      */
      

      It would allow to target specific boxes with JS and css without using IDs…
      Would you consider this feature?

      Cheers
      Marc.

    • #3658
      Steve
      Keymaster

      @Marc– Welcome to the Piklist community!

      We had a long list of items to add to the comment block, including class, but we decided to go in another direction since the list was growing every week.

      In the next version of Piklist you will be able to add your own custom parameters to the comment block. So class or marcs class or anything else you want can be added.

    • #3659
      Marc
      Member

      Ok that makes sense 🙂
      Looking forward to trying the next release.

      Thanks for the great work and great support @Steve!

Viewing 2 reply threads
  • The topic ‘[Feature Request] Add Class attribute for metabox’ is closed to new replies.