ElegantBlue 1.1: Bug Fixes
Hey Guys! After a little research and some elbow grease, I figured out how to fix the trackback and comment number bug. Click Here to download ElegantBlue 1.1 or Click Here to download the ElegantBlue upgrade package, then just upload the files in the package to your themes/ElegantBlue directory and overwrite the old files.
If you want to update the theme yourself because of the custom mods you have done, here are the steps … Download the upgrade package, but only upload the functions.php file to your server. Then, you’ll need to edit the following files (with line numbers):
- index.php (line 41)
- archive.php (line 40)
- search.php (line 17)
- single.php (line 13)
Replace the following line …
<strong>Posted by <?php the_author_posts_link(); ?></strong> on <?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>#comments">Comments (<?php mw_comments('count'); ?>)</a> | <a href="<?php the_permalink() ?>#trackbacks">Trackbacks (<?php mw_trackbacks('count'); ?>)</a>
with this line:
<strong>Posted by <?php the_author_posts_link(); ?></strong> on <?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>#comments">Comments (<?php comments_only_number('0', '1', '%'); ?>)</a> | <a href="<?php the_permalink() ?>#trackbacks">Trackbacks (<?php echo trackpings('count'); ?>)</a>
And that’s it! Feel free to upgrade yourself, but be forewarned … because you are editing theme source files, you should be very careful. I cannot offer support for any damage you do while editing the source code. I HIGHLY recommend upgrading your theme by either reinstalling version 1.1 or using the upgrade package.
The Tags: no tags






16 Responses to “ElegantBlue 1.1: Bug Fixes”
Thank you very much for the update and for sharing the changes with us. I managed to do the manual update by changing the mentioned files.
Keep up the good work! :)
Regards,EJ
Comment made on October 24th, 2007 at 1:08 pm@Evert Jan
I assume that everything went ok? It looks like the trackbacks/comments are separated like they should be on your stories, right?
Nathan
Comment made on October 24th, 2007 at 1:13 pmWONDERFUL!!!
Comment made on October 25th, 2007 at 12:21 pmhi, thx a lot for the compliment! And that replacing line guide is really handy with the mod I did ;)
Comment made on October 25th, 2007 at 2:57 pmthx a lot !!!
Hi
First i would to thank you for dropping by my blog. I’m here to take a look at your there, very impressive, but can’t see the similarities with the other one theme you talked about on my blog.
Regards
Comment made on October 26th, 2007 at 11:05 amEmperor
Upgrade was easy, great job!
I would recomend two options to the theme.
1. Header entry in options so you don’t need to modify the theme to add meta tags
2. Option for number of posts to show on the frontpage.
If there are more option that are saved when the upgrade is done it would simplify upgrades.
Comment made on November 1st, 2007 at 9:52 amHi. I use your theme (with a lot of personal mods) for my blog. Very great work! Elegant and simple. Thanks!
Comment made on November 21st, 2007 at 8:58 amHi Nathan!
I really liked this theme but I am encountering a bug…
Some of the php code is showing up just after the tag list.
comment_type == “trackback” || $comment->comment_type == “pingback” || ereg(”", $comment->comment_content) || ereg(”", $comment->comment_content)) { ?>
The comments and trackbacks are being separated as they should be but before that the comments are showed again under the heading of ‘Trackbacks & Pingbacks’ and the above php code is also present. It happens even on a clean wordpress installation.
What could be the problem??
Comment made on December 6th, 2007 at 6:11 amHey Nathan,
Great work on the Elegant Blue Theme, I loved it and am using it on my site right now. A few things, that maybe even I can try to fix; 1- to change the number of posts on the index page to more than two; 2- The posts that do not appear on the index page do not properly access/display the images on the post itself. If you go to my site, you’ll see. I use a javascript function to create a pop-up window for the thumbnail image.
Let me know what you think or if there is a fix. You can email me back.
Thanks,
Comment made on December 11th, 2007 at 10:40 pmAwakash
Hi Nathan!
I mentioned in my previous comment about the bug I was facing with wordpress 2.3.1. I think there is some small mistake with the if..endif part. I corrected it myself on my local server and now its working excellent.
Please look into your download package and correct it as well..
Thanks!
Comment made on December 11th, 2007 at 11:30 pmIs there a problem with your download file?
I am attempting to download version 1.1, but I just get the dialog boxes with out any file transfer
Cheers
Comment made on December 21st, 2007 at 11:01 amScrap my last comment. I was able to get the files.
Looking at the theme now as a potential for my site.
Cheers
Comment made on December 22nd, 2007 at 4:44 amHi.
why my recent articles are not more than 2?
in options I have set up 10!!
Why?
Comment made on January 31st, 2008 at 12:01 pmThanks
sorry..
not recent articles but new post
thanks
Comment made on February 1st, 2008 at 6:44 amI have this error:
Fatal error: Call to undefined function: wp_list_categories() in /home/centinel/public_html/press/wp-content/themes/ElegantBlue/l_sidebar.php on line 18
Could anybody help me?
Comment made on March 7th, 2008 at 2:08 pmTrackbacks
[...] using on the site. The previous theme wasn’t widget enabled, so I’ve switched to ElegantBlue by Nathan Rice. I’m not sure whether I’ll stick with the3-column design, but I like the [...]
Comment made on February 10th, 2008 at 12:41 pmLeave a Comment