ptom98
Forum Replies Created
-
The $post is reference to page that i copy the shortcode on rather the id of the payment form.
This bit seems to work fine, if i output the value of $amount in the code, the expected value is correct and appears as an int, but when using as $unit_amount, i get the error specified.
Odd, really? Messing around with it and it requires no customisations just and understand of the fields.
Adding this to the end of the url to where you’re listing events allows you to link and specify certain conditions;
?search_keywords=my%20search&search_datetime=2022-05-04%2C+2022-05-10&search_category=cat1
search-words > any search terms you want to filter by
search_datetime > either a single date or two dates separated by a comma in the format YYYY-MM-DD
search_category > the slug of any category you want the results filtered by- This reply was modified 3 years, 11 months ago by ptom98.
As mentioned I don’t want to create a unique page for each one, I want to be able to have one page that I can link to and specify the date range in the url.
Much like how i mentioned in my first comment that you can do with comments;Adding ?search_keywords=test to the url where the widget is forces it search via keyword, is there no way to do this with?
For example can I make the url something like;
?keywords=event&selected_datetime=today,tomorrow
?keywords=event&selected_datetime=this-monh,next-month- This reply was modified 3 years, 11 months ago by ptom98.