wp-theatre
wp-theatre copied to clipboard
How to add a watermark or cross an image with the word canceled on the outstanding image of the event
How to add a watermark or cross an image with the word canceled on the outstanding image of the event when tickets_status_cancelled = '_cancelled'? I bought extensions for Grid Events Theater, Events Slider for Theater and Timetable for Theater. Would need to work in all these extensions. Thank you Alejandro Picco
Hi Alejandro,
This required a little bit of PHP code.
You need to use a new placeholder, eg. {{tickets_status}}
and then use the wpt_event_{$field}_html
filter in wpt_event.php
to generate the proper output.
You then need to use CSS to place the output on top of the image.
Jeroen
You can have a budget for this in the adaptation? El 11 jun. 2016 20:33, "Jeroen Schmit" [email protected] escribió:
Hi Alejandro,
This required a little bit of PHP code.
You need to use a new placeholder, eg. {{tickets_status}} and then use the wpt_event_{$field}_html filter in wpt_event.php to generate the proper output.
You then need to use CSS to place the output on top of the image.
Jeroen
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/slimndap/wp-theatre/issues/207#issuecomment-225400311, or mute the thread https://github.com/notifications/unsubscribe/AJkXr_eIROKMMMzrfrzNwXhwhpzXSl_0ks5qK0W1gaJpZM4IzqY2 .