• Resolved roabe

    (@roabe)


    How change the text and color of a button “Get Tickets”?? I need to customize for a foreign language site!
    How to delete text “Don’t show me on public attendee lists”??
    It’s not possible to work like this!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Rafsun Chowdhury

    (@rafsuntaskin)

    Hi @roabe,

    Sorry to know that the new version is making things a bit difficult as we are trying to bring in new designs for better UX.

    You may use the following CSS to change the button color and hide the attendee list option for now:

    
     .tribe-tickets__footer .tribe-common-c-btn, .tribe-common-c-btn:hover{
        background-color: #DA4453 !importnant;
    }
    
    .tribe-tickets-attendees-list-optout--wrapper{
        display: none !important
    }
    
    

    Please add the CSS code into WP Dashboard > Themes > Customization > Additional CSS or follow this guide for more details: https://support.theeventscalendar.com/739977-Best-Practices-for-Implementing-Custom-Code-Snippets

    To alter the text from Get Tickets to anything else you may follow this article:

    https://support.theeventscalendar.com/178892-Change-the-wording-of-any-bit-of-text-or-string

    Let me know if you need anything else.

    Best Regards
    Rafsun

    Thread Starter roabe

    (@roabe)

    Thanks, but new ones may not be better… I don’t like the new design…
    This is not an easy change for the user… Why don’t you consider using another languages? Why can’t change be easier for users without knowing the code?

    And you didn’t answer the next question:
    How to delete text “Don’t show me on public attendee lists”?

    Thread Starter roabe

    (@roabe)

    I’m using the plugin “Code Snippets”. What do I have to write there, please? Everything and exactly?

    Thread Starter roabe

    (@roabe)

    function tribe_custom_theme_text_with_context ( $translation, $text, $context, $domain ) {
     
    	// Put your custom text here in a key => value pair
    	// Example: 'Text you want to change' => 'This is what it will be changed to'
    	// The text you want to change is the key, and it is case-sensitive
    	// The text you want to change it to is the value
    	// You can freely add or remove key => values, but make sure to separate them with a comma
    	// This example changes the label "Venue" to "Location", and "Related Events" to "Similar Events"
    	$custom_text = array(
    		'Get Tickets' => 'New text',
    	);
    	
    	// If this text domain starts with "tribe-", "the-events-", or "event-" and we have replacement text
        	if( (strpos($domain, 'tribe-') === 0 || strpos($domain, 'the-events-') === 0 || strpos($domain, 'event-') === 0) && array_key_exists($translation, $custom_text) ) {
    		$translation = $custom_text[$translation];
    	}
        return $translation;
    }
    add_filter('gettext_with_context', 'tribe_custom_theme_text_with_context', 21, 4);
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @roabe Do not make topics about topics. I have removed your new topic.

    If this free, open source, zero cost to you, contributed by the author on their own time and out of the goodness of their heart, supported for free plugin isn’t working for you then consider finding a new one.

    You’re not a customer. You’re a user. The author doesn’t owe you a thing let alone support.

    Thread Starter roabe

    (@roabe)

    I kindly asked for help because the plugin update has changed its features. I didn’t get help, just persecution. Congratulations!
    So what is this forum for? I thought to contact those who can help …

    Thread Starter roabe

    (@roabe)

    I helped myself… Solved

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Terrible version 4.11.1’ is closed to new replies.