WordPress.org

Ready to get started?Download WordPress

Forums

More Fields
more fields export not working (1 post)

  1. keevitaja
    Member
    Posted 2 years ago #

    someof the exports are on working correctly. in the export list they hava no name and fields. any thoughts? here's on example of broken export:

    <?php
    add_filter('more_fields_saved', 'more_fields_saved_lehed');
    function more_fields_saved_lehed ($d) {$d['lehed'] = maybe_unserialize('a:6:{s:5:"label";s:5:"Lehed";s:8:"position";s:4:"left";s:5:"index";s:5:"lehed";s:12:"ancestor_key";s:0:"";s:10:"post_types";a:1:{i:0;s:4:"page";}s:6:"fields";a:4:{s:9:"kokkuvote";a:8:{s:5:"label";s:10:"Kokkuvõte";s:3:"key";s:9:"kokkuvote";s:4:"slug";s:0:"";s:10:"field_type";s:7:"wysiwyg";s:6:"values";s:0:"";s:7:"caption";s:0:"";s:5:"index";s:9:"kokkuvote";s:12:"ancestor_key";s:0:"";}s:7:"excerpt";a:8:{s:5:"label";s:7:"Excerpt";s:3:"key";s:7:"excerpt";s:4:"slug";s:0:"";s:10:"field_type";s:8:"textarea";s:6:"values";s:0:"";s:7:"caption";s:0:"";s:5:"index";s:7:"excerpt";s:12:"ancestor_key";s:0:"";}s:15:"naita-alamlehti";a:8:{s:5:"label";s:16:"Näita alamlehti";s:3:"key";s:8:"show-sub";s:4:"slug";s:0:"";s:10:"field_type";s:8:"checkbox";s:6:"values";s:0:"";s:7:"caption";s:0:"";s:5:"index";s:15:"naita-alamlehti";s:12:"ancestor_key";s:0:"";}s:15:"loe-lisaks-link";a:8:{s:5:"label";s:27:""Loe lisaks" link";s:3:"key";s:9:"read-more";s:4:"slug";s:0:"";s:10:"field_type";s:4:"text";s:6:"values";s:0:"";s:7:"caption";s:0:"";s:5:"index";s:15:"loe-lisaks-link";s:12:"ancestor_key";s:0:"";}}}', true); return $d; }
    ?>

    http://wordpress.org/extend/plugins/more-fields/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic