![]()
Update 2/5/10:
Dynamic Headers has reached 30,000 downloads in about 9 months! Thanks for the support. In addition Version 3.5.1 was also released today so make sure you’re up to date!
—————————————-
Nicasio Design is proud to announce the launch of our first WordPress plugin that is publicly available. Dynamic Headers does just what you think it would based on the name – it allows you to create highly dynamic header space on your WordPress site.
More info, installation directions, directions for use and screenshots after the break.
Dynamic Headers by Nicasio Design
For the impatient – Download Here.
Support:
- Limited free support is available when we have time, but due to the large difference in the way different themes are coded it is very difficult for us to address every theme related question, so if anyone finds a method to implement the plugin with a particular theme, please share with the community here.
- Comment here for support questions/comments.
- You can also email plugins@nicasiodesign.com
- Paid support, plugin customization, and custom plugin development is available. Contact Us for a quote.
Features:
- Set different headers for each page and post.
- Use different media types on each page (image files, flash files).
- Cross browser compliant embed code automatically generated.
- Can set default header for pages/posts without set header image.
- Fails gracefully if no header media present for current page.
- Random media for individual pages/posts and default media.
- Alt / Title tag management for images.
- Supports both built in browser uploader or FTP.
- Quick and lightweight.
- Simply add template tag to theme to pull dynamic media.
- Tested and validated to work on WordPress version 2.6+
- May work on 2.3+
The only minor coding required on your part is to drop the template tag into your theme file where you want your dynamic media to appear.
Hint: While we designed this plugin to handle your header images, you can actually insert the template tag anywhere in your theme – so use your imagination. We plan to add the ability to create your own dynamic media modules in a future release so you will actually be able to have multiple dynamic image areas on each page.
Planned Future Functionality:
- Ability to manage multiple dynamic media modules on each page.
- Ability to create your own dynamic media modules.
- More visual selection and management of your dynamic media library.
- Integration to allow use of WordPress Media Library.
- Ability to set header for different WordPress archive pages.
- Ability to associate links with an image, so the plugin could, in theory, become a basic ad manager.
Directions for Use
1. After installing the plugin you will need to make sure /wp-content/plugins/custom-header/header-images/ is writable. If you are unsure on how to do this, consult your hosting company, your help files for your hosting, your FTP client documentation, etc. This process can vary from server to server.
If the directory is not writable you should be seeing an error message at the top of the plugin admin pages.
2. Upload media (using the filtypes listed above) on the Add New File Page.
3. Go to the Settings Page (under the Headers main menu item created by the plugin) and set your default header image. If you do not set a default header image, no media will be shown for posts and pages that do not have a header image associated with it.
Alternatively, you can also add images to the /wp-content/plugins/custom-header/header-images/ directory using your FTP client or other file manager.
4. Create or edit a post or page and at the bottom of the page you will see a new box called “Dynamic Header by Nicasio Design”. Select from the drop down one of your uploaded media files. This media will be shown only on the page or posts you set it to appear on.
5. Now you will need to add the template tag created by the plugin to your theme file where you want your dynamic header to appear (this will usually be in wp-content/themes/your-theme-name/header.php).
You have 2 options for adding your dynamic header:
Option 1 (Recommended): Simply drop the this line of code into your theme file
<?php show_media_header(); ?>
This will automatically determine what type of media you are using and generate the appropriate code to insert it. No other coding is required on your part.
Option 2: You can use this line of code to simply get the URL of the media for a particular post or page. This will allow you to do some more advanced things and embed the media yourself if you know what you are doing.
<?php $dynamic_header_url = get_media_header_url(); ?>
You can then use the variable $dynamic_header_url however you see fit. It will contain the full path to your media file.
It is advised that most users simply use Option 1 as it is significantly more simple.
Note: This function can return NULL or the string ‘None’ if there are no headers for the current page.
Important Notes: On archive pages, the header media is controlled by the first post in the list. We plan to add control for archives pages separately in a future release, but for now, be aware that the first post on an archives page controls that page’s header.
Screenshots









