Is there a way to get it to skip a previous page if…

Top WooCommerce & WordPress Plugins Forums Back Button Widget – WordPress Plugin Is there a way to get it to skip a previous page if…

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #91409
    Gerard
    Guest

    Hi, is there a way to get it to skip a previous page if that page had a certain text in it’s url? So for instance, if I edited a post, saved it and then clicked go back, I’d like it to skip the edit page and go to the page before that.

    Thanks,

    Ger

    #91410
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ger,

    Sorry for the late reply. We could easily go two pages back with JS history.go(-2), however, I don’t think I know how to check previous page URL. I believe we can only check current page URL, and depending on that use history.go(-1) vs history.go(-2), but I don’t think that’s what you need?

    #91411
    Gerard
    Participant

    Hi Tom,

    Thanks for getting back to me.

    I look it up after I saw your reply and I now see why it can’t be done just though history. But what about if your plugin logged the last couple of pages visited. Since it’s all part of the same site, there shouldn’t be any privacy concerns and then you’d have the ability to go back to a specific previous page or in my case skip a page with certain text in the url?

    Might be a usp 🙂

    #91412
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Gerard,

    Again sorry for the late reply. That might be a good idea – will try to add it to the plugin. I will get back to you as soon as I can.

    #91413
    Gerard
    Participant

    Thanks Tom, that would be awsome. 👍

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.