Giraffe Theme
| Download: | giraffe.zip |
|---|---|
| Version: | 1.23 |
| Updated: | November 25, 2005 |
| Size: | 309.58 KB |
This is a fluid-width theme that attempts to split the front page of a blog into three sections:
- Lead posts. The latest posts, with full-width and a large font
- Recent posts. Slightly older, with shorter width, smaller font
- Older posts. Everything else, displaying just the titles



Localization
The theme is fully localized. This means it can be translated into other languages without having to modify and hack the theme to bits. The list of available translations is:
- English - default, no installation required
- Italiano - provided by Stefano Aglietti
- Español - provided by Mario Núñez Molina
- Simplified Chinese (雅虎中国) - provided by Carmen
- Greek - provided by Simos Xenitellis
- Japanese - provided by Tai
- Deutsch - provided by Erik Pöhler
- Nynorsk - provided by Eivind Ødegård
- Dutch - provided by Gerard Konning
To install a translation, download the .MO file and upload it to the theme directory. You should ensure that the setting of the WPLANG value in the wp-config.php file matches the translation.
The theme contains a .PO so anyone can translate the words using a tool such as poEdit. I would greatly appreciate if any translations could be sent to me so that I can include them here for everyone else.
Support Plugin
The theme has a support plugin that provides an administration interface and the capability to configure the theme:
- Change colour scheme
- Change font and font size
- Change whether to have a full-width lead post, or more traditional two-column layout
- Change page dimensions
- Configure number of lead posts, recent posts, random posts, and latest comments
- Switch logo on or off
- Compress CSS by reducing unnecessary comments, spaces, and returns. Shrinks the file by about 2K - not a lot, but every little helps.
This plugin is optional and the theme will work without it, although obviously you miss out on any configuration. Note that if you want Gravatars displayed then you will need to install the separate Gravatar plugin.
Installation
Installation of the theme is just like any other theme:
- Download
- Unzip
- Upload the 'giraffe' directory to your
/wp-content/themes/directory - Enable the theme from the administration screen
You must make the theme directory and the files style.css, index.php, single.php, and page.php writeable. If you do not, you will receive an error in the admin interface when updating any details.
Installation of the plugin is also just like any other plugin:
- Download
- Unzip
- Upload the 'giraffe' directory to your
/wp-content/plugins/directory - Enable the plguin from the administration screen
Please delete any pre-1.3 Giraffe plugin.
You can change the logo by either disabling it from the administration plugin, or by uploading a new image called 'logo.png' or 'logo.gif' to the theme directory. The theme will serve a PNG to all non-IE browsers, and a GIF to IE. You can use fancy alpha-blending with the PNG, yet still keep a decent image for IE users.
Modifying the top navigation menu
By default the Giraffe theme will display a list of WordPress pages in the top navigation menu (the bar just below the logo). This means that to modify entries in this menu all you need to do is to change your WordPress pages.
If you want to customize the list further, or you want to create your own list, then you can do so by editing giraffe_functions.php in the theme directory and adding a function:
function giraffe_top_menu ()
{
... your code
}
The function should output the menu as a series of HTML list elements <li>...</li>. For example, if you want to directly enter the menu:
function giraffe_top_menu ()
{ ?>
<li><a href="something.com">First choice</a></li>
<li><a href="anotherthing.com">Second choice</a></li>
<?php
}
Other details
To get Gravatars working you will need to download and install the WordPress Gravatar plugin.
The number of 'older posts' is determined by the WordPress configuration option 'Options/Reading/Blog/Show at most' and the Giraffe options 'Number of lead posts' and 'Number of recent posts'. If you have WordPress configured to display 10 posts, and the Giraffe theme configured to display 1 lead and 3 recent posts, then the number of older posts will be 6.

