Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 2,964 total)
  • Author
    Posts
  • in reply to: change attachment preview filename #2009
    Steve
    Keymaster

    @jmayhak– currently this is not possible.

    in reply to: Admin pages #2008
    Steve
    Keymaster

    @stebcom– I cleaned it up a bit and removed some parameters you probably won’t need. You had a few typos, like the function in a filter not matching the function you want to call.

    The idea here, is to register the post type, and they assign the settings to the post type url, not the settings url.

    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'
      ,'sub_menu' => 'edit.php?post_type=custom_post'
      ,'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
        ,'has_archive' => true
        ,'supports' => array(
          'title'
          ,'editor'
        )
        ,'rewrite' => array(
          'slug' => 'custom-posts'
        )
        ,'capability_type' => 'post'
      );
    
    return $post_types;
    }
    
    in reply to: Conditional Metabox #2007
    Steve
    Keymaster

    @jason– We’re thinking about expanding this. Stay tuned!

    in reply to: wp query group field in piklist #2004
    Steve
    Keymaster

    @cegodai– Can you email us your full plugin with the Post Type registration? We should be able to write you a script to convert the data.

    in reply to: wp query group field in piklist #2002
    Steve
    Keymaster

    Unfortunately, no. Look in the database. Your data is being saved as an array, which you cannot filter. If you want to filter the data you need to remove the field parameter from the main group so each field is saved separately.

    in reply to: wp query group field in piklist #2001
    Steve
    Keymaster

    try the field both ways. Enter data and save, and then check your database. You should see a difference.

    in reply to: wp query group field in piklist #1998
    Steve
    Keymaster

    If you look in your database, you will see how the data is saved, which is currently an array and won’t work for you.

    Remove the main field parameter and all your data should save individually:

    piklist('field',array(
     'type' => 'group'
    ,'field' => 'muni' // REMOVE THIS
    ,'label' => __('Datos del servicio')
    
    in reply to: wp query group field in piklist #1996
    Steve
    Keymaster

    What are you trying to accomplish with the field you posted? What is that field supposed to do?

    in reply to: wp query group field in piklist #1993
    Steve
    Keymaster

    What do you mean you want to filter by ‘municipio’? On the front end? In your theme?

    in reply to: Very big icon size of piklist in Back End #1990
    Steve
    Keymaster

    The file looks good. Not sure why you would have issues. Was 0.9.3.6 a NEW install or UPGRADE from a previous version? If upgrade, do you know which version you upgraded from? Thank you for helping us resolve this.

    in reply to: piklist taking over post edit screen with bugs occuring #1986
    Steve
    Keymaster

    @kalligator– All references to strtolower in all messages arrays have been removed to better match WordPress. This will be updated in the next version.

    in reply to: Very big icon size of piklist in Back End #1985
    Steve
    Keymaster

    @kalligator– This is so odd since we can’t reproduce. Can you verify that your file matches this one: http://plugins.svn.wordpress.org/piklist/tags/0.9.3.6/parts/img/piklist-icon.svg

    These are the lines that need to match:
    width="18px" height="16px"
    width="18" height="16"

    Thanks

    in reply to: Media uploader saves as a string first time #1977
    Steve
    Keymaster

    Let us know when they are ready for prime time. We’d love to try them out.

    in reply to: Media uploader saves as a string first time #1975
    Steve
    Keymaster

    @chrissoutham– Thank you for using Piklist and spreading the word.

    Steve
    Keymaster

    Glad to hear it! Let us know if you need anymore help.

Viewing 15 posts - 2,371 through 2,385 (of 2,964 total)