Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Sign up Box in Header


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 3, 2009, 07:45 AM
Mande
 
36 posts · Apr 2009
Sign up Box in Header

I'm creating a blog that is identical to a website already designed. In the header of the website there is a box in the upper right where members can login. How do I include this login box in the Atahualpa header?

Last edited by Mande; Nov 5, 2009 at 12:41 PM.
  #2  
Old Nov 3, 2009, 09:04 AM
juggledad's Avatar
juggledad
 
21,959 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
One way you could do it would be to use the new widget area and build your header using that - split the area 90/10, put your header image in the 90% and put a signup form in the 10%
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Nov 3, 2009, 10:48 AM
Mande
 
36 posts · Apr 2009
I did not realize you could do that now. Great!

Just to learn I installed the example code into the Configure Header Area and get an error message.

Inserted this code:
<?php bfa_widget_area('name=My widget area&cells=4&align=1&align_2=9&align_3=7&width_4=7 00&before_widget=<div id="%1" class="header-widget %2">&after_widget=</div>'); ?>

into "configure header area"

get this error:

Fatal error: Call to undefined function: str_ireplace() in /home/speaker/public_html/blog/wp-content/themes/atahualpa342/functions.php on line 321

Suggestions?

Thanks!

P.S. I just made a donation through paypal-thanks for your help!
  #4  
Old Nov 3, 2009, 11:19 AM
juggledad's Avatar
juggledad
 
21,959 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you are using PHP 4.x - str_ireplace() was added to PHP 5.x
Check with your host to see if they have an option to swap to php 5 (at GoDaddy it's controled by a line in the .htaccess file). While you can change the code and replace the str_ireplace() with str_replace(), you should move to php5.x.

check with your provider
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #5  
Old Nov 3, 2009, 11:41 AM
Mande
 
36 posts · Apr 2009
I've just been given access to set up the blog so I don't think its an option to upgrade the PHP but I'll check. in the meantime. where in the theme files do I edit that code?
  #6  
Old Nov 3, 2009, 12:13 PM
juggledad's Avatar
juggledad
 
21,959 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
umm, like the message says, line 321 in function.php

Be aware that you may run into more issues espically wiith widgets if you remain on php4.

You should also upgrade Atahualpa to 3.4.4 - where the 'str_ireplace' has already been replaced witht the 'str_replace'.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do people sign up as a user for a comment? nasu Page & Category Menu Bars 6 Jul 12, 2013 12:40 PM
how to place and where to place a sign up box zizi Header configuration & styling 5 Oct 10, 2010 07:41 PM
Putting Code/Sign Up Form into Sidebar gradlebum Sidebars & Widgets 14 Apr 26, 2010 03:31 PM
[SOLVED] Looking to add sign-in link in the header mcgiver058 Header configuration & styling 6 Aug 20, 2009 08:11 PM
Box below the header Tony0 Header configuration & styling 5 Jul 15, 2009 04:56 PM


All times are GMT -6. The time now is 10:23 AM.


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