Simple SIMPLE Wordpress Question! 2$ Make Next Page / Previous Page links into Images

Discussion in 'Programming' started by Mintyfresh, Oct 14, 2008.

  1. #1
    I see

    <?php if (is_single()) : ?>
    <div class="browse"><?php previous_post_link('&laquo; %link') ?> <?php next_post_link(' %link &raquo;') ?>

    In my archive.php and I want to make the previous page / Next page text links into banner links. I already have small banners made for it.

    2$ paypal to anyone that gets it. Post the answer here and your paypal email can be left here or pm'd.
     
    Mintyfresh, Oct 14, 2008 IP
  2. dawilster

    dawilster Active Member

    Messages:
    844
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    <?php if (is_single()) : ?>
    <div class="browse">
    <A HREF="url.com">link name</A> 
    <A HREF="url.com">link name</A>
    Code (markup):
     
    dawilster, Oct 14, 2008 IP
  3. catanha

    catanha Well-Known Member

    Messages:
    402
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    <?php if (is_single()) : ?>
    <div class="browse"> <?php previous_post_link('%link', '<img src="link to image">', TRUE); ?>  <?php next_post_link('%link', '<img src="link to image">', TRUE); ?>
    Code (markup):
    Tell me if it works ( i'll give you my paypal on PM )
     
    catanha, Oct 15, 2008 IP
  4. Mintyfresh

    Mintyfresh Peon

    Messages:
    65
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    It didn't work. Any other ideas?
     
    Mintyfresh, Oct 15, 2008 IP
  5. ASPMachine

    ASPMachine Peon

    Messages:
    723
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    If you provide me the functions previous_post_link() and next_post_link() then I shall try it.
     
    ASPMachine, Oct 18, 2008 IP
  6. dvirhazout

    dvirhazout Active Member

    Messages:
    691
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    you can do it with css...
     
    dvirhazout, Oct 18, 2008 IP