[Support request] Inserting custom metadata into query loops

Home Forums Support [Support request] Inserting custom metadata into query loops

Home Forums Support Inserting custom metadata into query loops

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2287350
    Brian

    Hi on our current site we have a line of custom meta data, you can see it on the posts
    https://sluggerotoole.com

    This data:
    Brian O’Neill on July 18, 2022, 12:55pm 750 Comments | Readers 4096

    I am working on a new layout using query loops
    https://sluggerotoole.com/home/

    I am trying to work out how to insert the custom meta data into the query loops, any ideas?

    In the private area I have added the existed code we have in functions.php for reference.

    #2287532
    David
    Staff
    Customer Support

    Hi there,

    you can add a Headline Block, and set its Dynamic Data options to:

    Data source: Current Post
    Content source: Post Meta
    Post meta field: Add your meta field name.

    Note on the meta field, it will show in the list if the REST API is supported with whatever method that field was registered. If its not in the list, just type it in.

    #2287650
    Brian

    Thanks David, can you give me an idea of what meta field name value should be or where I can find it?

    #2287683
    Ying
    Staff
    Customer Support

    Try views.

    #2385337
    tita

    Hi, i tried the above version. Cant bring it to work. The field is callend ‘ausstattung’ but i cant put it in there. The field ausstattung was made with onboard individual fields from wordpress.
    How can I achieve to bring individual fields into the query loop?

    #2385343
    tita

    Got it, forget to add ‘ausstattung’ as a custom field in the data option.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.