COUNTER HRTML

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Added A COUNTER TO MY HOME PAGE. IT HAS DELETED ALL MY OTHER STUFF ON THE PAGE. HAVE NOT PUBLISHED SO CLOSED YOLA RE OPENED IT THE COUNTER IS STILL THERE AND THE PAGE IS STILL MISSING. ANY HELP PLEASE
Photo of alexwilliamtighe

alexwilliamtighe

  • 1 Post
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Philip Taylor

Philip Taylor

  • 355 Posts
  • 66 Reply Likes
There's a chance you may be able to recover it from cache, but I don't know it. DON'T re-start your page til you get a response from someone who knows - Staff or Gop (?) for instance.
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi alexwilliamtighe,

If you saved the page after adding the code, there is no way to revert back to your page prior to the save. If you haven't saved it, simply delete the HTML widget containing the counter code and if that is what broke your page, it should restore it back to where it was.

Let us know how it goes and if that helps.
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
It's good that you haven't published again. Your site on the internet will be the site without the counter. You can compare the code between the two (sort of)

To check the page content code Right Click your mouse on a blank part of the published page and View Source. You will see all the page code. Save that page's code somewhere as a plain text file. Create a new page with another name. Locate all the content code in your copied page but exclude the header and footer code.
Copy that and paste that into an HTML widget. Save it. That will be a back up of your original page if you can't recover anything of your original. Leave this aside for the time being.

Now follow Laura's instructions. If it reverts back that's great. If it has hijacked your page then you can use the saved code either as a guide and add the content back in as you did originally or if you are brave copy each section and paste it onto the page. Not guaranteed but has worked. Just take care that you are not including the header codes and the footer codes otherwise they will be duplicated and may cause problems.

If it works you probably won't be able to edit widget code as such but rather you will have to edit the raw HTML of all the content if you ever need to.

Don't publish again until you are really sure of what's going on as you are aware.