Hi,
I’m running WP 4.5.3 with the WP Ultimate Recipe plugin.
I’m trying to get custom header images to work on the ingredient pages. All the ingredients are terms of the custom taxonomy ingredient.
When I am editing the ingredients, they nicely display the custom header field and I’ve uploaded a custom header image, but they don’t show on the page.
I am hoping that we could figure out what I’m doing wrong here! Thanks!
]]>Where must I put this…?
<?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
Thank you.
Hi, great plugin!
It works fine after a few attempts, but I could not make it 100% fullwidth and responsive. It takes always an exact width like 960px, etc.
Can you gime me the code to force the image to 100% fullwidth and responsive?
Thanks in advance!
Ivan
Hello,
it is possible to implement the alt-tag and title-tag for the header-image?
custom output for example:
<div class="chi_display_header" data-link="">
<img src="[image_url]" style="max-width:100%" alt="[alt_tag]" title="[title_tag]"/>
</div>
]]>
Am trying to use this plugin with the following:
<?php if(function_exists(‘chi_get_header_image_url’)) { chi_get_header_image_url(); } echo chi_get_header_image_url(); ?>
<div id=”header_image”> <img src=”<?php if (function_exists(‘chi_get_header_image_url’)) echo chi_get_header_image_url(); ?>”> <h1><?php the_title(); ?></h1></div>
<div id=”header_image”> <img src=”[image_url]”> <h1><?php the_title(); ?></h1></div>
None of these work properly, why??
The plugin’s ‘settings’ page does not allow blank for height or width, only 0 (zero), and the plugin IS enabled. I have url values specified for the home page but the desired header image does not appear…
Thank you, Tom
]]>In the installation it says Paste the following code into your theme: <?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
Where exactly do I need to place the code in my theme? I tried placing it at the end of my header.php file and it didn’t seem to work. I am quite new to this thanks?
i changed the header image to responsive and now it has a gap of a few px at the bottom, i just cant find out where these pixels are coming from, any idea? https://koerper-psychotherapeutin.ch/
]]>Hi there , i am trying to get the header image/banner to resize with the theme,
please could you help.
https://ptaforklift.palladiumdesign.co.za/
what can i do ?
thanks in advance
]]>Hi there,
I have imputed the function code.
the site shows a space where the image should go but no image is there.
i have also set everything correctly interns of Default image and made sure i deselected display nothing.
please help
]]>I fail to be responsive image, please help.
]]>i am using the default wordpress theme “Twenty Fourteen”
where will i add the code?
]]>Im using the latest version of the cherr framework with a child theme and wanted to set a custom header for each post/site.
No Plugin is working because my theme doesnt support custom headers and i cant get this working.
I tried to add
$args = array(
'flex-width' => true,
'width' => 980,
'flex-height' => true,
'height' => 200,
'default-image' => get_template_directory_uri() . '/images/header.jpg',
);
add_theme_support( 'custom-header', $args );
into header.php/index.php/functions.php, but no change at all.
childtheme-header.php: https://paste2.org/BbXV14kn
cherryframework-functions.php: https://paste2.org/zPf06j4m
(those are the original untouched .php-files because it didnt had any effect when i inserted the code above.)
Dear Plugin Dev.
Is it possible to make the Navigation over the custom image?
https://fraktal-design.ch/guardianmfo/?page_id=1150
Would be great!
Like here: https://wealthmanagementandtrust.rothschild.com/page.aspx?id=72
Thanks in Advance.
]]>I can use the header images on all pages on my site, but not on the frontpage… for some reason.
I am using pretty much stock twenty twelve theme.
any ideas?
]]>Hi,
I am using the theme semi-colon with Orbisius and am a little confused on where to put the CSS code.
My site is
https://www.67andcounting.com/
I just want a universal cover photo for the site.
Any help with this would be much appreciated, I am very much a beginner with this stuff.
Laura
]]>I’ve made some modifications to the plugin to make use of the media uploader buttons and I think it’d make updating image header info for each field a heck of a lot easier. Do you have a repository for this plugin or would you like me to send you what I’ve done?
]]>I was wondering if does work with the popular Canvas theme from Woo Themes.
In Canvas the dev can easily change header on each page/post adding a css line, but was nice if with this plugin the end user can change header from the backend. Thanks.
]]>Hi!
Is there any way to link my header image at this page https://www.elajza.com ?
I want to link the black header image with the logo so you come back to the homepage.
Kind Regards
Jennie
Hello,
I tryed to tweak the plugin to make it display the page title inside the chi_display_header div, it works with raw text but with the the_title()
hook, the title is outputed outside the div
is there some trickery to make it work ?
]]>I’d like to insert more than one visual per page.
Just like… the visuals are changing randomly as soon I reload the same page.
How can I do that?
]]>Hi. I am trying to make both the width and height of my header image responsive. I have made the width responsive by using 100% and this works, yet when I also change height to a ‘%’ instead of a ‘px’ then the header breaks and is not displayed? Please can you help? The code I am using is below:
<div class=”chi_display_header” style=”height:150px; width:100%; margin: 0 10%; background-image:url(‘[image_url]’);”></div>
]]>Hello,
Love the plugin but I need to make it more Accessible. By that I mean that I need image alt tags to work. I have alt’s set up for all header images used and am using the following custom script for responsive behaviour:
<div onclick=”if(this.getAttribute(‘data-link’)!=”) window.location.href=this.getAttribute(‘data-link’)” data-link=”[link]” class=”chi_display_header” ><img src=”[image_url]” style=”width:100%;” alt=”” /></div>
I tried using the WP default function for calling image_alt but it did not work.
Need some help please!
Thank you.
]]>Hi,
The image which I specify in the Custom Header Image field appears in the centre of the body part of the page, not the header.
I pasted the code into the header.php file of the Theme.
What do I need to change to be able to specify a different header logo – ie at the very top, where the nav bar is – for every page?
Thanks
Hi, would love to be able to get this to work. In the installation, in:
Paste the following code into your theme: <?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
Which php page should be edited? header.php, etc? thanks
]]>Hi-
I have a very stripped down admin for contributors and authors – only the most necessary features are available for them.
Can you think of any way to hide the “Custom Header Images” widget from these users? All options I’ve tried (Role Scoper, Membership) disable the plugin’s functionality (cause the images to disappear). I just want to keep authors/contributors from trying to upload header images.
Thanks!
Adam
Hi,
This plugin worked great when week, then I upgraded to latest version of WP and the header images no longer showed.
The plugin is still activated and the settings are the same as before.
I added the following code to the theme in header.php and the image now shows, but I want it to appear on top of the single posts:
<?php
if(function_exists(‘chi_display_header’)) { chi_display_header(); }
?>
I’m not sure where to insert this code, in which file, in order to do that?
Many thanks everyone,
Celine
I have installed and activated the plugin, and set the URL of the Custom Header Image on my specific page that is using a template. When I go to that template php file and try to add:
<img “src=”<?php echo do_shortcode(“[image_url]”); ?>”>
The shortcode doesn’t get replaced the with image URL. Pretty sure I am using this incorrectly, not sure how to get the custom image to display on the page.
I put the:
<?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
in my index.php after the get_header function
Notice: Undefined index: chi_display_cat_image in /var/virtuals/wordpress/wp-content/plugins/custom-header-images/custom-header-images.php on line 196
Notice: Undefined index: chi_display_nothing in /var/virtuals/wordpress/wp-content/plugins/custom-header-images/custom-header-images.php on line 191
Notice: Undefined index: chi_exclude_post_types in /var/virtuals/wordpress/wp-content/plugins/custom-header-images/custom-header-images.php on line (more that one)
Please run Your plugin with WP_DEBUG set to true.
]]>I was wondering if was possible to add the ability to have users(Authors, Editors, Etc) have their own headers for their Authors Page?
Also needed some help on the code i have it made where it works great and is responsive, but is possible to have it like below in the actual theme instead of using the custom output and limiting classes for me. Seeing as i want different sized headers depending on what page im on, reason i need this is because my imgs go 100% w and h into a div with a specified height.
Example:
<img class=”header1″ src=”Not sure what goes in here ” alt=”” />
]]>Every time I load a custom header on my gallery page, the header image also shows in my gallery slideshow. Any way to fix this?
]]>