Tagged Questions
0
votes
1answer
29 views
How to send “Location” header on plugin form submit event?
How to redirect to specified page after form was submitted?
Warning: Cannot modify header information - headers already sent by
(output started at wordpress\wp-admin\menu-header.php:94) in
...
0
votes
0answers
34 views
header.php link not showing on initial login
In our header.php file we have two links that only show if a user is logged in - a 'Music upload' link and a 'View your page' link. Once the user logs in the music upload link shows fine but the ...
-1
votes
0answers
15 views
How can I complete a web request then continue processing?
I am trying to add thumbnails to my site via a plugin. There are several plugins to do that but none seem to fit my needs. My plugin is progressing well however I have run into a small roadblock.
I ...
0
votes
1answer
80 views
Changing 2011 theme header image based on user dropdown
I posted earlier about changing my site's CSS based on user-choice from a drop-down and storing it in a cookie, which I think I have now resolved, and sort-of have working at the following address ...
1
vote
0answers
206 views
Using PHP to toggle stylesheet and header image, set in cookie
I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
1
vote
1answer
100 views
Mysterious HTTP 404 header in my own scripts
I have a WordPress 3.5.1 + nginx configuration. Its nginx configuration is this:
server {
root /mysite/public_html;
server_name wp.mysite;
location / {
try_files $uri $uri/ ...
0
votes
1answer
69 views
Stop header code from showing in category page?
Hi I'm using the code below to show different header images in my custom template archives.
Only problem is that it is also showing the headers in the category templates.
go to ...
-1
votes
1answer
138 views
Adding Meta Tags to a Post using its Tags, Excerpt and content
I run a multiple author platform where I have added conditions that force authors to add tags to their post. To improve SEO, I would like to add Meta Tags to the posts. Ideally, with a light solution ...
1
vote
1answer
97 views
Echo URL of large version of Featured Image
I use this plugin to echo the URL of a post's featured image in the header:
<?php
/** Plugin Name: Post Thumbnail FB header */
function fb_header()
{
// Not on a single page or post? Stop ...
0
votes
2answers
84 views
unknown issue in 'header.php' preventing theme from displaying fully
My theme is currently activated and showing only the background image and the "home" link. I believe the issue lies within header.php, but I can't quite figure out what. Any ideas? (Also, is there a ...
0
votes
1answer
249 views
How can I use a sliced image As banner? [closed]
I am giving a try to something i have never done before. I am trying to slice a psd file and want to use it as a banner. But the problem is, as you may already know that, wordpress only allow one ...
0
votes
2answers
111 views
Get 'Headers already sent' error for the plugin I am creating when I try to login
I am trying to create my first plugin. So far it actually works fine but for one error:
I get a 'Headers Already Sent' PHP message when I try to login to wp-admin.
If I remove the plugin file from ...
0
votes
1answer
60 views
Converting Menu Links to List Elements
I'm creating a theme from a template based on Wordpress 3.0. I've started with items like Starkers which is a completely bare theme, and even tried modifying something by default like Twenty Ten or ...
0
votes
2answers
160 views
Warning: Cannot modify header information (with a twist)
Warning: Cannot modify header information - headers already sent by (output
started at /home/ezekiel/public_html/boxsponsive/wp-
content/themes/BoxSponsive-Portfolio/class.wp-less-styles.php:3) in
...
0
votes
4answers
1k views
Wordpress wp_redirect error
I am trying to redirect this page if the user is logged in or not be i keep getting this error
Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
48 views
can't modify header info inside a function [closed]
am trying to redirect the page using a header location, but it seems using the header function inside a function causes the problem cannot modify header info, any ideas ?
PS : i've already cleared ...
0
votes
2answers
165 views
How to internationalize header image?
I have in the following code in the template:
<img src="<?php header_image(); ?>" />
However, I want to change this image according to the language selected (through GET parameter ...
0
votes
1answer
270 views
Custom functions for string data calculations
Just a quick question. I have a form that calculates values based on user entry. The information is then passed via ajax to a php file for calculation returning the results. The problem is that that ...
2
votes
3answers
4k views
How to set custom cookies before output
What's a surefire way to check/set cookies before the php headers are sent? Is there an action or filter that would be the best place to hook a setcookie() function?
