0
votes
0answers
64 views

Why wold sending headers (for a csv download) throw a Page Not Found error?

I'm writing a plugin to download some data into a csv file (from the admin section of my wordpress site.) I've tried two different methods to customize the headers and prevent the wp-admin template ...
0
votes
0answers
371 views

How to give a download link to a .csv file from the custom plugin?

I have made a custom plugin, which exports MYSQL table contents into a .csv file which gets saved in to wp uploads directory. Now, I am trying to give a download link for downloading directly a .csv ...
3
votes
1answer
137 views

Get file headers in custom file

in my one of my plugins i have modules (kind of like plugins in a plugin), is there a function like get_plugin_data() or wp_get_theme() that will allow me to get the header section of a custom file ...
1
vote
2answers
1k views

Headers already sent error with CSV export plugin

I have built a Wordpress plugin that allows the user to export all pages, with their levels and urls, to a csv file. The problem I have is that I keep getting error messages when trying to export ...
1
vote
2answers
2k views

Adding custom code into header.php using a plugin

I have a bunch of code that I tend to put into the header.php of every site I do which are specific to Internet Explorer. I was wondering if there was a way to insert code into a 'standard' ...
0
votes
1answer
200 views

How do i 'deactivate' a plugin only on a certain page template?

I have a plugin which is great but it's kind of aggressive, and it changes a lot more than it should (but there are no settings to fix this). I have a custom page template that calls wp_head('less') ...
0
votes
2answers
142 views

Need Help Determining Where Header Error is Happening

I am currently writing a plugin that contains a report based on a mysql query. I would like to export this query information to CSV. Simple enough, I've done it many times outside of WordPress. I'm ...
0
votes
1answer
1k views

Custom Login Page — wp_signon Headers Already Sent?

As the title suggests, I'm building a custom front-end login page for users of my site. I'm using wp_signon to log the user in after their credentials have been validated, but I'm getting this error: ...
5
votes
10answers
5k views

Wordpress Plugin Development - Headers Already Sent Message

I'm developing Wordpress plugins. When i activate my plugin, i'm getting a message The plugin generated 293 characters of unexpected output during activation. If you notice “headers already ...
1
vote
4answers
2k views

The plugin generated 80 characters of unexpected output!

I'm getting this message each time I activate my plugin: The plugin generated 80 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with ...