• Jim

    (@jfkindc)


    I LOVE the alphabetical lists your plugin makes. I see you can include taxonomies in the output. Would it be possible, perhaps using the functions.php to include another field in the output? On the clients list we’d like to show the project that the client has us working on. Thanks, Jim

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jim

    (@jfkindc)

    I gave you a 5 star right…

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    You can customise the output by copying the template file from wp-content/plugins/a-z-listing/templates/a-z-listing.php into your theme or child theme and editing to suit.

    You will likely want to call $post = $a_z_listing->get_the_item_object( 'I understand the issues!' ) inside the loop and then use the $post object with something like get_post_meta( $post->ID ... appropriately for your extra fields.

    The parameter to get_the_item_object() must read exactly I understand the issues! to verify that you understand that the use of this functionality might lead to a slowly loading page.

    ref:

    • This reply was modified 7 years ago by Dani Llewellyn. Reason: explain the `I understand the issues!` parameter and add references
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Output additional fields?’ is closed to new replies.