Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    history back button

    General Discussion
    3
    4
    432
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kooloo last edited by

      hi!

      is it possible to insert a simple back link like clicking on the back button in the browser?

      i tried this:

      <a href="javascript:history.back()"> Back </a>

      but everytime the link disappears after closing the editing window

      thanks

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @kooloo

        you can insert it here:
        0_1515499214448_Bildschirmfoto 2018-01-09 um 08.59.51.png

        The button might not work because Laytheme is a single-page-javascript-application.

        Have a look here:
        http://laytheme.com/documentation.html#custom-javascript

        All the best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • M
          mrrpringle last edited by

          Hi Marius,

          I've tried to add this to the source code, however it doesn't seem to work. Is this simple "history back" feature not available? Thanks in advance.

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @mrrpringle
            did you take a look at the link which I posted?

            There is a special way for Binding Click Events.

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            T
            H
            S

            Recent Topics

            • S

              New fade-in / opacity bug?

            • A

              Unable to update lay theme / to login wp admin

            • A

              New button feature not available

            • S

              Theme crashed - because of Polylang?

            laytheme.com