WordPress.org

Ready to get started?Download WordPress

Forums

CSV to SortTable
[resolved] Ignore first line (4 posts)

  1. 2020media
    Member
    Posted 10 months ago #

    It would be handy to be able to ignore the first line of the CSV

    http://wordpress.org/extend/plugins/csv-to-sorttable/

  2. Shaun Scovil
    Member
    Plugin Author

    Posted 10 months ago #

    Can you elaborate on that? I'm not sure what the use case for that would be. Why would your CSV file have an extra line at the beginning?

  3. Shaun Scovil
    Member
    Plugin Author

    Posted 10 months ago #

    Simple solution: I added a filter to the table data array, just before the table gets rendered.

    To remove the first row, install v4.1.3 (or later) and add this code to your functions.php file: https://gist.github.com/sscovil/5798612

  4. 2020media
    Member
    Posted 10 months ago #

    Great response time!

    Thank you

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.