For number 2, add the following
<?php }?>
<div class="prev_next_nav">
<?php posts_nav_link('','','« Earlier entries'); ?> <?php posts_nav_link('','Later entries »',''); ?>
</div>
<?php } else { // end foreach, end if any posts ?>
Sorry, I meant add the bit in bold to the index.php file.
Thread Starter
jinsan
(@jinsan)
<div class="prev_next_nav">
<?php posts_nav_link('','','« Earlier entries'); ?> <?php posts_nav_link('','Later entries »',''); ?>
</div>
for number 2 I copied the above into the index.php and after the get_header
and got the following:
Parse error: parse error, unexpected '<' in /home/jinsan/public_html/wp/wp-content/themes/gespaa/index.php on line 4
Where did I enter the exta < I can’t see it.
Any idea on numero uno?
EDIT: having followed you instructions properly the second time around it works, but it’s a bit odd at the bottom of the page.
Anyway I can get it at the top where the first post is? Additionally the >> turned into questions marks.
Might be better if I give a link to take a look at:
http://sekhu.net/wp
EDIT: I jut noticed that the icon for the comments does not appear in previous posts just on the main page. Very odd
Apologies. The « and » arrows should be « and » respectively
BTW, by default, the theme has been setup to not display the comments icon if there have been no comments:-)
Thread Starter
jinsan
(@jinsan)
ah you sneaky thing! well come on, I can pretend there might be a comment right? Sort of hope against hope?
Yeah will try the arrow thingy, I was going to do that anyway, wasn’t sure if you were doing some special voodoo. Is theme also designed for single posts without multiple pages? Just so I’m aware – I’ll check out other themes and hwo they do em until someone posts a solution
To be honest, I didn’t even know about multiple page posts. Learn something everyday:-) I’ll have to look into that one…
Thread Starter
jinsan
(@jinsan)
I guess no one writes as much shit I do – thanks again
Thread Starter
jinsan
(@jinsan)
OK well I solved problem one having just woken up – wasn’t too difficult.
The problem with number 2 is a bit more annoying.
The previous/next will display at the bottom of the page, but not at the top – it keeps giving me that error.
Aside from that, the bigger “problem” is that it simply ignores it within a post – click on a post offers no way to go to the next or previous entries.
Try downloading the gespaa_v2.zip and then uploading the single.php file to your theme directory.
BTW, how did you solve no 1?
Thread Starter
jinsan
(@jinsan)
template tag 🙂
<?php wp_link_pages(); ?>
Placed it after category as you can see on the site, but you can play around with it.
Thread Starter
jinsan
(@jinsan)
Ok that worked well enough – not sure I’m happy with the placement but, I guess I got other stuff to worry about for now.
Cheers
Well php code and placement are two different things. Obviously. 🙂
Thread Starter
jinsan
(@jinsan)
Well since the topic is Gespaa and 2 columsn and rather than start a new thread, can someone help me on a couple of problems again:
1) how to remove the white space bottom right of the page.
2) how to shift credit text into the footer image
Thanks in advance
http://www.sekhu.net/wp/