Angsuman Chakraborty says:
Added on July 3rd, 2005 at 8:31 pmNice theme!
I have reviewed it in my blog.
John (blog author) says:
Added on July 5th, 2005 at 1:04 amThanks for the review Angsuman. Some good suggestions there, and I've included them in a new version.
I've had to keep the plugin as it's necessary for the admin interface, but now it's optional and only contains the code for the interface itself (the rest is in the theme).
(incidently, I tried posting this on your website but just get a blank screen when I submit)
Colin Sampaleanu says:
Added on July 5th, 2005 at 8:26 pmNice theme.
There are (in v1.9) however still two hardcoded references to the wp_posts table in giraffe.php, which need to be changed to $wpdb->posts.
This is in function giraffe_random_posts.
Colin
John (blog author) says:
Added on July 9th, 2005 at 6:49 amThanks Colin, the theme has been updated.
raDIO says:
Added on July 11th, 2005 at 3:55 amBest theme.
There is (in v1.10) a small problem in the function giraffe_latest_comments: the comments classifies as Spam are visible.
P.S. there are few simple problem of validation W3 (tag alt ecc ecc)
Excuse for my English.
raDIO
John (blog author) says:
Added on July 12th, 2005 at 5:49 amYou are correct raDIO, I didn't check the spam field. The theme has been updated to ignore spam, and some validation warnings corrected.
Hoover says:
Added on July 14th, 2005 at 4:03 pmMy error:
Fatal error: Call to undefined function: mysql_real_escape_string() in /wp-content/plugins/giraffe/giraffe.php on line 185
Point me in the right direction?
Dave W says:
Added on July 20th, 2005 at 1:49 pmFatal error: Call to undefined function: giraffe_have_lead() in /mnt/web_f/d36/s13/b024fd4b/www/wordpress/wp-content/themes/giraffe/index.php on line 7
Just installed v1.12.
raDIO says:
Added on July 21st, 2005 at 6:33 pmThere are many problem of validation W3!!!
Dave W says:
Added on July 22nd, 2005 at 4:01 pmI figured out the undefined function: giraffe_have_lead(), deleting and re-installing the plugin fixed it. I did try this the first time, but something must not have gone right, or there is a particular order required for a proper upgrade. Anyway all is well again, still lov'in the theme. Now if only I can gets some decent content going so I can get some commenting.
nauk says:
Added on August 10th, 2005 at 6:49 pmYour theme is very cool! I especially like the silver one.
Philippe says:
Added on August 21st, 2005 at 1:34 pmJohn, I am a newbie. I installed your themes, very nice and when I try to update options it give me this message : "Problem updating files - is the theme directory write-enabled?". Everything run on Mac os X, I check the permissions of the themes directory and it is read and write for user and group .... What is it that I am not seeing?
John (blog author) says:
Added on August 22nd, 2005 at 12:16 pmThere must still be some permissions problem. When you press 'Update options' it tries to overwrite the current style.css and index.php - both of these must have write permissions too.
Brian says:
Added on August 24th, 2005 at 9:15 pmThe theme is perfect I have been looking for GUI theme editor for a while, Thank!! Question, how would I add the sidebar "pages" above Archives, I feel that is key to my website. Please be detailed I am very bad at editing PhP.
John (blog author) says:
Added on August 24th, 2005 at 10:59 pmEdit /wp-content/themes/giraffe/sidebar.php and add the following line before the Archives:
<?php wp_list_pages('title_li=<h2>Pages</h2>&depth=1');?>So you should have something looking like:
<?php wp_list_pages('title_li=<h2>Pages</h2>&depth=1');?>
<li><h2><?php _ge('Archives')?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
Keith says:
Added on August 25th, 2005 at 10:01 pmtrying to install the plugin because I'd love to be able to configure this theme, and for the life of me, I CAN NOT get the plugin running properly.
I keep getting this error:
Fatal error: Call to undefined function: load_theme_textdomain() in /home/.salazar/kcausin/indiekids.org/wp-content/plugins/giraffe/giraffe.php on line 11
John (blog author) says:
Added on August 27th, 2005 at 6:00 amHi Keith, what version of WordPress are you using? I haven't checked, but I believe the theme will only work on version 1.5+. Look in the /wp-includes directory for the file 'wp-l10n.php' - this WordPress file should contain the function that is causing an error.
Michael says:
Added on August 29th, 2005 at 1:46 pmI have just installed the giraffe theme for my daughter, but I seem to not to be able to get past these two issues.
Started looking at code but was unable to figure out the issue.
ERRORS are:
Warning: main(giraffe.php): failed to open stream: No such file or directory in /home/.sites/28/site188/.users/100/cristina/web/wp-content/themes/giraffe/header.php on line 1
Warning: main(): Failed opening 'giraffe.php' for inclusion (include_path='') in /home/.sites/28/site188/.users/100/cristina/web/wp-content/themes/giraffe/header.php on line 1
Things I have checked.
- another user can read file
- permissions
- downloaded the theme again
I am not sure if you have a quick fix or can point me in the right direction.
Daughter would love to have the theme.
Thanks in advance.
Michael
John (blog author) says:
Added on August 29th, 2005 at 11:02 pmIf I try and access the giraffe.php file directly on your website I get the same error message that Keith reported a few days ago here. What version of WordPress are you using?
Michael says:
Added on August 30th, 2005 at 2:06 pmJohn I have the newest version of WordPress version 1.5.2.
Otherwise I am lost on where to go from here.
I disabled the plugin as well which did not improve or change the error.
Michael
John (blog author) says:
Added on August 31st, 2005 at 11:51 amI've updated the theme to 1.18, which fixes a small problem that might have caused your error. Let me know if that helps.
Michael says:
Added on August 31st, 2005 at 1:17 pmThanks John for the info.
I have removed the older version of the giraffe theme and plugin and installed the newer version.
The results funny enough were exactly the same meaning the error stayed consistant.
I was tried to find an older version of your theme on the web just to verify if the theme is the issue or WordPress.
I mean you never know it could be someone elses issue and not yours.
Michael
David A says:
Added on September 1st, 2005 at 9:38 pmHi John,
The only question I have is about getting the trackbacks to show like you have here. It seems that the download version doesn't have that feature. Am I missing something?
joshua says:
Added on September 2nd, 2005 at 10:37 pmI tried running the plugin in my blog and it gave me an error about function _g() being undefined. I'm running a stock WP 1.5.2, no mods, just some themes I've uploaded. After jiggling some stuff around I'm able to activate the plugin w/o errors, but I don't see any effect so I think it's not really active. Where is the admin UI for the theme supposed to be?
John (blog author) says:
Added on September 5th, 2005 at 12:46 pmMichael, sorry to take so long to respond. I'm stumped as to why you are receiving the error. I took a fresh copy of the latest WordPress, installed it on my computer along with the Giraffe theme, and everything worked fine. It's possible that your host has some strange configuration problem. Could you type this into a file:
<?php phpinfo () ?>
Put it on your website, and send me the link. It will tell me what PHP configuration you have so I can try and see where the error is.
Also, try disabling all plugins and see if that has any effect.
John (blog author) says:
Added on September 5th, 2005 at 12:47 pmJoshua: The admin UI is in the 'Options' menu, just underneath in the submenu. The latest version 1.18 should have fixed the _g() undefined error.
John (blog author) says:
Added on September 5th, 2005 at 12:49 pmDavid: The version for download is the same version I use! Double-check your WordPress configuration to make sure you've not disabled trackbacks
Ronnie says:
Added on September 6th, 2005 at 4:29 pmFatal error: Call to undefined function: get_the_category_list() in /home/dctheatr/public_html/reviews/wp-content/themes/giraffe/index.php on line 7
Any ideas?
Michael says:
Added on September 7th, 2005 at 12:07 pmJohn thanks for not forgetting us.
Since I last posted the theme has been downloaded again and uploaded again. As you can see by the original link the results are the same.
All plugin's have been disabled which did not help.
I have included the php info link which might be helpful.
Thanks again for the help.
Michael
John (blog author) says:
Added on September 7th, 2005 at 1:11 pmRonnie & Michael: Try version 1.19, I think I've cracked both the problems!
Ronnie says:
Added on September 7th, 2005 at 3:03 pmGettingthere...
Get this when trying to update from options plugin
Problem updating files - is the theme directory write-enabled? (It is)
Get this on all posts
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT category_nicename FROM wp_categories WHERE cat_ID=
Michael says:
Added on September 8th, 2005 at 11:38 amThanks John
It works for me.
Maybe you can clue us in on what it was?
Thanks a bunch.
Michael
John (blog author) says:
Added on September 8th, 2005 at 4:34 pmThe problem was a result of the differing configurations of PHP that web hosts install. Your particular host doesn't seem to have set the search path, which is what tells PHP where to find files. As such the header file couldn't find the giraffe.php file, even though it was in the same directory. I changed it so that it specifically looked in the same directory.
Ronnie says:
Added on September 8th, 2005 at 7:46 pmWell I have figured a little out
Thanks John for the patience
I started another fresh WP install
When I activate permalink I get the error:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1]
Only using permalink!
I get the "write-enabled" error using my current blog or the new test one.. when trying to use the plug-in. The folders are write enabled though
Ronnie says:
Added on September 10th, 2005 at 10:12 amJohn
When the update is processed does the code point to a particular blog structure or or is it written in such a way that the actual structure (where wordpress is installed) does not matter. I still get errors when using permalink or the plugin although everything else is fine.
Ronnie says:
Added on September 10th, 2005 at 11:42 amSo this seems to be all related and here we go.
After activating permalinks (which works) this error pops up at each page though the page loads fine:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT category_nicename FROM wp_categories WHERE cat_ID=
Also when clicking "Uncategorized" at:
Posted on September 10th, 2005 in Uncategorized. 1 comment.
I get a "404" page not found
I still get an error when trying to update the style using the plugin that tells me the theme folder may not be writeable but is not the case. This is not of real importance to be as I like the theme as is but may be related to the above.
If anyone has any ideas on these issues please let me know. It's driving me nutz!
Thanks in advance.
John (blog author) says:
Added on September 11th, 2005 at 1:38 pmHi Ronnie. The write permissions error may be caused by a very security-consious host. Try setting the write permissions for both the directory and all the files inside it.
Do permalinks work for you with another theme? The function that is causing the error you described is not directly called by the Giraffe theme. Permalinks often cause problems on hosts where there are write-permission problems or the .htaccess URL rewriting is not working properly. If you disable permalinks and everything works fine then check the permissions on the .htaccess file.
Ronnie says:
Added on September 11th, 2005 at 6:43 pmActually permalinks works fine on my present theme. Only when I turn them on with Girraffe do I get the error. I have the theme installed in a test directory and have actually tried making every theme file and folder writeable. Same with .htaccess
Oh well...
Ruby says:
Added on September 13th, 2005 at 6:07 amVery nice theme, I really like the plugin controls! SO far I have mode one addition which is to change the_content to the_exceprt in the index. I figured out I had to change in the plugin or it would get overwritten with changes.
I woud lliek ot make a request for a future version. In the control, please offer options for date formatting. I just noticed that the site says "Older posts: 12/05/2005." I assume this is European formatting because we haven't written any posts in December 2005 yet!
I can change this myself in the template, but the users I setting this up for can't. This would be very simple to add to the theme options page.
Thanks again. This is great work!
jan says:
Added on September 19th, 2005 at 3:52 amI'm pretty new at this stuff, kept on getting errors when i try to change the options in the giraffe theme. how do i make thetheme directory and file writeable? also, can I change the bar at the top? without th giraffe?
jan says:
Added on September 19th, 2005 at 4:08 amalready got it...thanks for the nice theme!
madsea says:
Added on September 20th, 2005 at 12:41 amhello, John, I like your theme. Like other friends, I updated Giraffe
theme. Now I have a question: how to switch the color scheme?
John (blog author) says:
Added on September 20th, 2005 at 10:59 amInstall the Giraffe plugin (at the top of this page) and you will have an extra menu in the WordPress administration screen. From there you can change the colour scheme.
Neil0r says:
Added on September 21st, 2005 at 3:59 amHey John, Sweet theme man...its sexy and perfect for what I need. BUT, its generating an error that I cant seem to figure out.
Warning: Failed opening 'giraffe.php' for inclusion (include_path='') in /home/sites/site18/users/sb.neil/web/wp-content/themes/giraffe/header.php on line 1
I've installed WP with various themes a number of times before without problem (although never on this server)
Server: PHP Version 4.1.2 | Apache
Also not sure if its relevant but I've changed all the CHMOD permissions on those files mentioned in the install instructions to make them all writable, i.e.- 666...
Andrea Pokrzywinski says:
Added on September 23rd, 2005 at 3:21 pmHi John,
I love the theme editing plugin. I love it better when I can get it to work. Here's the error I am getting "Problem updating files - is the theme directory write-enabled?" I have given read write permission to everything on the server. Hummmm.
I am hoping you can help!
Andrea
Kosh2 says:
Added on September 24th, 2005 at 1:05 pmI havbe installed the update 1.19 from 1.17. Why does my site now look like this? http://ccgi.andre02.plus.com/wordpress
This wonky appearance is evident in both IE and firefox
John (blog author) says:
Added on September 27th, 2005 at 6:12 amAndrea: Somewhere there has to be a file or directory with incorrect permissions. Some web hosts can require the permissions to be given to 'group' or 'other', not just the user. Try setting the permissions in the giraffe directory to 777
John (blog author) says:
Added on September 27th, 2005 at 6:17 amNeil0r: Are you using the latest version of the theme? This problem has been mentioned before in the comments here, and I should have fixed it in version 1.19
John (blog author) says:
Added on September 27th, 2005 at 11:32 amKosh2: I'm not sure why, but the HTML for your page has
<id=" page">, when it should be<id="page">- notice the extra space. So what is happening is that the browser cannot match the style for the page to the item in the HTML.Quite why this space has appeared I don't know. It's not in the theme itself, so maybe it was introduced when transferring over http://FTP. Either way you can fix it by removing the space from header.php yourself, or re-downloading the theme and transferring header.php over your existing file.
Kosh2 says:
Added on September 27th, 2005 at 2:40 pmmany thanks, that did the trick. I doubt I would have ever found that. Now I will settle back and read your themes guide which I have now bought
Kosh2 says:
Added on October 10th, 2005 at 1:48 pmis there any way to add a link to thetop navigation bar. I want to add in the link to my gallery2 along with the pages links but can't figure out how.
Ann says:
Added on October 15th, 2005 at 7:01 pmHow are you implementing switching between localized versions of the theme on the fly? I'd basically like to provide the localization menu you have here. Any way you could add this as an option to your plugin script? (Apologies if it's somehow in there already and I've missed it...)
Ann says:
Added on October 15th, 2005 at 7:09 pmGoogle is great. You just answered my question:
http://www.urbangiraffe.com/2005/07/18/wordpress-localization-menu/
John (blog author) says:
Added on October 16th, 2005 at 1:44 pmKosh: Unless you configure it otherwise, the links in the top menu are WordPress pages. If you want to add a new link you can just create a new WordPress page and insert the relevant details there.
John (blog author) says:
Added on October 16th, 2005 at 1:55 pmAnn: Google does indeed see and know all. The localization menu is going into the next version of the theme anyway (although don't let Google know just yet), probably with a bit more customisation options.
robbie says:
Added on October 17th, 2005 at 12:47 amHi guys, great theme!
Only thing is i can't get my hspace & vspace to work on left or right aligned images.
anybody got a clue?
John (blog author) says:
Added on October 18th, 2005 at 1:54 pmhspace and vspace are deprecated HTML attributes and may not be supported properly. You can achieve the same effect with CSS padding.
Simone says:
Added on October 28th, 2005 at 4:54 pmDear John, I really like your template and I would like to use it for my blog site but I have a big problem with your plugin. I followed your instructions to install it, I use the last version of wordpress 1.5.1.3. I saw also the wp-l10n.php in wp-includes and it includes the function: Fatal error: Call to undefined function: load_theme_textdomain() in ....wordpress\wp-admin\giraffe\giraffe.php on line 11 . I just unzipped the giraffe-plugin file in wp-admin because after I active the plugin on my panel control and I go to option - giraffe theme the screen show me another error because it doesn't exist the file giraffe.php on wp-admin/giraffe.. so I installed also there the plugin but on line 11...crack.
Can you help me ? OSrry for my english but I'm Italian and I'm not so practice to write in english.
Thanks
John (blog author) says:
Added on November 3rd, 2005 at 6:47 amHi Simone, I've released a new version (1.20) which might solve the problem you've experienced. Give it a try and let me know.
Mr. Grinch says:
Added on November 3rd, 2005 at 10:27 amhey, I just get
"The requested URL /wp-admin/giraffe/giraffe.php was not found on this server." when I try to access the giraffe-plugin options settings, probably because I did not copy any files into teh "wp-admin"- section (neither theme-files nor plugin-files).
is this just me or is it a bug ?
cheers, Grinch
MrBlue says:
Added on November 4th, 2005 at 2:56 amJohn,
Your Giraffe theme is beyond excellent, thank you for making it available to us.
I have 1.19 on my site, edited to my liking, and was wondering if this new version (1.20) had any major chages?
I looked at the new php files (didn't install) and I saw new options for a random logo, locale switcher and a few layoutX.png files. What are the changes John?
Cheers
John (blog author) says:
Added on November 5th, 2005 at 7:01 amMost of the changes are in the admin interface. A full list can be found here. If you want to give it a try you can make a copy of your existing giraffe directory, just in case the new theme changes your modifications!
Eivind says:
Added on November 7th, 2005 at 1:52 pmI plainly copied your example for editing the top navigation bar, but nothing happened. Is there a tiny typo, or is something else than refreshing the page required?
John (blog author) says:
Added on November 8th, 2005 at 2:31 amNot as far as I can tell. I copied the code directly from this webpage and put it in
wp-content/themes/giraffe/giraffe_functions.php. I then refreshed the page and the navigation bar contained the two choices in the code.Eivind says:
Added on November 8th, 2005 at 2:55 pmBlimey. It works. Soory foo beein stoopid. Come to think of it, there is one possible source of error: I used the Wordpress editor (chmod set to 666 for the functions file), but it didn't seem to update after editing. But this one works, though. Thanks!
boba_hina says:
Added on November 11th, 2005 at 4:05 pmi selected the show calendar option, but it is not showing.
also, installed ja.mo as instructed, but won't switch back to english. have the line in wp-config.php as: define ('WPLANG', 'ja');
John (blog author) says:
Added on November 12th, 2005 at 5:10 amSmall bug in the code prevented the calendar being displayed - try version 1.22. To revert back to English change the wp-config.php line to be:
define ('WPLANG', '');Collection Attorneys says:
Added on November 13th, 2005 at 12:17 pmThanks for the theme - awesome!
cristian says:
Added on November 21st, 2005 at 11:34 amI suggest you to change the query in giraffe_comments() from
$comments = $wpdb->get_row ("SELECT count(comment_author) FROM $wpdb->comments WHERE comment_approved=1", ARRAY_N);
to
$comments = $wpdb->get_row ("SELECT count(comment_author) FROM $wpdb->comments WHERE comment_approved='1'", ARRAY_N);
that is to quote the number 1.
In my local site I use mysql 5.0 and the original query return always 0.
Bye
John (blog author) says:
Added on November 22nd, 2005 at 4:53 amThanks Cristian, I'll include that in the next version!
cristian says:
Added on November 30th, 2005 at 9:30 amHi,
I downloaded the 1.23 version and I noted that now the category view doesn't work any more.
Any idea?
cristian says:
Added on November 30th, 2005 at 10:09 amWhen I click a category view I have the following error:
Fatal error: Only variables can be passed by reference in /home/user/local.mysite.it/blog/wp-includes/classes.php on line 629
cristian says:
Added on December 1st, 2005 at 1:32 amI changed the line 629 of /wp-includes/classes.php from:
$category = &get_category($this->get('cat'));
to:
$tmp = $this->get('cat');
$category = &get_category($tmp);
and now works. I had the same problem with other things (for example the wp gettext wrapper for internationalization) and I suspect this is a php 5.x issue.
Bye
Matteo Raggi says:
Added on December 13th, 2005 at 2:45 amvery good and pretty them, but I'll wait to be more expert with wordpress to use it, see ya!
Gerard says:
Added on December 14th, 2005 at 6:51 amWell, made the Dutch translation for the Giraffe theme. Use this link.. http://www.konning.com/wp-images/blog/giraffe_nl_NL.zip
Have fun!
PA says:
Added on December 22nd, 2005 at 5:12 pmThis theme seems interesting, as there are not too many fluid themes for Wordpress. Thanks for your work!
However, I have a problem. Having copied the giraffe directory into the plugins directory the WP administration environment of mine stops working. I.e. whichever administration page (or even the main blog page) I try to acces, all I get is an empty white page (I have tried several browsers).
When I then remove the giraffe directory from the plugins, everything works well, except for the plugin, of course.
This happens with the newest version 1.2.3 and a fairly new version of WP (1.5.2).
PA says:
Added on December 27th, 2005 at 8:36 amWell, reinstalling WP seemed to do the trick...
Lazyllama says:
Added on December 28th, 2005 at 4:15 amGiraffe seems to work nicely under WP 2.0 too, which is good news.
One thing I've added to my copy is a Next Post/Previous Post link on the single.php page so that users can easily navigate through posts chronologically. There may be another way of doing it but I couldn't see anything obvious.
aquazero says:
Added on December 31st, 2005 at 1:49 amHey John, thanks for your wonderful theme and plugin. I think in the customization plugin, you should include page (as in the "write static page option") customization. Thanks again...
ughly says:
Added on December 31st, 2005 at 7:02 pmNice theme.
What file do I need to edit to change the pathname to the "Home" link?
Thanks ...
apa666 says:
Added on January 2nd, 2006 at 9:33 amVery nice theme. Possible bug though: the "Show icon for external links" option doesn't seem to do anything; the links get icons whatever I set this to. I am using Wordpress 2.0.
John (blog author) says:
Added on January 4th, 2006 at 2:16 amI'll be releasing a new version soon which will fix some of the small bugs as well as being fully 2.0 compatible (it currently works fine, but the theme is doing a lot of work that 2.0 itself can do).
Ughly: You need to change the blog address from the WordPress administration screens (under Options)
Guy says:
Added on January 13th, 2006 at 6:14 amWill you release a BiDi version of the Giraffe theme?
John (blog author) says:
Added on January 14th, 2006 at 3:08 amWhat is BiDi?
Candace says:
Added on January 24th, 2006 at 5:21 pmHello, I am new to wordpress themes but think I'm pretty proficient at editing them and figuring out what to do. I very much enjoy your theme and your tutorials. However, I am having difficulty with the giraffe plugin. I have unzipped it and copied it to my plug-in folder via an ftp program. For some reason, the plug-in does not show up as an option on my plug-in page in the admin area. Do you have any idea what I could be doing wrong?
John (blog author) says:
Added on January 25th, 2006 at 12:23 amHi Candace, did you upload the plugin as a directory? Inside your /wp-content/plugins directory there should be a 'giraffe' directory, inside which are all the plugin files.
Mohan says:
Added on February 4th, 2006 at 12:48 pmHey,
Big problem...
I was running Giraffe fine until today. I upgraded to WP 2.1
And zack goes the theme...All images are gone...Check it out at http://www.blogforpeace.org
Please help me...Except the images, everything else is OK...
Please help QUICKLY...
Mail me at mohan@blogforpeace.org
Mohan
Mohan says:
Added on February 4th, 2006 at 10:43 pmNo matter... I got it OK now...It was just a matter of permissions
I edited the permissions to un-readable =_= Sorry for the inconveniece
Mohan says:
Added on February 4th, 2006 at 10:47 pmHey, a suggestion for your next version : When the options are edited using the plugin, all files are overwritten, and all things that I configured(eg. : ads on the post page, custom cursor via css) etc. were lost.
So, if theres some mechanism to edit the current files, without overwriting, it would be cool. One way to do it would be to just take the source from the file itself.
Thanks,
Mohan
Jude Brown says:
Added on February 8th, 2006 at 10:20 pmAwesome, awesome, awesome.
Can't get the RANDOM feature to work.I get no error messages or anything it's just me images in the logo folder don't show up at all.
Thoughts?
Thanks,
Jude
John (blog author) says:
Added on February 15th, 2006 at 2:23 amProbably best to leave the random feature for the moment. It was a nice idea that turned out to cause a lot of problems. Maybe in the next version!
fournier says:
Added on February 15th, 2006 at 1:33 pmi realize that there must be a simple fix for this, but i can't seem to figure it out...
i'd like to remove my links from my sidebar, but keep them visible on my links page that i've created using a plugin on a static page. i can't figure out how to cut them out of the sidebar. there doesn't seem to be a "get links" function in sidebar.php, so i'm not sure what i need to remove to stop them from showing up there.
any help would be much appreciated!
John (blog author) says:
Added on February 15th, 2006 at 7:46 pmThe links are in this bit of code:
<?php if ( is_home()) { ?>
<?php get_links_list(); ?>
<li><h2><?php _ge('User')?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</li>
<?php } ?>
Delete that line and they will disappear.
Jude Brown says:
Added on February 17th, 2006 at 9:12 amHey All,
How do I get the author of the post to show up? I realize there are various bits of code for this but I am unsure which one to use and importantly where in my theme/giraffe/index.php to put it?
Cheers,
Jude
PS: I have tried several times unsuccesfully....should have paid more attention in class.
Jude Brown says:
Added on February 18th, 2006 at 9:26 amI have put the code in various places but no matter what I do my formatting gets messed up. Additionaly if I update anything on the options page anything I have done manually disapears. The format being messed up isn't the end of the world so I have left it as is for now. Feel free to check it out.
http://www.broley.org/
Cheers,
Jude
fournier says:
Added on February 19th, 2006 at 9:55 pmhey, thanks!
Jude Brown says:
Added on February 21st, 2006 at 5:51 pmThanks for all the help John!
Volker says:
Added on March 13th, 2006 at 6:53 amHi John,
two questions:
(1) Additional CSS
I'm using additional CSS to format parts of my pages. Everytime I update the options using your giraffe management plugin, the CSS changes in style.css are lost.
I'm quite new and unexperienced in css, so do you have a quick-tip how to keep my own css?
(2) Language Switch
This does not seem to work in my staging environment (WAMP 1.6.1, I'm using it based on your great tutorial! Thanx & kudos for that!!).
Am I right that the user is supposed to switch the theme's (and thus the blog's) language by one click? I don't care about the post/page content, as I will write in English and German, but changing the UI would be great!!
The second issue is more important to me, I can live with the current css management as I won't update giraffe too often in production.
Either way, my two (maybe three) websites will sing out loud the "urbangiraffe is great" message! :-)))
Many thanx for your help!!
With kind regards,
Volker
roman-abramovich.com says:
Added on March 14th, 2006 at 7:24 amCool theme! Thank u! I am going to try it for my blog (:
John (blog author) says:
Added on March 20th, 2006 at 1:42 amHi Volker, thanks for the message! You can put your CSS in 'extra.css'. This is not touched when you update the options.
As for the language switch, I might not have made this clear at all, but you need to modify wp-config.php - this is explained in another post.
Volker says:
Added on March 21st, 2006 at 4:12 amHi John!
I KNEW it! Someone like you would not forget extra css:-))))
ManyManyMany Thanx!
Volker
TourPro says:
Added on March 23rd, 2006 at 6:28 amI love this them, but I too cannot make the external link icon go way via the admin menu. Can you point me to where that function is or is there a way to make the admin work? WP 2.02, everything else works great.
Oh, when I make any changes via the theme admin, it resets the Stylesheet back to Giraffe defaults. I would love to play with this more, but everytime I do anything I have to manually edit the Stylesheet again. Any ideas on that?
Thanks.
Matthijs says:
Added on March 24th, 2006 at 1:43 pmHi, I found this theme and it look great and is just what I need. There is one thing I would like to add: a black color schema (something like http://www.sleepboot.net). My question: is there an easy way to add another colour scheme ? If I try to create that, would you add it to the theme ?
thanks!
John (blog author) says:
Added on March 29th, 2006 at 12:28 amTourPro: If you are modifying the core styles then there is no way to stop the stylesheet being overwritten. The only thing you can do is make your changes in the administration section first, and then your changes after. However, if you want to add your own CSS then you can put it in extra.css and it won't be touched at all.
If you do want to hard-delete the external link icons then you can modify style.css and delete the lines that start '.entry p a[href ^="http://' (but remember to do this after making your admin changes!)
Matthijs: It is possible to add colour scheme's, although not in a very nice way just yet. If you edit giraffe.php in the plugin directory you will find a section of code that looks like this:
$colours = array
(
"blue" => array (
'$pageborder' => '#5b5a61',
'$lightbar' => '#b8d2da',
'$midbar' => '#aac8d0',
'$darkbar' => '#8db8c3',
'$fontcolour' => '#2f3b4f',
'$subfontcolour' => '#6c64a8',
'$brightlink' => 'red',
'$link' => '#13076b',
'$quote' => '#f0f0f0',
'$sidebarback' => '#dbe6e9',
'$pagenav' => '#5a7095',
),
It should be pretty straightforward to copy and paste one of these and change the values for a black scheme. If you send me the colours I can then add them into the main theme for other people to use.
TourPro says:
Added on March 30th, 2006 at 8:42 pmExcellent, I'm only slightly intelligent when it comes to this stuff. I use the 'trial and error' method of programming. I've deleted the appropriate lines and the result is what I needed. Thanks!
Matthijs says:
Added on March 31st, 2006 at 7:38 amJohn, thanks for your reply. I tried, but changes the colors in the array doesn't make it possible to change e.g. the background color. It looks like these are fixed images ....
Christian Barmala says:
Added on April 1st, 2006 at 12:18 pmWordPress Widgets
You may already have heard about that new feature (http://automattic.com/code/widgets/) and may be already swamped by requests to add it to your theme (http://automattic.com/code/widgets/themes/), but since I didn't find a reference to it on your site, I like to ask: "Do you plan to support Widgets with your theme?"
Christian
Gnascher says:
Added on April 11th, 2006 at 3:15 pmI've been using the Giraffe theme, and noticed that it suffers from the the IE "Peekaboo" css bug.
http://www.positioniseverything.net/explorer/peekaboo.html
I remedied this in my blog by using the "Holly Hack" to tell IE to set the .entry class height to 1%. IE conveniently ignores height, and other browsers don't see the Holly hack, so this is a safe fix.
/* Hides from IE5-mac \*/
* html .entry{height: 1%;}
/* End hide from IE5-mac */
If you encounter disappearing text elsewhere, apply this hack to the appropriate container that has a float in it...
John (blog author) says:
Added on April 12th, 2006 at 3:48 amI'm releasing a new version very soon, which will include WordPress widgets, offer an easy way to add colours, and will include the 'Holly Hack'. Thanks for the suggestions!
Jimyboy says:
Added on July 22nd, 2006 at 5:33 amcool theme!
tnx u (:
i m going to try it for my blog
Eric says:
Added on November 4th, 2006 at 3:44 pmThat is, the Peekaboo fix . . .
marco says:
Added on November 15th, 2006 at 10:10 amhi, this is a very nice template.... i would like to test it, but but after the update
the browser show me this error
" Fatal error: Call to undefined function: get_header() in D:\Inetpub\webs\nextlyorg\giraffe\giraffe\index.php on line 1 "
how can solve this problem???
John (blog author) says:
Added on November 17th, 2006 at 2:31 amMarco, that sounds very much like your WordPress is broken. Do other themes work?
Bruce Teaford says:
Added on August 27th, 2007 at 10:37 pmI love the giraffe popping up with and blinking his eyebrow. I am a single man and send it to ladys saying that it is me when i first saw their picture, but i'm now having trouble copying it and it won't send in yahoo emails or IM. How do i fix that to make sure it goes out and is delivered ?
Thanks a bunch for this guy, he's made me a big hit with the girls.....
John (blog author) says:
Added on August 28th, 2007 at 7:12 amI'm not sure what you mean Bruce!
Sam says:
Added on October 13th, 2007 at 11:37 amnice and clean looking theme. Any updates yet like fixed theme?
John (blog author) says:
Added on October 15th, 2007 at 1:10 amGiraffe2
FernandexAlex says:
Added on October 20th, 2007 at 6:25 pmOne of the best and beautifully coded theme i have ever seen.
Would definitely like to use it on my blog.
Thanks a ton mate!
David says:
Added on October 26th, 2007 at 3:37 pmthanks John. this feature with extra css will come in handy. Also i checked the giraffe2, looks really nice. Compliments from my side.