• Resolved unseenmortal

    (@unseenmortal)


    I use the “more” function on my posts so it wont look very crowded on the main page. Every time i click the “Read the rest of this entry” below each entry, it redirects me to the whole page of my entry. I noticed that there’s no BACK button above, all i see is a link of the previous post. Are there any ways I could integrate something so that for all my entries when viewed as a whole, there’s a GO BACK button below or above the entry so users could go back to the page where they originally came from before they clicked my entry page? Is that possible? what should i Edit? tnx

Viewing 6 replies - 1 through 6 (of 6 total)
  • A little javascript would work.
    <a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true">Go Back</a>

    Thread Starter unseenmortal

    (@unseenmortal)

    Where do you advice me to place that javascript? What .php or .css file should i edit so it will only show every time i’m viewing the whole entry, maybe on the top of the title of my entry and below the previous post? Thank you..

    It would go in your single.php template if your theme has one.

    Thread Starter unseenmortal

    (@unseenmortal)

    Wow thanks Jeremy, my problem is almost solved.. are there any ways that instead of a “GO BACK” text link to bring me back to where i am previously, is it possible if its an image link? So when they clicked my self created GO BACK button, it’ll bring them back to where they originally came from? Hope you could include the code, thanks jeremyclark13

    Very easily.
    <a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true"><img src="https://yourlinktoyourimage.jpg" alt"Go Back" /></a>

    Thread Starter unseenmortal

    (@unseenmortal)

    Oh that’s great, tnx jeremyclark13.. my problem is resolved.. tnx

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding Back Button on my entries?’ is closed to new replies.