• Resolved corpcomm

    (@corpcomm)


    Does anybody know how to display Advanced Custom Fields using List Category Posts plugin? I have been unable to do so succesfully. Any help would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • A code similar to this?:

    [catlist name="contact" customfield_orderby="lastname" order="asc" customfield_display="firstname,lastname" customfield_display_name="no" customfield_class="contact_class" customfield_display_glue=" "]

    customfield_display_glue=” ” just being used to put a blank space between output fields.

    Thread Starter corpcomm

    (@corpcomm)

    yeah that did work. Except for the fact that I have a bunch of Image fields that are returning array’s. The code for those fields are similar to this:
    <?php $productimage = get_field(‘product_image’); ?>
    ” alt=”<?php echo $productimage[‘alt’]; ?>”>

    any ideas on these?

    Thanks for the input already.

    aehwp

    (@aehwp)

    AFAIK List Category Posts doesn’t deal with all the ACF field types, it just deals with simple stuff like text.
    Have you tried using a template with code which interrogates ACF to find the type of field and outputs accordingly?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List category Posts and Advanced Custom Fields’ is closed to new replies.