previous / next links at top and bottom articles


Author Message
Gerda

Posted: 5/27/2009
Quote message 

hello,

I wish to change my previous and next post links.
It is now showing at the top and at the bottom of my articles.
I wish to remove the top previous and next links.

Is it possible ? And how?
When I remove the lines below in single.php it is not showing on top and bottom.
:-O1 too much

<?php
$prev_link = get_previous_post_link('&laquo; %link');
$next_link = get_next_post_link('%link &raquo;');
?>
 
Bob

Posted: 5/27/2009
Quote message 

You have to take out the display part only. Not the function. Remove this...

<div class="Post">
<div class="Post-tl"></div>
<div class="Post-tr"></div>
<div class="Post-bl"></div>
<div class="Post-br"></div>
<div class="Post-tc"></div>
<div class="Post-bc"></div>
<div class="Post-cl"></div>
<div class="Post-cr"></div>
<div class="Post-cc"></div>
<div class="Post-body">
<div class="Post-inner article">

<div class="PostContent">

<div class="navigation">
<div class="alignleft"><?php echo $prev_link; ?></div>
<div class="alignright"><?php echo $next_link; ?></div>
</div>

</div>

<div class="cleared"></div>

</div>

</div>
</div>


This is the whole top block that it appears in. If you don't remove it all you get an empty block at the top. This take it all out.

- Bob
gdscomp.com

 
Garry

Posted: 5/27/2009
Quote message 

Quote Gerda:

hello,

I wish to change my previous and next post links.
It is now showing at the top and at the bottom of my articles.
I wish to remove the top previous and next links.

Is it possible ? And how?
When I remove the lines below in single.php it is not showing on top and bottom.
:-O1 too much

<?php
$prev_link = get_previous_post_link('&laquo; %link');
$next_link = get_next_post_link('%link &raquo;');
?>


You may want to post your website address here, I can suggest you some css hack on having URL
 
Gerda

Posted: 5/28/2009
Quote message 

http://www.ghaverlag.nl

thanks in advance
 
Gerry

Posted: 5/29/2009
Quote message 

I can't understand the language of your site.

I can't see any next and previous links on the URL you posted
 
Gerda

Posted: 5/29/2009
Quote message 

hey,

My site is for a client and it's Dutch O:)

Most of the pages are static, the blog can you find on 'nieuws'

Gerda
 
Polaris Web Design

Posted: 5/29/2009
Quote message 

Looks like it is working now.. nevermind.. just wanted to let Gerda know that I spotted Bob's post.. I posted in another thread and mentioned commenting out the display area of the prev/next links after taking a quick look but Bob was right there would be an area left w/o commenting out the entire code in single.php