Is it possible to export venues?

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22173

    I would like to export a list of the venues so that I can create a map for the printed festival programme, is there a way of doing this?

    Kim Harding
    #22196

    There’s no feature that supports this (the CSV export doesn’t include venue details yet). Though it would be possible to write a script to output venue details in a particular format. What data are you trying to extract and in what format?

    Stephen Harris
    #22197

    Ideally I would like to be able to extract all the venue data into a csv file and I could then sort it as required. At minimum would want name and address with post code, better if it included lat/lon as well.

    Kim Harding
    #22232

    Hi Kim,

    Here’s a script which will generate that CSV: https://gist.github.com/stephenharris/8b3ca52318f55d8b6220b015046c7f88

    You’ll need to implement how you are going to invoke that script. I’d recommend making it into a WP-Cli plug-in if you are familiar with it.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.