Support » Plugin: Pods - Custom Content Types and Fields » Link Elementor button to Pods archive URL

  • Resolved Danny


    I’ve setup the CPT and Custom taxonomy in Pods. And created the Single Post template as well as Archive template for the custom taxonomy in Elementor Pro.

    What I’m trying to do now is add a button in the Single Post template, so that clicking it will take the visitor back to the Archive URL.

    For example; user clicks on a Book Title inside Genre Y. The “back” button in Book Title post should go back to the Genre Y archive page.

    The only Dynamic Tag I can see in Elementor to do this is the Archive URL. When I tried that, no link is generated for the button inside the Book Title post.

    Does someone know why isn’t this working?

    • This topic was modified 1 month, 3 weeks ago by Danny.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen


    Hi @dannyfoo

    Please contact Elementor support about this since it’s their builder software.
    This would be outside the scope of Pods since we only create the CPT and Taxonomies in this use case.

    Cheers, Jory

    Hey @dannyfoo,

    We have exactly the same issue with Elementor & Pods.

    Have you found solution to this case?

    Hey @romanaxeweb , this was what Elementor’s team informed me:

    ..’Archive URL’ dynamic feature only works within the Archive Templates and not in Single posts as stated in the article – Dynamic Tags (Pro)

    Yes, it was crappy to read that. Thankfully, I managed to get around it.

    It’s a stop gap solution only. And I do not recommend it as an answer.

    What I did was added an ACF selector to get the Genre, then used the ACF URL in Dynamic Tag to generate the Genre link.

    Hey @dannyfoo ,

    Thank you for your quick response!
    I am happy that you found a “workaround”.

    I guess, I will use “shortcode” as a solution.
    Leaving here details for other users who might struggle with the issue.

    # Shortcode Solution:
    Here is the setting on Elementor’s sidebar:

    And here is the simple shortcode that returns Archive URL of current post:

    add_shortcode( 'get_archive_url', function () {
       return get_post_type_archive_link( get_post_type() );
    } );
    • This reply was modified 2 weeks, 2 days ago by romanaxeweb.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.