Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Add custom column in post type edit grid #1552
    talhamalik
    Member

    Thanks for your responce. Obviously The pictures always help. 🙂
    1) Adding a custom column on the Post Edit screen?

    custom post edit screen

    Yes I want to add the custom column in my custom post type grid in the above picture in which the fields are those which is defined in my custom metabox named Project Fields in below picture in which the fields are like project, description, start date, end date, etc…
    post edit section

    more over please also describe me how do i manage column width height..

    Thanks in advance … 🙂

    in reply to: How to display fields on front end? #1541
    talhamalik
    Member

    HI Steve,Thanks for answering my problem..
    I have found the point.. when i copy the piklist folder structure to the theme folder accourding to tutorial, the fields are missing infact the label description, help etc are not missing..
    and also the piklist demos fields are also missing after copying folder structure to the theme folder,
    i turn on the debug mode there are 2 notice and 3 warnings which are…
    i am totally stucked..

    WARNING: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:272 – include(C:\xampp\htdocs\wp-task4\wp-content\themes\twentythirteen\piklist): failed to open stream: Permission denied
    WARNING: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:272 – include(): Failed opening ‘C:\xampp\htdocs\wp-task4/wp-content/themes/twentythirteen/piklist’ for inclusion (include_path=’.;C:\xampp\php\PEAR’)
    WARNING: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:230 – Invalid argument supplied for foreach()

    NOTICE: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:208 – Undefined variable: _part
    NOTICE: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:210 – Undefined variable: _part

    and this warning exists with out all above queries which is

    WARNING: C:\xampp\htdocs\wp-task4\wp-content\plugins\piklist\includes\class-piklist.php:230 – Invalid argument supplied for foreach()

    in reply to: How to display fields on front end? #1537
    talhamalik
    Member

    HI, I have used piklist method and create custom post type, which is created successfully. Now in the second step i follow given steps and passes piklist parameters like
    /*
    Title: My Demo Metabox
    Post Type: post
    */
    piklist(‘field’, array(
    ‘type’ => ‘text’
    ,’field’ => ‘text’
    ,’label’ => ‘Text Box’
    ,’description’ => ‘Field Description’
    ,’value’ => ‘Default text’
    ,’help’ => ‘This is help text.’
    ,’attributes’ => array(
    ‘class’ => ‘text’
    )
    ));

    After all in CMS i only see the field label, field description, help etc but the field text box is not showing.
    I have tried all fields like editor, text, select etc all boxs are not showing… whats the issue..

Viewing 3 posts - 1 through 3 (of 3 total)