Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nsp-code

    (@nsp-code)

    Hi
    You can try to edit the line 333 on post-types-order.php file:

    $output .= $indent . '<li id="item_'.$page->ID.'"><span>'.apply_filters( 'the_title', $page->post_title, $page->ID ).'</span>';

    to

    $output .= $indent . '<li id="item_'.$page->ID.'"><span>'.apply_filters( 'the_title', $page->post_title, $page->ID ).' - ' . $custom_field_value .'</span>';

    Or if you own the Advanced Post Types Order plugin you can use this easy example http://www.nsp-code.com/advanced-post-types-order-api/filter-post-types-items-additional-informations/

    Thread Starter Bravo315

    (@bravo315)

    Thanks for the reply.

    However, it doesn’t output the $custom_field_value. It outputs the dash before it but even if I change “$custom_field_value” to “$post_title” it won’t output the post title again either.

    Once again, I do appreciate your help with this. but unfortunately that didn’t work. Unfortunately my business cannot purchase Advanced Post Types Order for this one function.

    Cheers,
    Jack.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Retrieving a custom field to display next to the name’ is closed to new replies.