Custom header does not work for me
-
this does not work for me at all
i did all what was written in description and read all this posts in support, but nothing, or whole system crashed…
is there somewhere a useful installation file?
-
Hello
please give me some more details about your problem:
1. Did you manage to install this Plugin or did you get an error installing it? If so, WHAT error did you get?
2. Are you using a standalone WordPress installation or do you have a blog at WordPress.com?
3. Be a little bit more specific in general – why did your system crash?
Blackbam
Hello Blackbam,
thank you for your answer.
The plugin is installed. Thats fine and i get all infos in backend (URL of header image)
I got standalone WordPress, the error is, that it does not work.
The system crashed when i put in php code <?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
in featured.php
thanks for your support!
regards,
CaroHello
where did you put this code inside of your “featured.php”.
Did you make sure that you do not destroy any other php code? If you are already in PHP-Code, you only need to write
if(function_exists(‘chi_display_header’)) { chi_display_header(); }
without the PHP opening tags.
Otherwise: Did you get any error message?
BB
i put this on top of featured.php
<?php
if(function_exists(‘chi_display_header’)) { chi_display_header(); }
?>there is no error message, it simply does not work.
regards,
caroHello,
I am having a problem with my header displaying as well. I am not sure exactly where to put the code as my theme doesn’t have a featured.php.
I am using Magazino theme.
Are you able to help?Thank you Casey
Hello again, I am sorry that I do not have the time to check every single Theme out there for the position of the code to place, but I recommend everybody to do the following:
1. For testing purposes, put the code into the file “index.php”, below the function “get_header();” which should be available in 90% of all Themes and check if the Images appear.
2. Try other positions than this. For 90% of the use cases and Themes the best position for the header images function will be somewhere at the bottom of the file “header.php”.
3. If you try a lot of different positions and the header images do not show up, you should contact the Theme creators and ask, if “conditional tags” work properly in the Themes they have created.
@caroweb: I recommend you also to try a different file than featured.php, maybe this file is inside of a special loop or not loaded on every page call.
Hope this helps,
BlackbamHi Blackbam,
thanks for your detailed answer.
this did not work neither for me and since i was not superhappy with my theme anyway, i have chose a different theme.
thanks
regards,
caroI can’t get this to work for me either. I have the Adventure Tour theme. No idea where to put the code or how to make this work?
Hello again
the basic problem is that most of the ready bake themes involve thousands of lines of codes for their “super special” functionality.
EVERY theme has an index.php and this is the point there you have to start – outside of any conditions or brackets.
Then you just have to find your way through the PHP code – basic programming knowledge will help.
Maybe I will implement a widget functionality for the next version, but this may also not solve every problem. Manual placement is still the best way to do it, unless you update your theme very often.
Blackbam
Resolved
Not working for me too, you should clarify where to put the piece of php code…trying fixing around the code blindly is not a professional advice…
Hello I am sorry, but I cannot review each users theme codes. If you know your code it is very easy: Just place the header images where you want them to appear.
Another possibility would be to make a widget or shortcode, but I think that 99% of the theme will not have a dynamic sidebar in the place where the header images should appear.
I think about integrating this anyway.
The topic ‘Custom header does not work for me’ is closed to new replies.