Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Custom Headers option in functions.php


  #1  
Old May 26, 2014, 07:36 PM
capelady
 
48 posts · Mar 2010
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.
  #2  
Old May 26, 2014, 09:14 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Try it and let us know.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 28, 2014, 08:53 PM
capelady
 
48 posts · Mar 2010
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.
  #4  
Old May 29, 2014, 05:13 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You could add a new widget area to the configure eader area option and then use a plugn like 'dynamic headers'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; May 29, 2014 at 06:59 PM.
  #5  
Old May 29, 2014, 06:38 AM
capelady
 
48 posts · Mar 2010
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.

Last edited by capelady; May 29, 2014 at 06:41 AM.
  #6  
Old May 29, 2014, 06:45 AM
capelady
 
48 posts · Mar 2010
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.

Bookmarks

Tags
custom headers, enabled, functions.php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Functions available in MZ specifcally Custom Fields and ShortCodes shocka Montezuma Theme 4 Jan 29, 2013 08:09 PM
Suggestion: Use the WordPress core functions for custom header images Knut Sparhell Atahualpa 3 Wordpress theme 0 Nov 3, 2011 08:14 PM
Tip for creating custom headers for category pages paulae Sidebars & Widgets 0 Dec 9, 2009 05:31 PM
Best location for custom hook functions twola Plugins & Atahualpa 0 Oct 10, 2009 08:39 PM


All times are GMT -6. The time now is 11:12 PM.


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