• Hi,

    I try to set up a dynamic redirection with Eelementor and ACF for the wordpress posts. I have created an ACF url field when we create a post, and on the front-end i have set up a loop grid that shows posts. Actually, I want when we click on the post title it redirect on the default post link when the ACF field is empty, or it redirects to the ACF link when is filled up in the dashboard.

    Some one can help me ?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I think you’d need a custom loop grid element to pull this off. I’m not sure how feasible this is. For a definitive answer I recommend asking in Elementor’s dedicated support channel.

    Alternately, develop a custom loop grid as a shortcode, then insert the shortcode into Elementor’s shortcode element.

    A pedantic observation, ignore if you like:
    “redirect” has a specific meaning in HTML processing and clicking on a link where one is taken straight to that link is not a redirect. Requesting a specific URL and being automatically taken elsewhere is a redirect. If you substitute in an ACF value for an anchor tag’s href attribute, it’s still not a redirect because the user is taken straight there.

    I knew what you meant, so keep using the wrong term if you like 🙂

Viewing 1 replies (of 1 total)

The topic ‘Elementor and Acf dynamic redirection’ is closed to new replies.