• Resolved rjfrankenberger

    (@rjfrankenberger)


    We are using the Events Manager plugin for online gaming events that have a single ticket and the options for these tickets are ALWAYS the same. Is there a way to change the default values displayed in the Ticket Options so that we don’t have to change them every time? It would speed up the process considerably.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes, by changing the values in em-ticket.php in classes folder 🙂

    Plugin Support angelo_nwl

    (@angelo_nwl)

    here’s another snippet which may help you with this – https://pastebin.com/vqEMvQeT

    As for where to paste custom snippet – http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/

    OMG, I trieed as angelo told and now i smash it. I entered the snippet by ftp into event-manager.php then reload, after failure I deleted the snippet again, and now every time when I try to save my event this message appears:

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/309531_10247/httpdocs/wordpress/wp-content/plugins/events-manager/events-manager.php:1) in /kunden/309531_10247/httpdocs/wordpress/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/309531_10247/httpdocs/wordpress/wp-content/plugins/events-manager/events-manager.php:1) in /kunden/309531_10247/httpdocs/wordpress/wp-includes/pluggable.php on line 1210

    Can anybody help!?

    ok I simply updated and the problem disappeared.
    To ask again. Where exactly do I have to placethe snippet?
    or WHICh values exactly do i have to change when I want a customtext/price for the ticket? sincerely

    The snippet needs to go in the functions.php file of your theme.

    Can you let me know the ticket name, description, price, and number of spaces you want to use for the ticket?

    I found that this other snippet works better. 😉

    Paste this snippet in your function.php and voilà.

    https://pastebin.com/UqUU6uzZ

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

The topic ‘Can You Set Default Ticket Options?’ is closed to new replies.