Posted: August 19, 2019 at 3:07 am
|
Hi, |
Hi there,
Ok, so you’ve modified core and that’s not something recommend or support. Each time EE is updated those modifications will be lost. Can you provide some details on what it is you want to do change? You may be better hiding most of the info with CSS but you can also load a custom template from within your theme (preferably a child theme) rather than editing core. We can point you in the right direction if you let us know what your trying to achieve.
You can hide that with CSS:
You can add that in Dashboard -> Appearance -> Customize -> Additiona CSS.
There’s a filter for that text So you’d create a snippet like this: https://gist.github.com/Pebblo/e0a716dcc0a8876bffaf7911a9ecf7f9 You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
You would add them within the admin: Event Espresso -> Messages -> Default messages templates -> Invoice. How/where you add them and the shortcode you use depends on how your collecting that info. You said you’d tried adding them but get an error, can you post the shortcode you used and the error your getting please? How did you add those questions to the registration? I’m guessin you are asking the primary registrant for those details? |
|
|
Hi, should i replace this: with your code: add_filter( ‘FHEE__payment_overview_template__no_payments_made’, ‘tw_ee_no_payments_made_text’ ); ———– Which text should i add into parenthesis, Thank you! |
No, you don’t edit the template file at all and you don’t replace any code. You place the snippet of code I gave you into a custom functions plugin, the link in the above posts guides you on how to create one. It uses a hook within EE to change the text without modifying core, if you’ve not used hooks before I highly recommend you read this: https://www.smashingmagazine.com/2011/10/definitive-guide-wordpress-hooks/
Assuming you are asking those questions to the Primary Registrant you would use:
So say you have a question ‘Company Name?’ and the shortcode for that would be:
|
|
|
Hi, |
Great! I’m glad that worked for you. |
|
The support post ‘Thank you page EE4 -customization’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.