Skip to content

[gv_entry_link] Displays Same Page Content Instead of Single Entry When Used After [gravityview] Shortcode #2370

@Mwalek

Description

@Mwalek

NB: Related PR context: #2361 – Add support for third-party endpoints

When using the [gv_entry_link] shortcode after a [gravityview] shortcode inside a Custom Content field, the link does not load the correct single entry content. Instead, it reloads the current page with the same View content, as if no entry context was provided.

This suggests that the endpoint or URL handling logic fails to route properly when the link is rendered after the View initialization.

Steps to Reproduce

  1. Follow the test environment setup instructions in Add a common framework for supporting third-party endpoints #2361
  2. Add a Custom Content field with the following content (replace view ID and secret with your own) to the View Embeded on your custom WooCommerce "My Account" page:
[gravityview id="572" secret="55cc389390ab"]

[gv_entry_link]
  1. Open your custom WooCommerce "My Account" page

Expected Behavior

  • The link should navigate to the correct single entry view for the given entry ID.

Actual Behavior

  • The page reloads with the same content as before — the View does not change and no entry-specific content is displayed.

Additional Context

Loom general walkthrough of the issues (same video linked on other related PR issues): Watch video

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions