Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Custom Headers option in functions.php (http://forum.bytesforall.com/showthread.php?t=22524)

capelady May 26, 2014 06:36 PM

Custom Headers option in functions.php
 
There are a couple of plugins for selecting custom headers (Unique Headers, Custom Header Extended) which say "It should be noted that in order to use this plugin the custom headers option must be enabled (by the theme)." and they reference this page: http://codex.wordpress.org/Custom_Headers.

Are Custom Headers enabled in Atahualpa? Since which version? I didn't see it in the functions.php for 3.8.3.

Just saw this post http://forum.bytesforall.com/showthr...aders+function of January 18, 2014, which, if referring to the same issue means that it doesn't, is that correct?

Can you tell me if it's just a matter of adding

add_theme_support( 'custom-header' );

to functions.php?

Thanks.

juggledad May 26, 2014 08:14 PM

Try it and let us know.

capelady May 28, 2014 07:53 PM

Well, I activated theme 2014 to see if it had custom headers, and it does. When it is activated, under Appearance, the option Header appears. There I could upload and set a header image, and the plugin Custom Header Extended works by allowing me to select a header for each post.

I tried putting add_theme_support( 'custom-header' ); in Atahualpa's functions.php, and re-activated it, but no option for Header appears, and the plugin doesn't show on the post's page.

I'm guessing something else needs to happen to make it work, or maybe there's an incompatibility, or I put it in the wrong place, but I don't know enough about Wordpress inner workings to make it work.

juggledad May 29, 2014 04:13 AM

You could add a new widget area to the configure eader area option and then use a plugn like 'dynamic headers'

capelady May 29, 2014 05:38 AM

That's what I'm currently using. Works great except when a post is scheduled for the future rather than published immediately. When it is published in the future it reverts to the default image. That's why I'm trying to find another plugin that will work with the theme, and maintain the setting when it's published later.

Some plugins (like Dynamic Headers) aren't certified (don't know if that's the correct term) to work with later versions of Wordpress, or if they are, they require the Custom Header functionality.

capelady May 29, 2014 05:45 AM

Also, I can't do it by category because a post can be in more than one category, and I need to be able to select which header I want for it.

Is it possible to do it by keyword? I'm not currently using those for anything.


All times are GMT -6. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.