Support

Home Forums Event Espresso Premium Removing commas from venue address

Removing commas from venue address

Posted: August 9, 2016 at 12:14 am

Viewing 2 reply threads


Waz

August 9, 2016 at 12:14 am

Hi Guys

It’s only a small thing but as the title states, is there any code/filter you have got to reformat the venue address displayed in an event post and to remove the commas. I know you have this to edit what data is displayed, but I wish to go further and remove the commas
https://gist.github.com/lorenzocaum/5e2658a1f7e7a9a6b5c0

thanks


Josh

  • Support Staff

August 9, 2016 at 7:55 am

Hi Waz,
It’s the same inline filter that’s in the example you linked to. The difference is you don’t apply your callback function to the multiline filter, and you remove all of the placeholders (%). The placeholders actually get swapped out for commas.


Waz

August 10, 2016 at 5:11 am

Hi Josh

Well that was easy! Thanks for your help, cheers

Viewing 2 reply threads

The support post ‘Removing commas from venue address’ 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.

Event Espresso