• Resolved CSKnet

    (@csknet)


    I’ve got the latest version of this plug-in installed. I’ve created a new Page type based on Page. I’ve created new boxes, that are intended to be not for public view. I’d like to see the value of these new boxes on the edit-pages.php page.

    I figured out how to add the column headers manually, however I don’t seem to be able to get the values to populate.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter CSKnet

    (@csknet)

    Just in case anyone else faces this…

    To add the column headers:
    I edited wp-admin/includes/template.php
    around line 798
    function wp_manage_pages_columns() { and added the two column header names I needed.

    And to pull the values (I figured out I could just use custom fields, but this plug-in makes it easier)…

    In the same file as above, around line 1713, I added case statements for each, with the following:
    case 'field-key-name':
    ?>
    <td <?php echo $attributes ?>><?php
    echo do_shortcode(get_meta('field-key-name'));
    ?></td>
    <?php
    break;
    And voila!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: More Fields] How to Display values in wp-admin/edit-pages.php?’ is closed to new replies.