I am a visual person, so I would love to see screenshots of this plugin in action!
@Parg
There should be some screenshots right ^ up there.
I’m going to try to add some to the WordPress Plugin repository tonight too though.
I installed your dynamic header into wordpress ver 2.6.1 and it foesn’t work even after its activated. I click on about or directions or any tab it remains blank and no information
@nalanw -
What sort of server environment are you running WordPress in?
I just did a quick test using the plugin with WordPress 2.6.1 on an Apache server with no problems.
Also, what other plugins are you currently using? Obviously we can’t test to ensure the plugin will work with every other plugin out there so any info you can give us will help us ensure maximum compatibility.
You might also try to re-download and reinstall the plugin as we had a couple of minor issues with the initially launched version.
THANK YOU FOR THIS.
Saw your Plugin in the repository last night, downloaded it last night, played with it and added headers to my 70+ page site.
Before your plugin, I was MANUALLY inserting code into my template files, uploading images to my server and using custom fields and the url of the images to do what this plugin does.
It’s one of the best WP-Plugins !
I had just a little problem to insert the code into the header.php. But now, it still works fine !
Thank you all for this !
Thanks for the positive feedback so far.
Awesome! Thank you.
One small suggestion: Step #3 in the directions above and in the “other notes” on wordpress.org mentions the Settings Page. It took me a while to discover that this referred to the “Headers” menu the plugin adds to the WP dashboard. I kept looking in the *general* WP “Settings”.
Regarding my comment above: those more familiar with WP may have been expecting the added “Headers” menu (I’m a newbie). The screenshots helped a lot.
Thanks again. This was exactly what I was looking for.
@ Lee: We appreciate your comments/suggestions and are planning on making the change as you requested to make the documentation easier to understand for everyone – including the noobs : )
@ Lee – glad it helped you out. I made the changes to the directions to make things a little clearer.
Love the plugin – would be great if you recommended WHERE in header.php is the best place to paste .
Thanks
@Mojitomaker -
That’s entirely up to you and it can vary greatly based on what theme you’re using.
Don’t forget to review us in the WordPress plugin directory if you like the plugin!
Error: custom-header.php, line 307, function getimagesize() does not exist.
Any ideas?
@Mojitomaker:
Hmm, not sure why you would be getting that error. getimagesize is a standard PHP function in both PHP 4 and 5.
I assume you’re using a flash file on this page?
You could do the following:
Open custom-headers.php in a text editor and change line 307 from this:
list($width, $height, $type, $attr) = getimagesize($swf_src);
To this:
//list($width, $height, $type, $attr) = getimagesize($swf_src);
//Set width to the width you want to use for Flash headers
$width = 100;
//Set height to the height you want your Flash headers
$height = 50;
And just change the 100 and 50 to the dimensions (in pixels) of your Flash header.
This will take away the ability to use different sized Flash headers, since it will use a set height and width, but it should fix the error.
Within the readme.txt file included with the download, it says:
== Installation ==
These are the directions for the install. Be sure to read Directions for Use before using.
1. Upload ‘the custom-header’ directory to the `/wp-content/plugins/` directory
1. Activate the plugin through the ‘Plugins’ menu in WordPress
1. Make sure `/wp-content/plugins/dynamic-headers/header-images/` is writable (777)
1. Read the Other Notes page for Directions for Use. These directions are also contained in the plugin.
On the first number 1 (there are four number ones), where it says, “Upload ‘the custom-header’ directory,” do you mean the folder called “dynamic-headers” that is the main folder from the “dynamic-headers.2.6zip” file I downloaded for this plugin?
@Dan
Yeah, i got to that solution too – strange though. I don’t have access to the php install info, but it seems to be working well now – thanks. Will review the plugin for WP if you like – easy as.
@Greg – The reason there are 4 number 1’s is because the Readme file is used to generate all of the pages you see on WordPress.org. Several 1’s is the syntax for an ordered list.
And yes, custom-headers refers to the dynamic-headers folder. custom-headers was the development name of this plugin. I thought I had removed all references to it, but I must have missed one.
Note: We accidentally uploaded an old version using the custom-header naming, so if you downloaded the plugin in the first few minutes it was posted you may want to try downloading it again.
Hello!
When trying to put up a swf i get this above it …
Warning: getimagesize(/wp-content/plugins/dynamic-headers/header-images/lilone.swf) [function.getimagesize]: failed to open stream: No such file or directory in /nfs/c03/h04/mnt/57616/domains/thisisdavid.com/html/wp-content/plugins/dynamic-headers/custom-header.php on line 307
any ideas?!
@ David:
This is probably due to your server settings. I have made a revision to the plugin that should take these settings into account.
I just made the change to the WordPress plugin directory – it should be up there in less than 15 mins. It will be version 2.7.
If you don’t want to reinstall then just open custom-header.php
Find this line around line 305 or 306:
$swf_src = '/wp-content/plugins/dynamic-headers/header-images/'.$load_this_media;Replace with that whole line with:
$swf_src =ABSPATH. '/wp-content/plugins/dynamic-headers/header-images/'.$load_this_media;That should solve your problem….in theory.
Does this work with Wordpress MU?
@Curry:
It has not been extensively tested on MU, but some of our users have reported that it works with no problems.
Wowsers!
that was fast! All fixed and wonderful!
Awesome work!
David
Thanks for the quick reply. When I go to settings and try to ‘Save Changes’, I am taking to /wp-admin/options.php, with the message “Error! Options page not found.”
I followed config, but I am wondering if I need to do something else to access DH options.php? Any thoughts?
…and thanks for a great plugin!
Hi nice plugin but i would have just a small suggestion:
for the homepage (the last blog entries) it would be great to have the possibility to show the header of the last post (like the archive page).
Would that be possible?
thanks!
@Mat:
This is actually how the plugin behaved in the beginning, but I didn’t think people would want the most recent post to control the image on the homepage so I set the homepage up to have its own dedicated header.
Perhaps in the next version I will give the ability to choose to have the most recent post as an option for the homepage header.
Yes that would be great!
I think changing the header each time there is a new post is a nice and simple way to tell people coming to my blog that something has changed…
@Dan
Cheers for the update. Imagine David’s delight HAHA!
@Dan & Everyone
Firefox 3, PC. SWF Header loads about all other layers, unlike all other Mac/PC browsers with the same code. Any ideas?
@Mojito-
Can you elaborate? Perhaps provide a link to the problem page so I can take a look at it?
It’s an internal blog, so all i can do is post the code. In all other browser the multimedia header shows at z-index 100, and the logo at z-index 200 – except Firefox 3 on PC
header.php
styles.css
#header {
position: relative;
}
#multimediaheader {
position: absolute;
z-index:100;
}
#thelogo {
position: absolute;
z-index:200;
}
header.php got ignored previous post
-->
header.php
div header
div multimediaheader /
div thelogo /
/div
dan-
this is very cool! is it possible to set the width of jpgs by default that are dynamically loaded?
if so, could you please help me set that up?
thanks,
andrew
I love it but just wondering if there is a way to use a small html page holding a a running javascript ? Or in other words is there a way to use HTML instead or also ?
Sorry Dan, for polluting your plugin forum with Flash/Firefox issues, but if ANYONE has a working solution, please post it.
This simply does not work for me – or anyone it seems – including the SWFOBject guys (sorry Phillip).
http://geekswithblogs.net/steveclements/archive/2007/03/03/107839.aspx
http://slightlymore.co.uk/wisdom/flash-and-the-z-index-problem-solved
http://pipwerks.com/lab/swfobject/z-index/2.0/index.html
dan-
i was able to achieve what i needed using css.
very great plugin!
Great plugin … but i seem to have a problem on using it on a wordpress theme called panorama… everything done as on the description but it just sends the header images on the top of the pages and not on the header image frame… the problem is i guess that the theme itself has something like a header image option where you can choose one image displayed on the header… I send the theme files and the screenshot on Your email … thanks in progress for your time and interest
…
how many headers can view in a minutes??
@pete:
We can’t get into specifics of where in a theme you need to drop the template tag. This can vary greatly from theme to theme. And depending on what theme you’re using it is possible the theme author has already built some sort of dynamic header functionality into the theme. I would advise you to do a little trial and error to find the right place to drop the template tag.
Have you tested this to see if it works with WordPress MU? One of the issues that I’ve found with regular WP plugins is that they don’t register their options. It’s not required for WP 2.7.x right now but will be in 2.8. However, it is a requirement for WordPress MU right now.
Does it work with categories too? Can posts from certain categories have have a certain header?
Is it possible to have image header per category?
Plug in is Awesome! So very to easy to use and excute. Im only having one problem with it. For post or pages I do activate the “Dynamic Header by Nicasio Design” on the bottom of the pages/post but for some odd reason it doesn’t show up. So the only time my header shows is when im on my main “home” page. Am I missing another setting?
Hello
I love the idea of this plug-in, however I’m having some trouble getting it to work. I have inserted into my header.php file but it doesn’t display anything. Am I doing anything wrong? I have set the folder mentioned above to 777.
Also, I’m sure it’s incidental, but the icon on ‘Headers’ menu doesn’t display.
Please help! Thanks!
Hello, back again… for another little suggestion.
I think you could add a post id parameter to the Get_media_header_url function so it could work like that:
get_media_header_url($post->ID)
I tell you this because I use it with another plugin called snazzy archives that creates an image oriented archive, and since it cycle through each post to get an image I just modified the get_header_media_url like I said to get an header image instead of an ‘in-post’ one and it works great.
So maybe there already is way of doing this without the modification, but if not I think it could be usefull so we can get header url in different places..
Thanks again,
Hi Dan,
Any reason why the default header isn’t working for new pages/posts?
Cheers,
Alistair
And just one last thing … when editing or creating a new post it would be nice to have the possibility to set the header to the default one, not only none/random (and if that could be the default choice too).
I don’t know if it is the normal behaviour but when I edit a post without header it default to ‘none’ (and that is what is writen in the database) so when I go to the post page It doesn’t show any header. I think the none behaviour should be explicitly done by the user and should not be the ‘default’ behaviour…
Ok, won’t bother you anymore!
great plugin!
Ciao, for those who may concern: in the default wordpress theme the template tag must be added here:
<a href=”/”>
Hope it will help someone, I’ve made several tries to find the point to insert it.
Dan, maybe it would be helpful if you give instructions on how to resize the flash file appearance; when I did the first time the flash file was showed smaller than it was. I changed line 307 as you suggested to Mojitomaker and put the dimensions of my swf file and now it works.
Ciao
I’m receiving a 403 Forbidden error for the image urls, not sure why — any thoughts?
Thanks — great plugin
Really great work guys…I’ve been trying different solutions to this problem all night and this was definitely the simplest to implement (although I’m sure my trial & error did help!) Hopefully I can get the flash headers working next..!
Hi – I have version 1.8. I’ve uploaded the files, and can see them in the header-images directory, and also in the manage images area in the Headers section. But when I go to a page to add the header, none show up in the dropdown. I only get -no image- or -default image- (which both work). What am I doing wrong?
Help,
I’m trying to use your plug-in,
I can upload files, but they never show when I try to choose them on the selector drop-down when editing pages. I have changed the permissions on the header-images folder to 777.
I have deactivated, and installed the newest version with no change.
Thanks,
Chris
Fantastic work! I love the plugin! For some reason my .swf header doesn’t show in safari, I haven’t tried ie, but firefox works great. I’m not much of a coder – maybe I am missing code somewhere. Any tips would be awesome!
Version 1.9 fixed the problem – I now see the images in the drop-down. Thank you – you guys rock, and the plugin is extremely useful!
OK, one more: I use the Manage Files page to add a new URL to an image, and I select “Same Window” in the New Link Target dropdown. Then when I look at the page created, clicking on the image launches a new window, not the same window. I look at the code generated, and it has “” Looks like the wrong dropdown is populating the target? Thanks in advance for addressing!
The link in my last post got turned into a real link. It’s
> a target=”/contact/” href=”/contact/” <
Hi,
I upgraded to version 2.9 and all my problems went away, well at least all my problems with dynamic headers.
Thanks
Chris
My header image was made to be used without a boarder http://www.annmariedavis.net.
how do I remove it from my blog header?
Hi
Thank you for the plugin. I have activated the plugin and it works fine but when i edit the page, the default selection is “Default media header” wherein, it should be what I had selected. However the header on the page is what I have selected but that is not what it shows in the edit page. Any help will be highly appreciated.
Jimmy
Hello there. I am a newbie to WP, themes, plugins, etc. I am amazed at all of the cool and amazing stuff that is out there.
Thank you for the dynamic header plugin. I wanted to know how I can align my header to the left of my pages. Like I said, I am a newbie
Thanks!
Hi guys,
Thanks for the great plugin — good solution to a common need. I downloaded it a couple of days ago, but it would only work on the blog (index) and the pages, but not in individual posts.
I just upgraded to version 2.9 in an attempt to fix this, but now the header only shows up on the blog page, and on the pages/single posts nothing displays. It should be pulling from the default image, but doesn’t seem to be able to find it. Any suggestions on a fix?
thanks,
-Adam
@Adam
Note there is both a Default Header and a Default Blog Header, both need to be set in order to work across the site.
Also if you upgraded, you may need to set your defaults again since the directory where the images are stored changed from earlier versions.
Try setting both your default header, and blog default header again and see if that helps.
Hi Dan,
Wow – quick response, thanks! I did this, but it didn’t work. The blog I’m working on is at Sheilacampbell.com
I moved all the files to the new header-images folder and re-selected them for both the blog and the default. I also tried re-naming the images and re-uploading in case it was a cache issue.
But the image only shows in the index page, not on any of the internal pages or single posts. Anything else I should try?
FYI I’ve implemented it via the basic in my header.php file.
@Adam
You may need to go back through your pages and posts and make sure they are set to use the Default Header. If you upgraded from an earlier version they could be set to nothing instead of default.
Also, please contact us at plugins [at] nicasiodesign.com if you would like quote for us to take a look at fix the issue.
Aha, that fixed it. Thanks, Dan!
@Otto
Sent you an email. You will need to use CSS in order to change the alignment on your image.
@Adam
Glad I could help.
Dynamic Headers had great promise but I can’t use it yet. I need to be able to resize my client’s flash image from 266px high to 168px and align it to the left so that other images can be placed in the header to the right. Using Firebug, I can manually edit the embed code that Dynamic Headers creates and the result is exactly what I need. Unfortunately, I have no way to access these settings in advance so I’m looking forward to a future upgrade than will permit these changes.
BTW, the previous setting for the “Header Image for This Page” is not retained when you return to a page. This is quite confusing.
I appreciate your work on this.
Can someone show an example of what this plugin does?
Has anyone figured out the location to put in Atahualpa Theme so I can replace the header image? I can get it at the top of the screen and in the body, but no place else.
Thanks!
Hi -
Man I’d love to make this work with our theme and I’m oh so close.
I have the folder all set-up, settings done. I removed the header bg image from the CSS file so no other image will load in the header, and I finally found the place to put the code snippet in order for the dynamic header to go right where the header image is (and not a little above it or below it).
But – when I do, the blog name and description (both text overlays – over the header image) dissapear.
In the header.php file – the blog name/description (text) are just in the next so I tried moving that section up one, right below the dynamic header code snippet, but alas that doesn’t work. Everything moves us incorrectly.
Is there a way I can show you this issue? I could send you the code if you have a sec to look. I feel like it might just be a tweak…
FYI we use Zinamg Remedy 2.0 theme
Thanks for the help.
-m
Dear Dan,
This plugin is really cool, but I am having a little problem when trying to apply it: it displays both the original header and the new header..
I am using the kubrick theme,and tried already to place the code in various places in the header.php, and though this moves the dynamic header around a bit, it never stops to display them both..
I’m quite a newbie, so could you pleas tell me what I am doing wrong?
thanks so much in advance,
kind regards, Oo
@Dan
Hi Dan
can you send me the same email you send Otto?, I have the same problem
nice plugin
Tom
Your plugin makes life easier. Thank you. but is there anyway for this to work on the categories portion of the site?
Hi
Thank you for the plugin. I have activated the plugin and it works fine but when i edit the page, the default selection is “Default media header” wherein, it should be what I had selected. However the header on the page is what I have selected but that is not what it shows in the edit page. Any help will be highly appreciated.This is the second time, I am making a request here.
Jimmy
Dynamic Headers is now WPMU and WP 2.8 compatible.
Hello. What a great plugin, thanks for sharing.
I have it working at http://thefashionfind.com/wordpress/?page_id=13 but as you can see each header is off by like 10px. I’ve played with CSS but can’t get them to move. Can you help? Thank you in advance.
Greg
Hi, Great plugin
Someone asked about how to incorporate it into the Atahualpa 3.3.3 theme. Here’s how on their forum:
http://forum.bytesforall.com/showpost.php?p=7895&postcount=11
The good thing is you can place it anywhere above or below the menus/logo etc as it’s controlled by %bar1. Also the flash or images can be different heights – basically whatever you upload.
Only problem I’ve found is that the menu for selecting which image/swf goes on the page doesn’t remember what you selected (seems Jimmy above has this problem too) – so next time you update the page it goes back to the default image unless you change it. (Is this a bug? I’m using v3.1)
Hi…
My English so bad…
that I was made translation your plugin Dynamic Headline 3.0 in Russian
One its advice:
the code record GetText (http://en.wikipedia.org/wiki/Gettext)
will in the future be a translation easy…
Where do I put I have no clue and I have read all the posts here!! Please help
Hi there, great plugin, but I am having trouble with swf-files. I am using v3.1 on WP v2.8 and when I go to the specific page with the uploaded swf-header it shows: Warning: failed to open stream HTTP request failed, Authorization Required in…. custom-header.php on line 369
Works fine with jpg though.
Thanks for any advice.
After I activate the plugin, an error message appears. My website will load properly, however, I cannot login to WordPress admin. This message always appears when I try to login:
Fatal error: Call to undefined function register_setting() in /home/fruity/public_html/wp-content/plugins/dynamic-headers/custom-header.php on line 267
I had to delete the plugin folder in order to access WordPress admin again. The version prior to 3.1 did not give me this error.
Hello
I’m having the same problem, worked fine before the upgrade, trying to change abs path but no joy yet
Hi ! Great plugin ..
a little Problem: If jou edit your page or an article .. the headerinformation will be lost .. you have go once more to “Header Image for This Page” an click it again ..
works fine .. jpg .. flash …
but
is there any way to save the page-header relation fix ??
Thanx an have a good time
Mike
Hi Dan
When I try to activate the plugin from the list, I get the following message:
Fatal error: Call to undefined function register_setting() in /home/feverp/public_html/wordpress/wp-content/plugins/dynamic-headers/custom-header.php on line 267
What can I do?
Thanks!
Regarding problems on 2.6 and lower with version 3.1: There is obviously a problem with the new version and 2.6 and below. This is related to the changes to make it 2.8+ and WPMU compatible. This will be fixed in the next release later this month. In the meantime, visit the plugin download page. On the right you will see a link called older versions, click on that and download and install the last version that was working with your blog.
Sorry for the inconvenience.
Hey,
Thanks for doing all this work on the plugin. I’m new at this, and using the kubrick theme. When I put an image using your header, it aligns to the left and just off the page. How do I go about centering or moving the header so its completely on the page? I’m assuming it has something to do with the CSS, but I’m not sure how to bring up the new header there.
Thank you for your time and whatever help you can provide,
Sean
Thanks for the great plugin! I searched for something like this some months ago and was disappointed that no one had written a plugin to set the header image per post. I plan to use your plugin on my travel blog.
I have some feature requests though. It would be cool if:
- one could give credits to the photographer (auther with link, license with link).
- one could change the Blog’s title and subtitle font color (if it overlays the image).
- one could specify external images (i.e. URL).
Keep on the great work! Greetings from Germany,
Jens
Hello,
Great plugin, exactly what I need:) however, I’d like to move this ads from the left to the right within header area. Any tip how to do that?
Thanks both for your reply and this lovely plugin,
Szilvi
Just to make it clear, I’d like to use standard blog header at one side, and additionnally this ads on the right side at the same time. Is it possible?
Hey Dan,
first of all: Thanks and good work!
A little “bug” which caused after installation. In the admin menu, if I have assigned a header to a page. After saving, the select field didn’t showed me my previously saved selection. My mysql tables are starting with “cm_”.
// custom-header.php, function create_ch_form
$media_file = $wpdb->get_var(“SELECT url FROM wp_custom_headers WHERE post_id=’$this_id’ LIMIT 1″);
So an addional query of the users table prefix will help.
HTH! Thommy
I CAN’T FIGURE OUT HOW TO GET RID OF THIS ERROR MESSAGE WHEN I ADD THIS LINE TO MY HEADER.PHP:
Warning: getimagesize(): URL file-access is disabled in the server configuration in /home/content/h/e/a/hearttones/html/main/wp-content/plugins/dynamic-headers/custom-header.php on line 369
Warning: getimagesize(http://hearttones.com/main/wp-content/header-images/banner.swf): failed to open stream: no suitable wrapper could be found in /home/content/h/e/a/hearttones/html/main/wp-content/plugins/dynamic-headers/custom-header.php on line 369
> Heart Tones – Inspiring Hearts! Encouraging Souls!
Just another WordPress weblog
I AM USING THE BLEND1.5 THEME. . .UNFORTUNATELY I’M NOT A PRO WITH THE CODING STUFF SO ANY AND EVERY PIECE OF HELP WILL BE GREATLY APPRECIATED!
When I try to ‘Save Changes’, I am taking to /wp-admin/options.php, with the message “Error! Options page not found.”
why ? anyway to solve?
Good! settled! thank guys!
It would be nice to be able to associate headers to categories instead of posts.
Thorsten
ERROR: Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /usr/www/users/……/wp/wp-content/plugins/dynamic-headers/custom-header.php on line 383
Warning: getimagesize(http://www.mcquaystables.com/wp/wp-content/header-images/button_for_mcquay.swf) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /usr/www/users/……/wp/wp-content/plugins/dynamic-headers/custom-header.php on line 383
Is there a way to fix the getimagesize error on line 383?
Hi,
Everything is working fine with the plug-in except that when I upload an image for the header, it gets assigned the home address (which is fine) but it gets assigned twice : http://www.mariajacobowww.mariajacobo. So whenever you click on the header I get a page telling me that the page doesn’t exist. I have tried looking where the problem is, but I cant find anything. Any suggestions to get it to link to the right page?
Cheers
Hi,
just want to say its a really nice plugin and very usefull.
I´am trying to get it to show an .html (slideshow+javascript). could this be done, so that instead of an image or flash it would also be posible to load a dynamic slideshow for each post… or would be to complex?
thanx in advance
Hi, thank you for the excellent plugin!
I’m trying to modify the default theme to accommodate the dynamic headers plugin but I’m not being very successful. In what file should I drop the code to make it work?
Thank you,
Dinis
Hi,
What is the best way to make the header image a link back to the homepage, using your plugin.
Thanks,
Tom
For all those getting the getimagesize() error, you will need to speak with your server admin or hosting company and get them to enable URL file access of your server.
For all those with positioning issues: these are CSS issues. You will need to modify the CSS of your theme’s header if your image is not displaying correctly. There is no way for us to control this on the plugin side.
@Tom: You could simply set the link for the images to your homepage URL
I updated to version 3.4.2 and swf headers stopped working! It looks like there is a possible typo, an extra slash, in the code.
embed src=”/http://
Hi,
I’m having problems trying to get this plugin to work.
I have set the default and blog header images correctly in the settings.
I’m using the Thesis theme, and have put the line below into my header.php, as per the 2nd option in your instructions…
I have then put the following line into my custom.css file…
.custom #header {background: url($dynamic_header_url) no-repeat; height: 170px; width: 900px; padding-bottom:0}
However, when refreshing my page, there is just a blank where the header is meant to be.
Checking the page via Firebug, the correct div and corresponding entry in the custom.css file is being referenced, however it’s almost as if the $dynamic_header_url variable is not returning the image url correctly.
If I use your recommended 1st option, the correct header shows but is located incorrectly on the page. I was assuming the only way to modify the image location was to use the second option and make the relevant changes in the custom.css file.
Is there something I’m missing?
I would be grateful for any help as this is literally the only plugin I can find that provides the functionality I’m after.
Andrew.
The previous post seems to have cut out the line I placed into the header.php. Trying again with quotes…
Hi,
I’m having problems trying to get this plugin to work.
I have set the default and blog header images correctly in the settings.
I’m using the Thesis theme, and have put the line below into my header.php, as per the 2nd option in your instructions…
”
I have then put the following line into my custom.css file…
.custom #header {background: url($dynamic_header_url) no-repeat; height: 170px; width: 900px; padding-bottom:0}
However, when refreshing my page, there is just a gap where the header is meant to be.
Checking the page via Firebug, the correct div and corresponding entry in the custom.css file is being referenced.
It’s almost as if the $dynamic_header_url variable is not working correctly.
If I use your recommended 1st option, the correct header shows but is located incorrectly on the page. I was assuming the only way to modify the image location was to use the second option and make the relevant changed in the custom.css file.
Is there something I’m missing?
Dan,
The dynamic headers plugin is great, but it resizes any flash movie i try to integrate. Is there a way of fixing this? Thanks
Matt
Thanks Dan! Working fine now. Excellent plugin!
Hi
I love this plug in.
On the pages where I want NO header image, is it possible to remove the blank space left by having no header image?
Currently I have an image on the home page of the site Im working on, but pages where I have no header have inches of blank screen above the post. Is there a fix for this?
once again, thanks
Hi
I love this plug in.
On the pages where I want NO header image, is it possible to remove the blank space left by having no header image?
Currently I have an image on the home page of the site Im working on, but pages where I have no header have inches of blank screen above the post. Is there a fix for this?
once again, thanks
line 127 custom-header.php
add_menu_page('Headers', 'Headers', 8, __FILE__, 'dhnd_main_menu', '/wp-content/plugins/dynamic-headers/images/custom_header_icon.png');does not resovle the admin icon.png properly for wordpress installs in a subdirectory
Great looking plugin, time to have a play and see what it can do. Before I do that can anyone point me to a good example of a blog using ‘Dynamic Headers’ so I can see it in action on a live site?
This plugin rocks! Took me the whole night to find this, but it is exactly what i was looking for. I am using Artisteer to develop my theme basics and doing some coding to customize it a bit more – this was the bomb!
If anyone else is using Artisteer, you can add the code as such:
Open header.php, and find this at the bottom of the source code:
…edit it to look like this:
I am in the process of putting up a new site and purchased the Flexxtheme from iThemes. I’m interested in this plugin to allow me to set unique images on each page.
I can’t seem to get it working correctly. It pulls up the image but throws off the layout of other elements. The code that pulls up the header image is:
<div class="” id=”container”>
<a href="”>
<img src="get_random_image(); ?>” alt=”Header Image” />
<img src="get_random_image(); ?>” alt=”Header Image” />
<a href="”>
I’ve moified it to :
<div class="” id=”container”>
Cann anybody tell me what I’m doing wrong?
Thanks
I have Super-Cache installed on my website and was wondering if there was a way to not cache the dynamic header?
Thanks!
Marina
Hi All,
It seems most of the issues being reported are CSS related issues. These all seem to be very minor, but due to the large number of themes there is simply no way for us to account for all the different CSS methods used to setup a header. The possible CSS configurations are literally infinite. Your best bet to get your header to look just the way you want is to edit your theme’s CSS file. This obviously requires some CSS knowledge, and you should ALWAYS backup any files before editing. There are a ton of CSS tutorials out there that can help you find the information you need.
-Dan
Dynamic headers is working fine on IE but not on firefox 3. The swf is not shown in original size and far to small. Any ideas how to fix it?
Thanks in advance
This plug-in is going to solve some header image issues for me as soon as “Simply drop the this line of code into your theme file” is explained a bit more. Specifically, where in the header.php file will I put “” to knock out the old header image for the dynamic one?
I am using a Kubrick theme for testing. Any help would be much appreciated.
Thanks
Hi
Thanks for the plugin – it should save a huge amount of work except I can’t get it working!
Could you take a look at the above site and tell me how to fix it please? The error I’m getting is:
Warning: getimagesize(/home/paul-scott/web/wordpress//wp-content/plugins/dynamic-headers/header-images/hat.swf) [function.getimagesize]: failed to open stream: No such file or directory in /home/paul-scott/web/wordpress/wp-content/plugins/dynamic-headers/custom-header.php on line 375
Thanks
Rich
I am so happy to use this plugin. but will it sustain if WP version gets upgraded. what about WP 2.9??? I don’t want to run into trouble, tho’ I love using it.
Hi Dan,
Great theme! I love it!
I’m just having a bit of a problem with your theme on a site of mine – it works on the Pages, but on the blog posts the header messing up the page layout (see: http://wholeiam.rachelbeaney.com/2009/08/1st-yoga-colours-e-book/)
I’ve only put the ?php show_media_header(); ? line of code in the header.php, nowhere else.
I’ve also turned the Blog Page Header option to ‘No Default Header’ and the header image is still present. This option also removes the header from the main page.
When I turn off the Page Header option to ‘No Default Header’, the header is removed from the Blog Pages.
Any ideas?
Cheers,
Rach.
Love this plugin! Thanks so much. saved me hours of programming. Now to have a background color change with each page. That would be cool. Just CSS color change that can be done via admin.
I have a problem updating the pluguing and activate I get the following error: Parse error: syntax error, unexpected T_STRING in / home / akinotic / public_html / wp-content / plugins / dynamic-headers / custom-header.php on line 128
and not to do to resolve it if they can help you.
Hi,
I just updated to the version of your Dynamic Header (3.4.6) and am now getting an error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /home/stmatts/public_html/wp-content/plugins/dynamic-headers/custom-header.php on line 128
As a result my site is broken. Any ideas what I can do?
Thanks
JB
Is there any way to set a default header image on a per category basis?
While I love the ability to change the header on an individual post, for the most part, I would prefer the ability to set a default header image on a category basis, where I could then override the image on a per post basis should I need to.
Is this possible?
This may well be a great plugin if we could see it in action? I am using default theme but I would like to have my logo placed in the left side of the blue header (superimposed) or replace the header with my image, but nomatter what I try it is an exercise in futility??
It could be that this is not what this plugin is supposed to do?
Hope there is someone who will enlighten me?
Thank you
dave
get_media_header_url() is not returning a full path for me.
For example: I only get “header_home.png” as opposed to “http://www.website.com/wp-content/header-images/header_home.png”
I’m having to use:
, instead of what’s in the docs.
It works, but it’s ugly. I have to do things this way so I can set the header image as a background through embedded CSS, because this particular theme places text over the image.
Any ideas on why I’m not getting the full path with this function?
Thanks for this free, useful plugin, by the way. Don’t wanna be one of those people who chimes in just to say it doesn’t work right, without acknowledging all the work that was put into it in the first place.
I’m able to work around the problem as described above, I was just wondering if I might have messed up somewhere in order for it to be doing that.
Hi,
first : thanks for your plugin, it’s very cool !
I have a question, when im in admin panel with an editor acces I cant view the plugin in the left menu.
It’s a bug of my installation ?
It’s normal ?
It’s possible to fix that ?
Thanks for your help
How can I have my image show up as the background image in my header?
I’ve tried using the background image url for #header as $dynamic_header_url but that doesn’t seem to work.
I know you’ve responded to similar questions in the past by saying to look for CSS tutorials, but I’ve done plenty of research and found nothing. Please let me know any method I could possibly use to accomplish this.
Dan or Chris: How do I get rid of the old header photo? Everything else works fine but the old photo remains right next to the new photo.
Very nice plugin, thank you. I have a couple questions:
1. I’m getting a solid dark blue border around my header image. Do you know how I would get rid of it?
2. Thinking that it might be caused by the anchor tag, I tried to remove the link URL from the image by updating the file and leaving the ‘New Link URL’ field blank, but this gets ignored. How do I remove it?
Ok, in looking through your code, I determined that you are using the wp_options table to track the links, alt, etc. So it appears that the code isn’t cleaning up the wp_options table when a header is deleted (add this to your todo list
I deleted the dhnd_…_link entry and the link is gone. This also removes the blue border I was trying to eliminate (so I know now my problem is with the anchor CSS and not the image).
Thanks for a very useful plugin.
Hi there
I hope to use this function for my pages, not my posts. But I can’t save the image selection. I select it, I click on update, and then it goes back to — Default Media Header –. Is there a way to fix this?
It would be awesome.
Wont setting the permissions to 777 be potentially harmful if some evil hacker finds out? I mean it’s no secret where the folder is located.
Thanks for a great, soon also working here, plugin!
Hello again
Had some trouble getting this thing work. Selecting an image and then saving/publishing had no effect.
I checked through the code and discovered that for some reason, the sql table named [your-own-prefix]custom_headers wasn’t created. After creating it it all worked like a charm. Thanks.
Hi there,
is there a possibilty to adjust the size of the flash-movie:
Another question: how can I display a .jpg-file if flash is not installed?
The last question: the flash movie will be loaded from the beginning after I click to a sub-page. Is it possible to laod this movie only once?
Thanks
Joachim
Hi, sorry, Otto asked this question earlier, the header is aligned to the left, how do I change the alignment to center?
Thank you!
I’ve seen this great plugin work great on other wp sites.
Im having one small problem, i’ve added the php script (option 1) to my header.php template file but for some reason my page is displaying both the dynamic and the default headers on top of one another.
Any help would be great,
Thanks is advance
I am wondering, how to use Dynamic Headers with the Artisteer theme builder for Wordpress. Directions For Use of this plugin are only for default WordPress theme, because the Artisteer theme file head.php looks quite different as Default theme. Please, help!
thanks for the great plugin
what about upgrades for wordpress 2.9.1???
Hi Everyone,
Quick Note: ALWAYS make a backup of your theme files before making any changes to them. Especially if you are new to theme editing.
For those that are having trouble getting the image to appear in exactly the right place, are seeing 2 header images, or are seeing a border around the image – these are all CSS related issues.
If you are seeing 2 headers, you will need to create an inline style in the Head section of your header.php file (or whichever file your particular theme uses to control the header) that replaces the CSS code in your theme’s stylesheet for the header image. You will need to use the $dynamic_header_url = dh_get_page_image_url(); function, and use the $dynamic_header_url variable in your style code that you create in the header. Unfortunately, due to the fact that almost every theme has its own custom CSS, it isn’t possible to come up with a cookie cutter solution for implementing this plugin as the procedure is going to be slightly different on each theme.
If your header position is off, or you are seeing a border around the image, these are also CSS related issues that can vary greatly from theme to theme. You will need to track these issues down in your theme’s CSS file (make a backup first!).
http://www.w3schools.com/css/default.asp
is a great place to start learning the basics of CSS.
I hope this helps some people get a step in the right direction for implementing Dynamic Headers across more and more themes.
Also, look for an update to Dynamic Headers this week which will fix many of the small bugs with the plugin, further ensure compatibility with future versions of WordPress, and increase plugin performance.
@QueenEve – Yes Dynamic Headers has been verified to work with 2.9.1 (checkout the new compatibility meter on the WordPress plugin pages). I will be updating the listed version compatibility this week when we release the latest version of Dynamic Headers.
-Dan
hi, nicasio
re: getimagesize() [function.getimagesize]: ERROR MESSAGE
love the plugin!! however, i’m getting conflicting messages regarding security. my hosting company does not recommend we “enable URL file access of your server” because it opens our wp install to injection attacks.
i posted on wordpress.org here: http://wordpress.org/support/topic/306757?replies=3#post-1349284
what are your thoughts?
Just found your plugin via google.
I had a few suggestions if you don’t mind.
For those of us that use wordpress-mu this will not seem to be a valid option as the header images are all saved in the same directory. Meaning blog#1 would see the header choices in their dropdown from blog#2 as well as their own.
May I suggest that you store the header images in the /wp-content/blogs.dir/blogid#/files directory? (same place that wp-gallery stores images). I’m guessing it would be a simple code change but have not yet looked.
besides, as of wp 3.0 we’ll all be using mu anyhow, so might as well get out ahead of the curve on this one.
second:
How about calling the wp-gallery script itself for uploading new images? This would keep the user seeing a familiar interface.
third:
How about default category images?
Is there any thought to adding a function to the category admin page, where a user could then select a default image for the category so that the user does not have to input a custom field on every post for the given category?
Hi:
Nicasio, thanks for the great plugin!!! It is great!!!
Some solutions
For those that are having trouble getting the image to appear in exactly the right place, are seeing 2 header images, or are seeing a border around the image… I find a solution for swf files.
You just got to rewrite some code on custom_header.php puglin.
You got to use plugin editor en wp and choose custom header file.
First find:
Then write how many pix got for width and height your file. For example:
Second find:
<embed src="” wmode=”transparent” quality=”high” bgcolor=”#ffffff” width=”" height=”" name=”mediaHeader” align=”middle” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
Then write again how many pix got for width and height your *.swf file. For example:
<embed src="” wmode=”transparent” quality=”high” bgcolor=”#ffffff” width=”600″ height=”100″ name=”mediaHeader” align=”middle” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
Thanks
Claudio
Instaling wordpress in local user (macosx) causes a bug and pages do not load hedaer images.
Also don’t work the links to “upload” … etc.
When it would be:
http://macintosh.local/~myusername/wordpress/wp-admin/admin.php?page=dhnd_add_menu
it swhows:
http://macintosh.local/wp-admin/admin.php?page=dhnd_add_menu
Seems to be the plugin don’t recognises the home directory?
????
(sorry for my bad english)
Hi,
I can’t get this plugin to run correctly. As soon as I put the PHP Code in may header the hole desing gets messed up. The Title an discription move unter the header picture …..
Would be nice to get this running !
THX Bastian
Great plugin. Really like your work. One question though. How can I display a .jpg-file if flash is not installed?
Hi guys, thanks you so much for this great & useful plugin.
I found out one useful function for me to add: the possibility to give the img-file the attribute to equip the image with a little more funktion. Anyway i managed to ad one more field inside the “manage files”-admin section and modified the other plugin-files to save the given attribute(value) with the file …and this for me makes your plugin even more irreplaceable.
So what do you think of this function to integrate into the plugin’s future release so other bloggers outside there could use it too?
Again… thank you very much.
the attribute “map” (it just disappeared)
Hi, Nicasio,
i see you guys updated the plugin. i no longer have the error message i used to receive.
i’m using it for another site now, utilizing the DODO theme. here is a production version of that site: http://project.bucktowndigital.com
i have followed the plugin instructions for Option 1 (Recommended). It’s not working.
i also tried Option 2, but was unable to figure it out.
here is what the header code looks like in my “header.php” file… can you recommend a solution?
Big Bricks
Bricks on the Run
<li>
i really appreciate your help. thanks.
Hi,
Is it possible to have a dynamic header image but still keep the blog title (and associated link back to the homepage?
Thanks!
hi, I’m working with your plugin, changing the default theme. I make a new theme, with one image for the home, and other for the default pages, I tested all at my machine apache server, and when I know all works fine, I uploaded to the server, I started activating your plugin, and it seems that don´t give me an error, but when I go to the configuration plugin pages on wp-admin, all the pages are blank, it seem that are empty, the browsers don’t show any error, I don’t know if is a server configuration mistake or any permisions error, I give 777 for al the plugin folder…. can you suggest somethin? I’m lost
thanks
Awesome work sir – saved me a lot of hand coding.
)
Very best
John
Hi Guys,
great plugin. I am using it on one of my Blog sites.
In total I use 10 different headers and I would like to have a group of 4 random headers just for my home page. Is this possible ?
thx
Wilbert
Hi, I want to add this plugin to a wordpress theme called atahualpa. I try to replace the existing header code with dynamic headers code, but the page just breaks with php errors. Any help would be great, if you need more info as well, just let me know.
Thanks,
Josh
Great plugin – many thanks
I wanted to have the header image as a background using css. I got it working and thought I’d post this in case it helps someone else. This is what I did in my header.php
<div id="media" style="background: url('’) no-repeat; “>
Sorry code disappeared in the last comment. I hope this works:
[code]
<div id="media" style="background: url('') no-repeat; ">
[/code]
Hey
Dynamic headers only work with my parent pages, not the children pages. They are just blank… How do I solve this?
(works like a charm on my other wordpress sites…
Thanks for a great plugin!
is there any way to config headers for category, subcategory, and all pages inside them?
thank you
On WP 2.9.2 and Tarski theme there seems to be a conflict with pluggable.php concerning header location.
This is the error message:
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/…/org/wp-content/plugins/dynamic-headers.php:1) in /www/htdocs/…/org/wp-includes/pluggable.php on line 868
Hi Dan,
I just went in and noticed that in FF it appears that the plug in has stopped working suddenly! Everything was working fine as of yesterday PM, but when I checked some of my pages this AM, I noticed that the header was missing on the pages beyond the homepage. I went into the settings for your plug in, tweaked a couple of things to see if that helped, and now all headers are gone in FF.
Everything is working fine in IE, but when you goto my site in FF, the plug in is failing to render my header image.
Can you please take a look at my site and let me know if there’s something I’m missing?
Thanks,
Zezo One
Editor-In-Chief
BasslineRumble.com
Hello
I am unable to make this work on my site carcyclopedia.in despite on latest versions of both wordpress and the plugin. Can you please have a look at my site http://carcyclopedia.in . This is the code that it renders
AC_FL_RunContent = 0;Hello
Does this plugin works smoothly on 2.9.2 . I had this smoothly functioning on a 2.9.1 version of wordpress @ http://www.sober.ws but doesn’t even show up on a 2.9.2 version on the same theme . Any help will be immensely appreciated.
Hi guys, great plugin!!!
I’d like to display the image as a background-image, so i can still put some text on it. I’m quite sure, there has to be a way using option 2, but since i don’t know anything about php, i’d be greatful for some help.
Thank You
Paul
i have installed the plugin and activated it successfully n also created folder header-images in wp-content but still im ggetting error :
“It looks like wp-content/header-images/ is not writable or does not exist.
You will need to create this directory make this directory writable in order for the plugin to work.”
i have tested it on another website it worked there fine but on original website i get error. please reply with a quick nice solution. thanks in advance
Hi,
first of all thanks for this great plugin. It works fine, but nevertheless i have a little problem: Unfortunately the new header images are not vertically congruent to the Default header provided by the theme. They are all lifted a little bit. Any solution??
Thanks
Hi there,
Love the plug in. Just what I needed. One really small annoyance which I hope you can help me with – the plug-in leaves a 5-ish pixel gap between the end of the header and the rest of the website.
Is there anyway to get rid of the gap? It’s really small but fixing this will make it perfect.
Thanks for all your work, Chris
Should this work on post pages as well as pages? It seems we’re losing the header on the Post page on this site and one other. Perhaps we have the code entered incorrectly?
Hi..
Thank you for a great plugin
Just one question though – Is there any way to not show the filename of the header when the mouse is hovering over the header..??
Kind regards
Uffe
I used your plugin with 2.8.5 and had no issues at all. I want to insert my own header in 2.9.2 but when I insert the code and direct to my file the header always appears below where it should be. Any suggestions? Great plugin, just wish my newbie wordpress brain can git it to work!
Can we input straight HTML into this? I would like to create headers like the one in my site in the link above. A site wide header that actually FITS in the fold of the page on WP. I have tried doing in wordpress manually before, but I can never really get the formatting and size and stuff the way I want it and so that it actually looks good. I hope this this plugin can save the day.. and a lot of time in the future.
Only one way to find out I guess… I’ll give it a test on an empty site. Screenshots of the end results would be a great idea though
Im going to remake the site above in wordpress if this works so its easier for me to update! Thanks for plugin…
@anyone having alignment, etc issues: The default function only prints out an image directly where you add it. This may or may not look correct on your site depending on what theme you are using. If it doesn’t look right you may need to use Option 2 in order to get the URL of the media for that particular page and use that URL to generate some dynamic CSS to use your header as a background image. You’re gonna have to have some CSS and PHP knowledge to do this. I wish we could help each person that is having alignment and styling issues, but we get several requests per day for support with the plugin and almost all are CSS related. We simply don’t have the time to look through every theme and find out exactly how to integrate the Dynamic Header functions. The intgration could be completely different for 2 different themes. This plugin was originally made for developers to use and we tried to expand it to be a little more user friendly to your average user, but some development knowledge may be required.
@les – did you add the code to your header file in your theme? Or did you add it somewhere else such as index or page? The logic for putting it in header is that the header file is included on each page.
It’s also possible that your theme might have multiple headers for different areas of the site. If this is the case you will need to add the code to each one.
@Uffe – when you add the header file in the admin you can set the Alt text for that file which will allow you to change the mouseover text.
You can also do this under Manage Files
@wb – you will need to make that directory writable by the server. You can do this through FTP, SSH, or sometimes through your hosts control panel. Run a Google search for making directories writable to more information.
@Zezo One – sounds like a CSS issue. Cross browser compliance issues are almost always caused by CSS issues.
Hi Guys,
Great plugin just one quick question. When I load a page it seems to flash white before loading the css and content. It`s a little distracting from the design. Just wondering if anyone else is having this issue? I am using the atahualpa theme.
Thanks!
I have included the dynamic header plugin on a test site, and it does exactly what I would like it to do, with one exception – all text sits under the replaced header or the running head sits below the new header. Would this be to do with my Wordpress Theme or the position of the code.
I have tried to place it in different positions in the header file but no good results.
The site in question is: http://www.melbourncambridge.co.uk/test/
the results should like the main site: http://www.melbourncambridge.co.uk
Any advice would be greatly appreciated.
i love this plug in and have been using it to have a rotating front page image in the wpfolio theme for my new website:
http://www.rebeccacarter.org/wordpress
in safari, everything works great. on explorer, i’m getting blue boxes around my front page images. i don’t want to unlink the images (which link to the related project posts).
is there some other way to make that blue border disappear? please help.
thank you.
Hi
Am having same problem as Jonas but can’t seem to see a response to his question – the plugin works great on parent pages but not on any children pages. Am I missing some setting somewhere?
Thanks for all your time and help on this plugin.
Really love your plugin, the only I am missing is a popup window (could also be dhtml!) as Link Target!
Great plugin – many thanks.
Is there any way of giving editors access to it in admin – not just administrators?
Many thanks
Hello,
First of all, THANK YOU for this plugin. Been trying to do this for a month now. Beautiful work.
Now. Is there a way I can limit the random images. Here is what I want to do:
I want to set a specific image for every page except one page, on that one page I would like to have several images that are randomly selected. The catch being I don’t want any of the other page’s images coming up.
Any help would be greatly appreciated.
Thank you in advance,
Colin
Hi there,
First of all, as many others have said, great plugin.
Obviously many people having a few teething problems. I’m having one of my own.
I’m having no problem placing a header image on posts that have been created. All of this works fine, a’la:
http://www.atypicaltypea.com/?p=39
However, what I want to do, is to have separate unique headers for any posts on the index.php. I’ve tried adding the code in the right spot (Option 1) in the index but it doesn’t show up. I read about there being some difficulty with Archive and Main pages, but I’m not sure if that’s what the problem is.
I’ve got a theme called Stheme, and a plugin called Custom Taxonomies to categorise different posts. I want to be able to have these categorised posts on my main page with a header unique to each category/taxonomy. Even if I have to do a bunch of coding, can someone explain how to do this?
Thanks,
Akimbo
I am a a newbie to WP and this plugin; I downloaded it, activated it, am following the instructions. I downloaded my image files to the WP-content/plugins/dynamicheader/header-images file, and made sure they were writable; I am still getting the message they are not writable or do not exist.
Do i need to create a new patch to be WP-content/header-images or am I doing things right?
thanks for the help.
I have found the header.php file and code that is instructed in your procedure step #5; but even with trial and error, I get the header to go to the top of the wrapper area, not in the header area. I am using Headway Theme, but I don’t know php, so how can someone tell where to insert the code you recommend in Option 1???? so that it lines up with the existing header area. I know that the graphic is the same size.
Any help is appreciated.
Is there a screen shot anywhere of this? Not the back end, the front. Why is it not here? Thank you.
Hi
i have installed dynamic headers, but when i click on add new file page i get the message “wp-admin/admin.php was not found on this server”
I have word press installed in the blog directory at the root of my host server
any ideas
Hi,
How can I exclude the Dynamic Headers plugin from showing a header in a specific directory (i.e., /portfolio/)?
Here is the code I have in my theme:
ID,’top_image’,true); ?>
Thanks,
Josh
theme=K2:
After I paste my Option One code into header.php, the new (/wp-content/header-images) image appears but it does not replace the image in the header. It appears above or below the original header depending on where I paste it.. The original header has the blog title/tagline. The dynamic header image is just the photo. Any idea how to correct?
For Kubrick users, possibly answered elsewhere or by trial & error: the question has been where to put the line of d-h code in the header.php file?
A. below is what worked for me – these are the very last lines of my Kubrick header.php
B. my new question is that as the code below stops the header from being clickable how can I restore clickability to the header image(s)?
Thanks
Phil
My d-h code snippet may have vanished; try again :- replace | with
|body|
|div id=”page”|
|div id=”header”|
|?phpphpphp if(function_exists(’show_media_header’)){ show_media_header(); } ?|
|div id=”headerimg” title=”Title text goes here” onclick=”location.href=’http://www.mydomain.org’;” style=”cursor:pointer;” title=”Title text goes here”|
|/div|
|/div|
|hr /|
Hello thank you very much for this excellent plugin, I propose the following addition:
Save the contents into a variable to return.
it easier to integrate in some themes like Atahualpa for example:
———————————————————-
———————————————————-
function load_media_header(){
global $dhnd_image_url_base;
global $post;
$post_id = $post->ID;
//Declare the wpdb var and table name and run the query to see if there is a media object associated with this post
global $wpdb;
$table_name = $wpdb->prefix . “custom_headers”;
$check_q = $wpdb->get_row(“SELECT * FROM $table_name WHERE post_id=’$post_id’ AND header_type=’media’ LIMIT 1″);
$resultado=”; //NEW VARIABLE
//This large chunk of code determines what page we are on and whether to load a fixed or random header.
if(!is_home()){
if($check_q->url == ‘Default’ || $check_q->url == ”) {
$initial_file_value = get_option(‘dhnd_default’);
} else {
$initial_file_value = $check_q->url;
}
} else {
$initial_file_value = get_option(‘dhnd_homepage’);
}
$load_this_media = process_media_header($initial_file_value);
if($load_this_media != ‘None’ && $load_this_media != “”){
$file_array = explode(“.”, $load_this_media);
//Get the filetype
$filetype = end($file_array);
if($filetype != ’swf’){
if(get_option(‘dhnd_’.$load_this_media.’_alt’) == “”){
$dhnd_alt_tag = $load_this_media;
} else {
$dhnd_alt_tag = get_option(‘dhnd_’.$load_this_media.’_alt’);
}
if(get_option(‘dhnd_’.$load_this_media.’_link’) != “” && get_option(‘dhnd_’.$load_this_media.’_link’) != “http://”){
if(get_option(‘dhnd_’.$load_this_media.’_target’) != “” && get_option(‘dhnd_’.$load_this_media.’_link’) != “http://”){
$ch_target = ‘target=”‘.get_option(‘dhnd_’.$load_this_media.’_link’).’”‘;
} else {
$ch_target = “”;
}
$resultado.= ‘‘;
}
$resultado.= ”;
if(get_option(‘dhnd_’.$load_this_media.’_link’) != “” && get_option(‘dhnd_’.$load_this_media.’_link’) != “http://”){
$resultado.= ‘‘;
}
} else {
$swf_array = explode(“.”, $load_this_media);
$i = 0;
while($i < count($swf_array) – 1){
$swf_name .= $swf_array[$i];
$i++;
}
global $dhnd_image_dir;
$swf_path = $dhnd_image_dir.$load_this_media;
$swf_src = $dhnd_image_url_base.$load_this_media;
list($width, $height, $type, $attr) = getimagesize($swf_path);
$resultado.='
” name=”mediaHeader” align=”middle” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
‘;
}
}
unset($load_this_media);
return($resultado);
}
——————————————————————————————-
Atahualpha bfa_header_config.php line 274 aprox
——————————————————————————————-
// Header Image
if ( strpos($header_items,’%image’) !== FALSE ) {
$dynamic_header_url=’None’;
if(function_exists(‘dh_get_page_image_url’)){ $dynamic_header_url = dh_get_page_image_url();}
if($dynamic_header_url==’None’)
{
$bfa_header_images = bfa_rotating_header_images();
$header_image = ”;
$header_image .= ($bfa_ata['header_image_clickable'] == “Yes” ? ‘
‘ : ” );
if ( $bfa_ata['header_opacity_left'] != 0 AND $bfa_ata['header_opacity_left'] != ” ) {
$header_image .= ‘ ’;
}
if ( $bfa_ata['header_opacity_right'] != 0 AND $bfa_ata['header_opacity_right'] != ” ) {
$header_image .= ‘ ’;
}
// END: If Header Opacity
if ( $bfa_ata['overlay_blog_title'] == “Yes” OR $bfa_ata['overlay_blog_tagline'] == “Yes” ) {
$header_image .= ” .
( $bfa_ata['overlay_blog_title'] == “Yes” ? ‘‘ .
$bfa_ata['bloginfo_name'] . ‘‘ : ” ) . ( $bfa_ata['overlay_blog_tagline'] == “Yes” ? ” .
$bfa_ata['bloginfo_description'] . ” : ” ) . ”;
}
}
else //Modificacion para que reciba cabezote perzonalizado
{
$header_image = ”;
$header_image .= load_media_header();
}
$header_image .= ”;
}
Hello,
I am trying to remove the border around linked header images. They ONLY appear in Firefox. The only way I know to get rid of them is by using inline styling inside tag.
Can I achieve this by activating the Custom-Header/Custom.css file? I see it in the Plugin editor but it says it is inactive.
Any help on ridding the green box or activating the Custom CSS.
Thank you.
This plugin works very well, it’s so nice to be able to change the header for just about all my pages. For some reason I have to set the permissions for each image uploaded in order for it to display properly. I have the header-images directory set to 755, thus it’s writable. Am I supposed to do something else, too?
Thanks again for a great plugin!
Great plugin. .jpg headers display great on everything but Safari. Is there a way to force Dynamic Headers to display image at 100%?
Love this plugin and it’s working well except for one small thing.
On my search results page, it brings up the header image for whichever page the first search result is found on, not the default header image, as I would expect (and would like).
I can’t work out how to fix this, or where to specify that the header image for this page should be the default one. Any ideas?
Many Thanks
Great Plugin – Many thanks! Is there a way to stop the name of the image coming up when the cursor goes over the header? cheers again
Hi
I am using the Headway Theme and have followed the instructions but I am getting two headers one aligned correctly and one in the top left hand corner which looks like its outside of all the code. Has anyone got any idea why this should be happening?
I am finding that I have two headers one in the top left hand corner and the other rendered as I would like it. Is there any reason for this?
Thanks
I cannot thank you enough, I’ve wasted the last 6 days messing about with code trying acheive what this plugin does in minutes! I will happily bung a few dollars your way to say thanks…
Hi
When I deactivate the plugin my live site goes blank, is there any reason for this as I cannot move on and I need to take off the plugin?
Thanks
In reverse order:
@Keith: You need to remove the template tag from your theme before deactivating. You should always wrap custom template tags and functions in the
if (function_exists()) logic per the instructions to prevent this type of error.
@Ross: Glad we could help!
@Keith: This is a theme dependent issue. I am not sure how your theme is handling the header, but you need to disable that method first.
@Neal: You can customize what pops up by changing the alt text in the plugin admin
@Sarah: Your problem, along with a similar one on category archive pages is a known issue that we hope to fix in the next release.
@Doug: You would need to customize your theme’s CSS (backup first!) to make this happen and the process could vary depending on theme.
@Justin: Not sure what the issue is, havent encountered that one before. I have to think it’s something server specific though.
@Colin: There is a function for retrieving the URL in a PHP variable which you could then use in some custom CSS. This has been covered previously in these comments as well as on the WP message boards for the plugin. Check those sources out and I’m sure you can figure it out.
@Phil: Thanks for the suggestions, hopefully they’ll be able to help someone who is having the same problem
@Nowhere Man: Sounds like a theme specific issue. Try to find out how your theme is displaying the header and disable that method (backup first!!)
@Josh: Not really sure what you’re asking, but I think you could accomplish what you want by setting the header for specific pages where you don’t want one to None. You could also set the default site header to none and then only set it on pages/posts where you want it. If you are talking about customized posts based on category then the plugin cannot do this…yet (coming soon hopefully)
@jonathan: This sounds like an issue with your WP installation
@Fred: The use of this plugin can vary greatly on how it looks on the front end depending on theme
@BobN: These are CSS issues and will require some tweaking to your theme’s CSS file (backup first!!). It’s almost impossible to make a plugin like this plug and play due to the large variance in how different theme’s handle the header area.
@Akimbo: It sounds like you’re trying to do a fairly custom implementation. If you need some premium support please let us know.
@Helen: This would require a code edit right now in the custom-header.php (backup first!!) file. You would need to change the user levels in the admin menu from 10 to 8 (I think, double check the codex for minimum level for editors). We might implement this a customizable feature in a new release
@Michael: Not sure why it wouldn’t be working on children pages. Are you setting a header for those pages? Children do not inherit their parent’s header.
@rebecca: This is a css issue. You can customize link borders in your themes stylesheet using CSS (backup first before attempting any edits!!)
I hope I pointed everyone in the right direction. As you can see just giving basic 1 line responses takes a considerable amount of time and I would estimate that the comments here are not even 10% of the questions we receive on Dynamic Headers. While we would love to answer them all in more detail, we simply don’t have the man power.
The plugin is open source and provided completely free of charge and I do try to answer questions such as this from time to time. There is also a lot of information on different implementations of this plugin in theme forums, the official WordPress forums, and right here in this comment thread.
If you do require immediate assistance, or a quote on a custom implementation we do offer paid support and WordPress design/development services. Please contact us if you require any of these services.
Solution for inserting code.
For template twentyten.
File header.php, line 70
Delete it :
<img src="” width=”" height=”" alt=”" />
Replace:
Not
and completed, then ..
In the control panel wordpress –> Headers –> Settings –> Blog Page Header. Select a header has been uploaded to stay in the home page.
Greetings I hope you serve.
PD: An apology because they do not write English, it was with a translator online.
In my previous post, it is automatically deleted on the instructions on php, so the code to be deleted is this, I will remove the opening and closing tags for php to allow access, and replace him with 00 :
And you have to replace it with: 00Show_media_header () 00, 00Show_media_header not php () 00, as indicated at the beginning of this article.
Greetings
Just wondering whether this fantastic ext is going to be updated to work with WordPress 3.0 in multi-site mode?
Thanks
Hey, great plugin, but i have 1 Problem. It shows different headers on each page…great. but theyll stuck in the top left corner as you can see on my homepage.
What should i do?
Nobody wants to answer my quest?
Nice plugin thanks for your work!
There seems to be a bug where the association between a header image URL and its link URL is lost when the functions are called separately…
calling: dh_get_page_image_url
and then: dh_get_page_link_url
will give you the wrong link for the wrong header image (wrong target too).
A rather poor fix of mine is below between the tags (just replace the one function in custom-headers.php).
function process_media_header($initial_file_value){
//If the option is random we need to get a random image to use.
switch($initial_file_value) {
case ‘Random’:
//
global $persistent_media;
if ($persistent_media != “”) $load_this_media = $persistent_media; // take the previously generated random media
else $load_this_media = get_random_media_item();
// </fix?
break;
case 'Default':
$load_this_media = get_option('dhnd_default');
break;
case 'None':
$load_this_media = "None";
break;
case '':
$load_this_media = "None";
break;
default:
$load_this_media = $initial_file_value;
}
//
global $persistent_media;
$persistent_media = $load_this_media;
//
return $load_this_media;
}
In your reply above you mention changing custom-header.php but I can’t find anywhere in WP3 code that looks like an admin level. Are you referring to WP2? If so, do you know how to allow access to Editor level users to maintain custom images with your tool? Thanks.
Hi,
I added an id to the img tag to enable css manipulation. Any chance you could put that in any future versions? I can’t think of a reason why not and it took me a couple of seconds.
Hello,
i installed and activated via wp’s add new plugin on dashboard.
I changed file permission to 776.
I still get the not writable or doesnt exist error.
changed to 777, same thing.
whats going on?
Thanks
Great plugin Dan,
Is there a way to have the headers linked back to the homepage?
Thanks,
Daniel
The plug-in looks exactly what I’m after and seems to work perfectly except:
How can I get rid of the 5-10px padding and 1px border that the pugin automatically inserts around my image? My website is www [dot]quickhomesalesuffolk.co.uk/blog and – as you can see – the border is totally wrong in this particular design.
Any help or feedback would be really appreciated.
Have just been reading through previous comments about borders and have solved it by tracking down an later on in the css – it didn’t affect my image before using this plugin but did after the plugin. Changing the css for has got rid of the padding and border and made it work a dream.
Many thanks – I’ll be sending a small donation as this has enabled me to give the customer what he wants. Thanks again.
Hi there,
Am a happy and satisfied user of Dynamic Headers. Great Plugin!
I would like to server my Header Images from Amazon S3.
Is there a way to have set the Plugin to pull ALL header images from Amazon S3 rather than from the ‘wp-content/header-images/’ directory on my server?
Would appreciate your advice.
Regards,
Ray
Hi! Does it work with WordPress 3.0(.1)?
If so, great! If not, can you recommend something else to achieve the same result?
Thank you!!
Hey there,
1) This and you are Awesome! Thank. You.
2) How do I center the header in atahualpa?
THANK YOU THANK YOU
I don’t know where to place your code, can you please help.
I am using the new default template “Twenty Ten”
When I try to place the code below I get two header images. I understand that you can not supply tech for everyone but it would be nice if you had definitive instructions for the default theme.
Do I need to change anything in the css I under stand css but NOT php.
Salut,
There is a French translation for the installation on my website now:
http://site-internet-azurweb.com/wordpress/dynamic-headers
Hi there,
I didn’t take the time to read through all the posts above, but I wanted to comment about my experience since installing this plug-in:
We’re trying to create a website for an online craft business, and after extensive searching I finally found one that would allow me to customize it the way I wanted (2010 Weaver).
I installed the eShop plug-in for my shopping cart, and started work on the product pages. The problem I found was that 2010 Weaver replaced the header images with any featured images on any page I added those…and the only way I could get most of teh short codes for eShop to work properly as to set a featured image of the product that page was created for!
The creator of 2010 Weaver directed me to this plug-in as a possible solution. I was impressed with the proposed functionality of this plug-in, so i went to work and figured out (with your awesome instructions
) how to install the plug-in on my site.
Once I had your plug-in installed, I noticed that it left a space in the header section for the original header image (directly under the new one), though none was showing (just a blank space, the same size as the original header image). I ended up solving this issue by setting the header image to a height of ‘0′. That effectively erased the old header image from my virtual world, and I’m on to the build next issue *grin*
I’ll be the first t admit this might have been a coding error on my part, but I’m going to suggest that, if it was not, you add a note describing this issue to the instructions above. Thanks for the great plug-in!
Blessings,
Gary
Hi – WiL posted on Oct 5th, 2009 at 10:19 pm
how he got his Artisteer theme to work with Dynamic Headers – but his code was cut off from the posting. It would be a great help to know the answer!!!!
He said:
Open header.php, and find this at the bottom of the source code:
…edit it to look like this:
I thought this might help with regards to positioning the code.
Although on one website I created I was able to successfully place the required line of Dynamic Header supplied code in the header.php file, a site I am now working on required me to put it in the Page Template (page.php).
I inserted the code as shown below (the first several lines are shown only for reference purposes so you can see where it should go – I have added >>> to highlight the added code, but don’t put in the >>> when you add yours – that is just pointing out the location of the Dynamic Header code):
>>>
THERE IS FURTHER CODE BUT IT IS NOT IMPORTANT
Hope that helps some of you who, like me, are not code geniuses.
Hi,
just a tiny remark: dh_get_page_image_url does not return the full path of the image, you have to invoke dh_get_media_path addtionally. Similar to that:
Nevertheless, everything else is fine!
Thanks Dan, looks great. I couldnt work out exactly where to drop the code either, but this works (so far).
In Twenty Ten theme, place code in header.php, close to bottom of code, find the bottom two lines shown here and add the top line.
I’ve put border:0px; and border:none; everywhere I can think of on my CSS and still can’t remove the border in IE. The site is: http://tinyurl.com/33b2m2b
thoughts?
For the life of me I cannot figure out exactly where to paste…
…into header.php
I am using the Twenty Ten 1.1 theme.
I’ve tried pasting the template tag just about everywhere I could imagine, but continue to get the “double banner” effect.
Any direction would be immensely appreciated.
Thanks,
Adam
I installed the plugin and it works fine, but I have the same problem as Amanda (comment way above) – the dh_get_page_image_url() is returning only the file name, not the full path. I checked in the database and i see that only the filename is there, no path. Any suggestions?
I tried your plugin but it displays the doesn’t display the image in full size?
Hi I tried to find the appropriate code (… You would need to change the user levels in the admin menu from 10 to 8 … ) as you mentioned to Helen, but I don’t find it. Is it removed?
I really need to give permission to editors or else is no use.
Thank you
I’ve installed the plugin for a multisite version of WordPress, and it works great except that both “Sites” display the same images in their headers. The two headers seem tied to each other.
I would prefer if the two different site’s headers could be managed separately. Is there an easy fix to allow that?
Thank you,
Adam
I am getting 2 header images, on the top one of the images I have uploaded & selected in the header images directory; and the other the default header that came with 2010 Weaver (V1.3.2).
In the Appearance > Header there is an option to “Remove Header Image” but that results in a broken image link on the website.
Please advise.
thank you.
My method took me forever but it works. I downloaded a page-specific plugin described below that will make all this work. Here is my sweat and tears in writing:
1. Create a new page, name it “example” or whatever.
2. SECOND, (the “forever” part), make sure you don’t have a header uploaded in your “Header” menu (this is from your theme @ WP Panel>Appearance>Header). Click the button “Remove Header Image”, then click “Restore Original Header Image”. I got this as a blank box, same color as the overall WP Panel’s background. If you didn’t and perhaps you actually got your Original Header back on, then try these steps below anyway. If the steps don’t work, remove your Original Header image from the appropriate folder (wp-content or wherever it is) to somewhere else so WP won’t find it. Basically, allow it to load up nothing in that Header box display.
2. Upload Media—aka your newly designed header— at WP Panel>Media Library>Add New. I added a new header and automatically uploads it to the appropriate header image folder from WP. This provides you a convenient URL at the bottom after you uploaded your image from the Upload New Media screen. Copy that URL to your clipboard.
3. Downlowd time. I personally downloaded this:
http://wordpress.org/extend/plugins/page-specific-cssjs/
It is straightforward—basically once activated, create a new CSS file with the name of your page (the one you want changes on)—make sure the slug is exactly the name of your CSS file or else it won’t work. The plugin link tells you all about this. Now that “example.css” will make changes to your new “example” Page, add your copied URL to where the CSS finds its Header information like I did on mine:
/* header */
#header {
background-image:url(‘//uploads/2010/09/bg-header42.jpg’);
background-repeat:no-repeat;
background-position:right;
width: 850px;
height: 140px;
color: #fff;
text-align:left;
}
All I made changes to was I deleted the “background color” line, and wrote in “background-image: url (‘PLACE URL HERE’);
4. Because your css file is named like your page you want changes on, AND you have the ‘page-specific-css’ plugin activated, your new header should appear on your alternate page!
If you have questions, email me: mlopezart@yahoo.com
Dynamic Headers is installed on my test site and working great, but my client wants a longer fade time for image transition. Is there a way to modify the transition time and display time? A global setting or the location of these parameters in the code would be most useful.
We’ve implemented dynamic headers on our development site. It is working well but our client wants the transition time to be longer. Is there a way to set this? A setting is preferable but I don’t mind modifying the code if required.
Thanks.
So far so…almost great. I have more than one issue with my site and am trying to remedy the header issue first. I added the plugin with no problems and uploaded my image. It appeared on the page just as it should but I noticed if I expand my browser window horizontally he image stays left justified and I have white space to the right. http://www.ohmydoghouston.com. Thanks in advance for the help. Great plugin.
I am building a site using custom post types. While I can assign a specific header image to regular pages and posts, there does not seem to be a way to add to custom post types. Is there some additional code I can add to my functions.php file (or other) to get this to show up as an option? Thanks!
I have gotten this to work BUT for the CSS part. My question is how do you add an id to the header part so you can create the css? and how would you name the css? #what. or .what?
Hello
Considering using this, but I’m not clear from the above whether multilple images can be selected for each separate page or is it only one image per page?
Also, if multiple images per page is possible, can the rate of change and time to fade in/out be set?
I like the header options in the Atahualpa theme, but need something where I can have different sets of images on each page.
Thanks
Robert
Hello
Can anyone tell me if it is possible to have multiple header images on each page. Having read the above I wasn’t clear if this was possible.
If it is possible, can the transition between images be adjusted. I am using the Atahualpa theme and need several header images that rotate on each page.
Thanks
Robert
Plug in is Awesome! Working fine with network site without any issue, the small issue I am facing is if user upload their own header image the same image is also accessible for other user and other user can also use that same header image through their admin.
My question is how should I control this permission to not allow other user to user other image.
If you look at my blog http://jd-grafx.com/blog/ you will see that I get a double header. I have not been able to fix this. This is a test blog that I use to learn how things work.
Please need help here is my email address if anyone would like to send a message.
Thanks Joe
Great plugin.
I am new to Wordpress and got things the way I wanted in just a few minutes.
For those using twenty-ten, find this line of code in headers.php:
<img src="” width=”" height=”" alt=”" />
Comment it out and paste in:
<img src="” width=”" height=”" alt=”" />
Also, make sure that your read, write and execute access on the image folder is wide open.
What do I need to edit in this plugin to use it with ssl encryption/https?
Hey,
great add-on for WordPress you put together there
One question, I couldn’t figure out: If I want to set a specific page to choose from a set of e.g. 3 headers. Can you plugin do this?
I could only set it randomly, but then it chooses from all available headers, not a defined set for that one page…
Thanks
th23
Had this excellent plugin working and now it’s not!
Changed my swf file and uploaded, overwriting old one. Now I get a LOAD FAIL message where the flash file should be showing.
Anyone else had this?
I previously also had he getimagesize() error if that’s connected.
I’m using the Atahualpha theme and as I said it WAS working. Have tried deactivating, deleting and then reinstalling but no change.
Any ideas?
Thanks, Nick
Just updated my wordpress with the new 3.02 patch and now the headers don’t work, any information on this?
Using the twenty ten theme.
Thanks for any info.
Steve.
Ok, back to normal now, I had to go back and edit my header.php file guess it got overwritten with the update.
I will read the directions next time!
Thanks Felix.
Steve.
Looks like the upgrade to 3.0.3 makes the dynamic header plugin not work. At least for me. Anyone else?
Hi, I’m using large font text phrase in the header instead of an image. It works as an attention grabber to summarise what each page is about. It should also be useful for SEO which is why I’d prefer not to use a picture
Is there a way to rotate a text headline using this tool? Should be obvious I know, but not with my coding skills
Thanks
Bill
Hi there,
really appreciate your plugin. However, one small issue I’ve discovered – whenever someone leaves a comment it wipes the header and resets to the default header. Do you know how to make it stop this? I’m using wordpress 3.0.1.
Any help appreciated!
James
I am so pleased with your plugin, thank you. Currently using it on two of my website and would be stuck without it. Sounds bold, but have been told on a number of occasions by wordpress designers and “pros” that adding a header to pages is either impossible or far too hard, or simply, its gonna cost you! I even took great pride in linking to your plugin on a developer site after they informed me it could not be done…. clearly they were wrong. Anyway, thanks again.
Hello! I’m not able to get my dynamic headers to show up on Internet Explorer. Seems to work in other browsers. Here’s my site: http://bit.ly/fqVPty
Any suggestions?
I don’t see any mention of the problem I’m having. When I make ANY change to a page using Quick Edit (e.g. to change the slug or the page order), the header reverts to the default header.
Anyone else having this problem?
I’m using WordPress 3.0.4 with Dynamic Headers plug-in version 3.5.3.
Thank you for any help.
We implemented this plug-in on the corporate website of my employer. Everything works fine. But there is one thing we would love to do. Is it possible to stop the background header image from scrolling. So the content scrolls on top of it?
Normally we do this through: { background-image: url(background.gif); background-attachment: fixed; }. But this doesn’t seem to work when background headers are generated through this plug-in. Help would be appreciated.
I am using Headway Themes 2.0.6 and followed the instructions. I am trying to upload different headers for each page. However, I keep getting two headers to show up on every page (http://www.targetstarsinc.com). I really want to use this plugin so any help you can provide would be much appreciated. Thanks!
Great plugin!
I am trying to exclude a particular image once it is fixed to a particular page. In other words I want to use exactly one header only on one page. How do I achieve this?
Anybody’s help will be appreciated.
Hello!
I love your plugin! It does exactly what I want it to do! The only problem is, I can’t get my flash headers to show up on any version of IE. The header doesn’t work at all, so my design collapses. Any advice you can offer would be greatly appreciated!
Thank you in advance!
Hi there,
I like your plugin, but how can I center the image?
The plugin is awesome but when I did a bulk edit of the pages to set comments to not allowed, it reset all the images for all the pages to the default so that I had to go back and edit each page to reset them correctly. Not a problem with 10 pages but this is a site with 70+ pages.
Thanks
Just another piece of data for you – if you quick edit, it also resets the header back to the default.
p.s. I still love the plugin. Just beware that editing a page in any way other than full edit mode will reset the header.
Thanks
I am working on a wordpress website in which I have changed all the pages to ’static’ pages. I have installed the Dynamic Headers plugin and added the ‘header-images’ folder in wp-content and set the default header. I have uploaded new header images to the correct folder and they appear on the drop-down list. I have chosen different headers for various pages. The plugin was working great at first but then for some reason stopped allowing me to change the header images. Now I can’t change different pages to different images even though they are visible in the header-images folder. I have tried re-installing the plugin but still not working. What am I doing wrong!? Please help!
I can’t seem to figure out how to create a directory wp-content/header-images/ for the Dynamic Headers plug in. Says it does not exist but I can’t figure out why. Can someone help me?
@breda, our plugin will not create the necessary folder for you. You have to have FTP or SSH access to your domain/server to create the directory with the correct read/write permissions. You can contact your hosting provider for help with FTP/SSH.
Hi there!
I added a SWF file as my header but it left aligns by default, how do I center this so that it lines up with my blog?
Thanks!
hello,
Cool plugin, congratulations.
I asked, how to make auto scaling relative width?
the point is that how you put the picture with dimensions larger than the width of the page, then give me a big slider on the bottom of the page.
nice if the image has a specific definition ucinała on the right side
pls HELP
))
Is it possible to have the dynamic header loop the content? For instance, we upload 6 pics and they keep on looping… And also, can we adjust the speed at which the pictures chance?
I’m rather concerned about needing to set folder permissions world-executable for this plugin to work, as it seems like a rather significant security risk. I’ve tried every other option, and 777 is the only one that works. Is there a work-around for this? Am I right in this concern?
Thanks. I love the promise of the plugin but need to have my fears allayed prior to implementation.
I love the plugin except for if the blog is not the landing page. I have a header for the blog page, and a header for the rest of the site. The thing is, posts don’t automatically pick up the blog header, which I THOUGHT is what should happen.
I either have to manually change the header for the pages, or manually change the header for the posts.
Is there a quick fix to automatically have the blog posts pick up the blog header?
Thanks.
Velma
Is there any way around having to have the header-images directory set at 777? IT seems to be a tremendous security risk to have the directory global-writable and executable.
Thanks.
Hi, I got the plugin working just fine. Well done.
I noticed that the 2 links on the “Directions” page (“Add new file page” and “Settings page”) don’t point to the correct place. They are correct in the menu to the left. I’m using 3.5.1.
I thought you might want to fix that… it’s one less thing for a new user to stumble over.
The link is also broken where the plugin appears at the bottom of the “edit page” page (where you set the image you want for the page). The “upload page” link is broken in the same way as above.
Regards,
Brian
This is a great plugin, and easy to use. I have a question, is there any support for users with other roles, does it have ti be administrators only, or can it be configured so users with editor priviledges can modify the headers too?
Great plugin… do you provide consulting services? I have no problem in paying to get this to work right.
Has anyone figured out how to center the header image? I figured out how to center the background image, but for the header image I dont know what to do.
If anyone can just point me in the right direction that would be great.
Hello,
I cannot for the life of me get the flash headers to show up in IE. They seem to work fine in FireFox. The website is http://tinyurl.com/4p372cr I’m dying for help!
Thanks so much.
So is this plugin compatible with wordpress 3.1?
Nice plug in, I was a little concerned the .swf file size would bog down the load speed, but it seemed to do just fine.
client site madeinjapan4u.com has some big headers but no sweat.
Glad to know there was such a simple method of incorporating unique content headers.
Thanks,
Insiston
Is it possible to have a rotating image on the homepage but static images for the rest of the pages? I am pretty new to this, thanks
Ive tried about 7 different ways recommended on various forums to add the code to the latest Artisteer templates – in both header.php and page.php.
Unfortunately the advice above gets its code removed by your setup.
Mostly I get nothing – though some techniques show a line of code on the page.
Please anyone who knows how to use this plugin with the latest 3.x Artisteer let me know.
dan At bookoffire dot RemoveThis net
Hello, I have just put this pugin in my site put don’t understand yet, is there as description of how to use it.
Thanks
David Massey
I am trying to use this plugin to put the address for my header image into some css. Currently I can get the following, but I am having trouble having only the image address without the html around it. The instructions are unclear in how to get this happening. Is anyone able to help with what php to put in?
background: url()
Thank you.
Russ
Hi,
I’ve installed your excellent plugin – works very well for my frontpage, which is now displaying random images in the header.
I would also like to use DH for the other pages on my site (which is not a blog). In other words:
- Frontpage randomly displays header1.jpg, header2.jpg, header3.jpg, etc. Images are 1024×100.
- Lower level pages display a single image in the header, different for each page – size is 1024×50.
While I can set the lower level pages to display a specific image, the frontpage will display ALL images in the header-image directory, including the ones for the lower level pages, which are the wrong size for the frontpage.
Is there a way around this?
Thanks,
Dan
Dynamic Headers (DH) would be a great plug-in, but I’m having a problem using it with Weaver 2.0.
I installed DH with the Weaver 2.0 theme activated and uploaded a number of headers to the wp-content/header-images folder as instructed. I have a header defined in Weaver setup.
- If I set a Default header in DH setup I get two headers stacked on top of each other (the DH over the Weaver header) for every page except the Blog page.
- If I set a Blog page Header in DH I get the stacked headers on the Blog page.
- If I set both I get the stacked headers on all pages.
- If I delete the Weaver header I get the DH over a blank space where the Weaver header would have been.
I’ve now set DH to No Default Headers and I’m back down to only the Weaver-defined header. But I really want to use DH in Random Media mode and not get it stacked above Weaver header.
Am I doing something wrong? Weaver 2.0 says it should be a simple plug-and-play but it’s not working for me.
Thanks in advance for your help!
This plugin is fantastic.
It’s a good thing that developers like Nicasio make my programming life easier.
For Twenty Ten users, in header.php search for and delete everything between..
and
and put so it ends up like this…
I forget what was replaced or I’d just say to replace that, i cant see it without reinstalling WP to get newest version of twenty ten but it was a few lines of php code that calls the header image. The site title etc should be untouched by this.
ctrl+f my name for any newer posts from me in case I later find bugs with this method.
For all people who want editor rights: change the function “function dhnd_menu() {” inside custom-header.php and make a 7 from all 8ths. (user levels)
I have installed (& love) your plugin on a local hard drive while I build a website. I am using WordPress 3.1. I am having some trouble that I was wondering if you or anyone on the blog can help with. If I go in and edit anything in the Quick Edit panel in the pages section the dynamic header I previously selected is replaced with the default header. Has this happened to anyone else? I would greatly appreciate any help.
Thanks ~ Sonja
I love the plugin, but it stopped working lately. I switch a header and nothing updates in the site. Is this a known issue?
I’m using the Genesis theme framework (by Studiopress) with the Bee Crafty child theme, and this plugin just won’t work with it. The child theme does not have a header.php file. The header.php file is in the core Genesis theme, but the instructions say to not edit the core file, but to do all editing in the child theme. Should I just copy the header.php file and add it to the child theme? I have no idea how to get this to work.
Weaver Themes (2010, 2.0)
Problem: Double headers with dynamic-headers
Many thanks to Gary for your suggestion to change the header size to 0 in the Weaver Admin>>Main Options>>Header Options. With so many options in the Weaver set-up it’s daunting to figure out how to get around problems like this. Nice to see the solution is so simple.
This plugin was a lifesaver for me. All I wanted to do was have one swf file–the same for all the website pages. It had been working previously; but upgrading to WordPress 3.1.1 and Atahualpa 3.6.4 caused the swf file to refuse to display. This plugin worked when others failed. Plus, it was much easier to use than the other plugins or suggestions I tried–some of which involved harrowing and extensive changes to important php files.
A special thank-you to Steve above, whose pointer above to the bytesforall.com forum was a big help with getting this to work with Atahualpa. Substituting a change to the bfa_header_config.php file for the general directions’ suggested change to the header.php file worked perfectly.
Another thanks to Lee above, whose comment helped me figure out that there was a new item called Headers at the bottom of the Dashboard column.
I love your plugin. Thank you for creating it. However, now that I have it installed, 2 header images are being displayed, the random image on top, and a static image on the bottom. I cannot figure out how to remove the bottom image. ANy ideas would be appreciated.
Very smart plugin. It would be nice, if we can manage the headers per calendar, because we have a spezial header for christmas, autuum, spring, summer, winter, halloween, sylvester, …
I´m looking foreward for an update.
Christian
Hi
I would like to use two sets of headers.
For my normal pages ( page.php ) I a have specific headers using the plugin.
For my home page (index.php) I would like random images, but bigger in height than the headers from my other pages.
I guess i can have a duplicate of the plugin, but how exactly do i do that?
Many thanx for a great plugin!
Schalk Joubert
Howdy,
I don’t want the alt tag to show. I tried modifying the header but it wouldn’t modify the alt. Then I went into my database and deleted the “alt” information. That removed the descriptive alt information but then “by default” (?) it now shows the image name such as headimage.jpg.
I don’t want any alt or image name to show when someone mouses over the header image. How do I turn off the feature?
I think I’m going to like this plugin. My theme (Weaver) fully supports your plugin so I was able to get an image in my header by simply pasting the following code in a designated section of the theme admin pages:
The down side is that I want to push the image to the far right of the header. Is there a way to do this within the code snippet above and not have to modify a style sheet?
Hello i’ve used this plug-in in the past with no problems – just starting a new project and get this message;
Warning: opendir(/web1/user33763/website/wp-content/header-images/) [function.opendir]: failed to open dir: No such file or directory in /web1/user33763/website/wp-content/plugins/dynamic-headers/custom-header.php on line 272
I have changed permissions to 777 (is this safe ?) and put the php in the header.
Many Thanks
Nigel
Why do my header images expand and have this large background behind them? How do I get rid of it? I love this plugin and really want it to work!!
Thanks!
I’ve used this wonderful plugin several times, but with a home page that contains a Flash header. Can a JS rotating banner be used instead of Flash, just for the home page, leaving just PNGs or JPGs for the remaining page headers? It would make my life a lot easier!
How do you use the plugin once it is installed and activated?
Dropped in this code to the header.php in Organic Themes Portfolio white theme and the header appears on the upper left corner of the background, not the document of the document. Any hints on this?
Is there a donate page for this plug-in?
I’ve just posted on my site that I intend to donate to all the plug-in developers who accept donations.
http://billbennett.co.nz/paying-wordpress-plugins/
But I don’t see an option for this plug-in.
Have you had anyone use this plug in on a photocrati theme? i’m having a hard time getting it to work. i’ve done everything in the steps, but it’s just not showing up period. Not sure where to go from here. I love the idea of a custom header for each page.
Does anybody know where I drop in the code in the TwentyEleven theme? Really love this idea of this plugin – but don’t know code very well and am lost.
Thanks!
Sherine
hi,
got some trouble inputting the line of code, but at last with my determination to be successful, it really worked… thanks for building the plug in…
Does not work with version 3.2.1
Warning: Cannot modify header information – headers already sent by (output started at ..wp-content/plugins/dynamic-headers/custom-header.php:2) in ..wp-includes/pluggable.php on line 934
Thanks for the plugin, just trying to get it sorted, I’ve got it working but it’s not displaying correctly, this is the current code that pulls my header
<div >
I’ve got a completely static site and don’t use the slider thingy so the only part of that that is really doing anything is the wrap-inner which is pulling the header image and positioning.
If I put your code under it
<div >
it sits in the right place but bumps the page title text to underneath it, how do I get the page title to sit on top of it??
Thank you
I am in the process of redeveloping my larger website in DNN. My blog is currently on Wordpress, and I want to keep it that way. The new DNN site will have a graphic header and a menu bar with large, pull-down menus. I’m trying to figure out if there is any way to embed the header and menu bar into the Wordpress blog, so that if I make changes to the menu, it is also reflected on the blog menu.
Will this add-in allow for that? I’m sorry if I sound like a real newb. I’ve got some people telling me it’s possible – even easy – and others telling me it’s impossible. Unfortunately, the ones who say it’s easy aren’t developers.
Is it possible to install a slider into the Dynamic Header plugin?