• Hi, I’m new here and not sure if this is the right place to ask, I sure hope someone can point me to the right direction

    I use generatepress and generateblock free for my hobby site. I’m still testing it on wp local.

    whenever I tried to create a query loop for dynamic SCF (acf), include a custom image and links, it will always display error in page. example:
    dynamic: {{post_meta key:comics_title_thumbnail|link:post}} and instead of image it show: 109“/>

    if I do not include link: {{post_meta key:comics_title_thumbnail}}, the image shows up perfectly. but the point is for people to easily click the image to go to the link.

    below are image sample of error , top is when I include link to post
    {{post_meta key:comics_title_thumbnail|link:post}},

    the bottom is when i do not include “post”
    {{post_meta key:comics_title_thumbnail}}

    https://i.postimg.cc/YSk0xJ19/error3.jpg

Viewing 1 replies (of 1 total)
  • Plugin Support Alvind

    (@alvindcaesar)

    Hi there,

    I assume you’re using the Image block for the thumbnail—is that correct?

    If so, you’ll need to set the link to the post in the block settings. See this screenshot for reference: https://cln.sh/94X411PT

Viewing 1 replies (of 1 total)

The topic ‘dynamic query ACF (acf) image and post link error’ is closed to new replies.