Comma-separated values or character-separated values: a text format to store tabular data. Often used to import or export MySQL tables.

learn more… | top users | synonyms (1)

-2
votes
1answer
23 views

CSV generated through admin-ajax.php retuns empty [closed]

I'm trying to generate a csv file based on data passed through an Ajax post. The posted data are user id's, these are then used to retrieve the user's email which will be put into a csv file. No ...
-1
votes
0answers
11 views

Mailchimp Synch User with custom user_meta to create list

i've a csv file with my clients list that i use to create users with custom meta data (such as language, notes, etc) i'd like to sync those wp users to mailchimp users, dividing it by lists (blocked ...
0
votes
1answer
30 views

'pre_user_query' interfering with user export

I needed to add sortable columns to clients wordpress for custom meta data I created so I used a pre_user_query hook add_action('pre_user_query', 'user_column_orderby'); function user_column_orderby(...
0
votes
0answers
17 views

Issue: CSV file upload works only when “View page source” is done

I ma having little wired issue while uploading the csv file. Here the code I have. The actual site is developed in wordpress. This is to show the issue and same issue happens in the plugin developed. ...
0
votes
1answer
90 views

Custom CSV exporter - Cannot modify header information - headers

In my admin dashboard, i created a custom module for report filtering using custom queries. I need to add another functionality which is to export these results to CSV. I tried to create a very simple ...
0
votes
0answers
29 views

Update post types values from csv with thousands of data without memory limit issue

I have a plugin to download the custom post type values (have managed custom tables to meet the requirements) in csv and also update those post type values editing and uploading the same csv file ...
0
votes
0answers
20 views

Importing and Merging Data into Wordpress Theme from Two CSV files?

I'm working on a website that will sell products via a dropshipping wholesaler. The dropshipper supplies xml files/csv files for everything necessary except that the category csv/xml file is separate ...
1
vote
1answer
58 views

Custom Plugin For Converting CSV To MySQL

I wrote a plugin to add a csv file to the database. I created a custom table to use. My file path looks like this, wuno-uploader/wuno-uploader.php wuno-uploader/inventory.csv On an settings option ...
0
votes
0answers
21 views

Export searched results in admin

I'm looking for a way of exporting searched data in an admin list of custom post types in a csv file. I've add some custom filters that allows user to search specific items. Basically I would like to ...
0
votes
0answers
18 views

Importing inventory from a csv file in the ftp to the database

I'm looking to upload the content contained in a csv file from FTP directly into a WordPress database every 24 hours. This csv file (containing inventory items) gets generated from one site, and I ...
0
votes
0answers
10 views

Custom button in post admin page that exports sql query in csv [duplicate]

Is that possible to create a custom button in my post admin page that when every time the admin clicks on it, it will create a csv file in real time for download that will contains that results of an ...
0
votes
0answers
40 views

Export User Info into CSV - Additional Column (post_title)

I'm using the 'Export Users to CSV' a plugin for wordpress. By default, The plugin only extracts wp_users and wp_usermeta I have been wanting to add post_title column from wp_posts. I was able to ...
0
votes
1answer
60 views

Creating connections programmatically with common fields on CPT's

I'm trying to create a programmatic connection between two CPT's that have a common field (id_number). For example: CPT "City": post_name:New York id_number:34 CPT "Color": post_name:Red ...
0
votes
0answers
417 views

How to export table from database in CSV file format (making custom plugin)

I am making a plugin. It stores emails in table of a database via html form and displays the emails in administrator page. I also want to include a button, that enables the export of emails in CSV ...
0
votes
1answer
480 views

WooCommerce - Adding Product Attributes to CSV Export

I'm trying to customize the WooCommerce CSV Export plugin to add additional columns for two standard product attributes ("fund" and "appeal code"). I'm able to add the actual headers, but can't get ...
0
votes
0answers
278 views

Export Wordpress Table to CSV from page

I want to export my members table to csv format on my default download location. So I used a shortcode in functions.php and called it on a page. I am getting an already sent header warning and csv ...
1
vote
1answer
137 views

Feed format for woocommerce [closed]

I am using woocommerece for my website. I get product feed from different suppliers in excel format with different information in different columns (no consistency in product attributes such as price, ...
0
votes
0answers
373 views

Create csv file in plugin

I have written a function to create csv file usin the below code.I am getting Headers already sent warning and I can't able to create the csv file too.How can I fix this problem.I have attached the ...
-1
votes
1answer
46 views

trouble with passing class method data to outside function

I'm attempting to call a function using this shortcode format: [priceguide file='test.csv' type='mods'] When I do this, all I get back on the page is the file name, test.csv, and nothing else. ...
0
votes
2answers
323 views

Import users once a day without a plugin

I need to import users to my WP database once a day. So I have a script that runs once a day to do an action. The problem that I'm having is that I'm a little over my head on this one. Another ...
2
votes
2answers
224 views

Best practice for adding posts in bulk

I have a set of custom post types and taxonomies I've added using the Custom Post Type UI plugin, and need to enter several hundred entries ( >500 ) How can I import this data in bulk? E.g. as a csv?
1
vote
1answer
85 views

WordPress CSV Importer takes a long time to finish

I have created a lot of custom CSV importers for WordPress in the past and I have come across issues related to the time it takes for them to finish processing. Whenever the importer starts running, ...
-1
votes
1answer
75 views

How to export tag counts to excel?

I'm not a programmer, so writing PHP code, etc. would be tough for me ... but I'm looking for a simple way to analyze which tags are used most often to tag posts in my blog. An export of tag and use ...
0
votes
1answer
163 views

How to Import Multiple Values in custom field

I want to know how to import multiple values in a custom field, I am quite familiar in using custom field for single values but for multiple values is what I am having trouble with for example my csv ...
0
votes
1answer
42 views

Function to get the name in database table from the comma separated string

I already created admin column in WP using this code: add_filter('manage_pages_columns', 'page_custom_cols', 10); function page_custom_cols($pages_columns, $post_type) { $pages_columns['user_group'] =...
0
votes
2answers
61 views

CSV to WordPress posts: do I have to populate each possible field?

I'm planning to import Products in a CSV to WooCommerce. We are still working on an Excel, and we are using the main fields that a product has, following the WooCommerce wordings for the Products (...
0
votes
0answers
31 views

I would like to import two columns into Wordpress

Very easy- I would like to import two columns, list-id and slider in a CSV into my Wordpress database. list-id must match with Wordpress post. That's it I have used many Wordpress plugins, but they ...
1
vote
3answers
6k views

How to import CSV into Custom Post Type custom fields?

I have created a Custom Post Type and then used a plugin to create the custom fields for that post type. It will display a type of membership: Name Address Zip Website But I am stuck on how to take ...
0
votes
1answer
89 views

How to cdv from a custom CMS to WP

I'm working with a client to move their content from a custom CMS to WP. They've sent me this csv to work from. https://dl.dropboxusercontent.com/u/54924720/TOTD_SCRAPE_TAKE1_.csv The only csv to ...
0
votes
1answer
68 views

Create CSV for import from File directories?

Lets say I have posts sorted in individual folders with a word document & jpg inside. What would be the best way to sort that into a csv for import. I assume some excel script or such. Any ...
0
votes
1answer
95 views

CSV file header

What would be the CSV file header, (to import into WordPress), to show the category and subcategory of each post, and how would be the content, for that header? I´m using the plugin "CSV Importer".
2
votes
2answers
7k views

Woocommerce - Hide “add to cart” on free products

im using Woocommerce and searching for a way to hide the "Add to cart"-Button on a single-Product page IF the product is for free - I'm making a big CSV-Import and some product-prices are set to zero -...
0
votes
0answers
59 views

Reading csv from specific directory and insert it to custom post type (cron job)

Need a comprehensive cron job script to read .csv data uploaded regularly to specific folder. Will insert data to custom post type only if csv exist base on cron job current date. Any suggestion of ...
0
votes
0answers
24 views

CSV import stopped working when I upgraded to WP 3.5.2

I used to import Greek text in posts using various plug-ins such as CSV improter. All these stopped working once I upgraded WP to 3.5.2 Any known issues? Thanks.
4
votes
1answer
3k views

Export data as CSV in back end with proper HTTP headers

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file. The problem is, when I click the link I get ...
5
votes
1answer
303 views

Using a database view = evil incarnate?

I'm at a point in doing some WordPress plugin development where from what I can tell I either have to create an entirely new plugin or I can create a database view. The client wants some simple logs ...
2
votes
1answer
1k views

Jetpack - stats_get_csv period parameter

I'd like to create a query to show the top 6 most read posts over the last two days. However, I'd like to only include posts created within the last month to prevent older stories from showing up. I ...
1
vote
2answers
2k views

Export entries and multiple custom field meta to .csv?

First time poster. I'm trying to export a bunch of custom posts out to a csv file so I can easily import them into a new database. I've ran the native export to xml, but it's not the correct format I ...
1
vote
1answer
314 views

Wordpress.com Stats stats_get_csv with custom field?

I am trying to figure out how to add a custom field to display an image instead of a title on the stats_get_csv from Wordpress stats. <?php if ( function_exists('stats_get_csv') && $...
2
votes
3answers
2k views

Using stats_get_csv to return a list of popular posts by views with thumbnails

I recently learned that if you have WordPress.com Stats installed, you can take advantage of stats_get_csv() (Part of the WordPress.com Stats Plugin). <?php if ( function_exists('stats_get_csv') &...
0
votes
2answers
623 views

Import CSV to MySQL, with custom registration field information

I have to update the information of 1500 members of my clients Wordpress site. I'm using a membership to manage paidd subscriptions and I have to update the custom fields generated by this Plugin. I ...