• Resolved dariolicci

    (@dariolicci)


    Hi,

    in home template, the structure is this:

    • Header
    • Group
      • Query loop
        • Post template
          • Post Image
          • Post title
          • Shortcode (acf view)
    • Footer

    The problem is that the ACF View shortcode print the ACF Field value of last post in all result.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WPLake

    (@wplakeorg)

    Hi @dariolicci

    Can you please provide more detail.
    A link or perhaps temporary access to your site?

    We need to see how you’ve set up your ACF View.

    Thread Starter dariolicci

    (@dariolicci)

    Hi,

    The site is not online yet.
    Generating the bug is very simple:

    • install Advanced Custom Fields, Version 6.2.0 | By: WP Engine
    • I install your ACF Views plugin, version 1.9.5
    • I select the Twenty Twenty-Two theme
    • I create an ACF group with one field numeric for example
    • I create an ACF view, selecting the group and the previously created field
    • I create 2 test posts by filling in the ACF field with 2 different values
    • I move to the list of themes, click on customize theme, as a child of “article template” I insert the shortcode generated by ACF view

    At this point, if I go to the homepage of the site, I see the list of posts with the value of the ACF field equal

    Plugin Author WPLake

    (@wplakeorg)

    Hi @dariolicci

    Thank you for providing the steps to recreate your issue.
    We’re looking into it and will get back to you soon.

    Plugin Author WPLake

    (@wplakeorg)

    Hi @dariolicci

    We found the issue and have developed a fix.
    Please update to the latest version of ACF Views.

    Thank you for reporting the issue.

    Thread Starter dariolicci

    (@dariolicci)

    perfect thanks a lot

    now it works

    Hi. I’ve update to last version 3.0.0 (now, called “Advanced Views Lite”). When I include ACF views inside Query loop block, all acf cards are filled with current page information, not custom post type added in Query loop block options. This happend with all loop bloks (and only in loop blocks)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘acf view not work in query loop’ is closed to new replies.