Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter racket8912

    (@racket8912)

    Hi @hiteshmakvana

    How do I import events via code so I can create custom post type (event_listing) events for your plugin?

    I am pulling API information dynamically so I need to create the events programmatically and add each ticket type programmatically as well.

    Is this currently possible?

    It’s just 1-3 functions I need to know. Please help.

    Thread Starter racket8912

    (@racket8912)

    Nevermind, I figured it out.

    For anyone else that wants to do something similar.

    Attach a request parameter to your form and MAKE SURE to have it as the default content of the “Hidden” type. Make sure its a GET request as well. This way I can pass information from my link page to my form page using the URL. Then on the button or link page that holds the link to your form add a “?” at the end and then the request parameter name you created on your form, then “=” and then the value you want to send to the form and eventually to MailChimp.

    So if I need to pass the sport that is set on the button thats on my link page to my form page the URL will look like this:

    mywebsite.com/myform/?sport=football

    Now my form will send a message of Football to my Mail Chimp list

    • This reply was modified 6 years, 7 months ago by racket8912.
    Thread Starter racket8912

    (@racket8912)

    Hello. I have Elementor Pro and I have already set up dynamic fields using my ACFs. My issue mainly is the following: how do you base those dynamic fields to change based on the current page’s say title or ID or any identifier?

    I want to create pages that don’t have any content in them until a visitor visits the page and then an API request grabs some data and fills it into that page. If I was doing this in code I can just use a variable that ties in the current page with my Elementor posts element but without using code how can I create conditional statements on the content Elementor will show based on the Page’s Title?

Viewing 3 replies - 1 through 3 (of 3 total)