A little bug in the Greyzed theme
I really like the greyzed wordpress theme, but there was a small bug that really got to me – the “newer posts” and “older posts” links were reversed. This was a bit irritating – but luckily it is easy enough to fix.
If you are using version 1.0.4 of the theme, all you have to do is go to your admin area (wp-admin), and when the Greyzed theme is activated – click on the Editor link under Appearance (see snippet below).
Once in the editor – select Single Post (single.php) and find this part:
<div class="navigation-bott">
<?php next_post_link('%link', '<div class="leftnav">older posts</div>') ?>
<?php previous_post_link('%link', '<div class="rightnav">newer posts</div>') ?>
</div>
</div>
and change it to read:
<div class="navigation-bott">
<?php previous_post_link('%link', '<div class="leftnav">older posts</div>') ?>
<?php next_post_link('%link', '<div class="rightnav">newer posts</div>') ?>
</div>
</div>
That’s it! your links are now fixed. (I updated the post as per Goran’s comment below).
Popularity: 14% [?]
11 Responses to A little bug in the Greyzed theme
Leave a Reply Cancel reply
Categories
- Android (1)
- appengine (3)
- Be nice to your users (6)
- CakePHP (13)
- General (6)
- Googlemaps (3)
- Java (16)
- javaScript (5)
- jQuery (11)
- Seam (2)
- Security (5)
- Spring MVC (6)
- Spring Webflow (2)
- Ubuntu (1)
- User Interface (6)
- Wordpress (2)
- Zope (2)
Recent Comments
- paskuale: @Duck Ranger framework’s name: Yii (Yes it is)
- Hanzel: I’m having a hard time understanding why when i click “run as…” in the project it...
- paskuale: Great article, thanks to your article I realized the same thing but with another framework, I don’t...
- Radix: This indeed came first in google and saved heck lot of time for me. Thanks
- Aditya: Spot on!! Thank you!! Had no idea why this error was occurring.
- paskuale: @Duck Ranger framework’s name: Yii (Yes it is)
Archives
- April 2012 (5)
- March 2012 (1)
- February 2012 (1)
- January 2012 (2)
- December 2011 (1)
- July 2011 (2)
- June 2011 (4)
- May 2011 (1)
- December 2010 (3)
- November 2010 (1)
- August 2010 (2)
- July 2010 (2)
- June 2010 (4)
- May 2010 (4)
- April 2010 (5)
- March 2010 (3)
Growing Kiwis
Growing Kiwis is my free service for early childhood education centers, preschools, daycares, kindies and more- any group of children, really.
Let me know what you think!












Thanks for sharing this change with us, it’s a super theme and all these little hints, tips and tricks make it that much better!
Hi!
I’ve just applied the same theme to a blog that I’m setting up and found the same bug. I fixed it myself, but a bit differently. I my mind the “older posts” should point to the left and the “newer posts” to the right. So this is what I did:
<?php previous_post_link('%link', 'older posts’) ?>
<?php next_post_link('%link', 'newer posts’) ?>
In addition to your changes I switched the function names.
@Goran – yes, I see your point. I changed it as well for this blog and updated the post. Cheers!
Yeah, I’m with Chris – thanks for helping other people out who have the theme.
Also, nice touch with the photo of the girl in the bikini
Hi dear , can you help :: i am able to see all my pages on Mozilla firefox , but not on Internet Explorer witch give a error a the botom here is error,
Is any way to fix this issue and can you look on inernet explorer http://www.neciotv.com
thank you..
Message: Unterminated string constant
Line: 21
Char: 8
Code: 0
URI: http://neciotv.com/neciotvwp/
Message: ‘script.parentNode’ is null or not an object
Line: 25
Char: 713
Code: 0
URI: http://neciotv.com/neciotvwp/wp-content/uploads/shadowbox-js/38d81d42ef30ac1f746f9b2e7a646b40.js?ver=3.0.3
@radhames – This seems to be like a little problem with the code. If you do view source in Internet Explorer you see this in line 47
src='http://neciotv.com/neciotvwp/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js?ver=1.3.0'>
</script>
You have an extra > sign at the end of the second line above, just before the final
- I belive if you remove it – you should be alright.
Thank you duck ,,,,maybe is crazy question , but i was looking on the index.php and stysle.css i cant find that where your located the
can you tell me witch file to look for?
@radhames – It looks like this part is added by the nextgen gallery plugin. I think if you uninstall and reinstall it – you should be alright.
i did , but still the same
@radhames – Maybe this is an issue to ask the plugin author? http://alexrabe.de/wordpress-plugins/nextgen-gallery/
Cheers
my website is rocking -thank for the themes