Did you add page jumps & back to top links into your post only to have them fail after a while? Or, even worse, they never worked at all, but you still want them! Don’t worry, I have the solution!
Are you mad because you thought you finally had the solution to your problem, only to have your readers complain the links are now broken?
Does it leave you feeling frustrated and confused? Well, worry no more! I have you covered yet again.
Table of Contents:
- Surprise! It doesn’t work anymore!
- So, what is the problem?
- What am I going to do about it?
- What to do before you fix the problem!
- How to fix the trouble:
- Step 1: Removing the added content:
- Step 2: Adding spaces where needed:
- Step 3: Removing the separated code
- My Conclusion:
- My closing remarks:
Surprise! It doesn’t work anymore!
I’m surprised that none of my readers have complained about this problem yet. In my article,” How to Create Easy Page Jumps & Back to Top Links in WordPress” I gave you two codes to create these links within your article. Those codes worked for two years, but now it’s a different story. I found out about the trouble only when I went to publish a new article, and none of my page jumps or back-to-top links were working. “Just great,” I thought, what now?
I played with the code for a few days and figured out what was happening. It seems for some unknown reason WordPress was rearranging the position and adding unnecessary code all by itself. Just wonderful! Now what was I going to do?
After many days of trial and error, I figured out how to retype the text code, rearrange the spacing, and remove unnecessary extras. So now, it’s working again, but for how long, I don’t know.
So, what is the problem?
After lots of research and asking around, I found out that some WordPress plugins can have this effect on a few select coding areas. No one could tell me exactly which plugins were responsible though. It seems it all depends on which plugin combinations you have, and which WordPress version update you’re using. Great! Now we have a mystery on our hands.
So, was my fix going to work for a while, or was it going to fix the problem for good? No one could answer that question either. When I asked, “What am I supposed to tell my readers? “ They only shook their heads and shrugged their shoulders. They had no idea.
What am I going to do about it?
Well, now I’m faced with this pickle, what do I do about this issue that I face alone? After much thought, I came up with this solution. I will write this article and again give out the code changes to fix the new problem.
Will it work? Yes, for a while. I’m hoping this fix will last for at least four years, just as the last fix did. If you’re one of the lucky ones who haven’t faced this issue yet, congratulations. If, however, you’re not that lucky here’s the solution for now.
What to do before you fix the problem!
I’m going to suggest that before you do anything else with your article you copy the whole thing, pictures, and all into another document. I copy and paste mine into a Word document to save it just in case something goes wrong.
With this backup in place, I can go ahead and fix my problem without having to worry about losing my whole article. This also gives me confidence to play with the coding, because even if I do mess it up, I haven’t screwed up my whole website, just one article. When this happens, all I need to do is replace it with my backup copy and I haven’t lost a thing. That takes a huge load off my mind when doing things like this.
How to fix the trouble
First, go ahead and use my original code from my other article. Here’s the link to that article in case you need to go back and get them.
How to Create Easy Page Jumps & Back to top Links in WordPress
Now, back to the teaching, this is a three-step process:
Step 1: Removing the added content:
Go ahead and paste the code I gave you before into your text area, just like before, but this time DO NOT REMOVE THE ASTERISKS YET. After you have them pasted into your code YOU MUST PUBLISH THE ARTICLE to see if they work or not. Seeing as you’re reading this article, I’m assuming they don’t.
Next, you’ll need to open your dashboard in another tab on your computer screen. You should have two tabs open with your dashboard on them for the same article.
Now, you need to go to the first asterisk marker within your code area and compare it to the code you copied into the other tab. Look closely, some of the added content from WordPress is small, such as extra quotation marks. It took me a long while to find these myself, they are easy to overlook. Here is what they look like.
NOTE:
I’m using the back-to-top error as my example, but this same technique applies to all the added-to-code errors.
Please look closely, you’ll notice that one set of quotation marks is smaller than the other set.
ONLY THE SMALL ONES ARE NEEDED.
Place your cursor behind the larger one and delete it, do the same for the other large one. Next, it’s time to click on update. You’ll need to look and see if your correction was applied or not. If it worked, good, if not try again. It should look like this when your corrections are made and accepted.
Step 2: Adding spaces where needed:
The next step is to add spaces between the code and other areas. WordPress was giving me something that looked like this.
Notice there isn’t a blank space between the and the “top” code.
It should look like this.
Above there are two lines with nothing in them before and after the “top” code. One on each side of it. This is how it should appear; another example is below.
Please, disregard the red squiggly lines in the image above, they were spelling indicators from Grammarly that showed up during my screenshot.
If it doesn’t look like this (minus the two red lines), please place your cursor behind the line above where the space should be and click on the enter button. This will put in a blank space for you on the line below, then click the update button again to save it.
Step 3: Removing the separated code.
Sometimes, the code you copy into the area gets separated during the process. Here’s what’s going on.
This first example is what it should look like.
If you look closely at the code, you’ll see I’m using my conclusion as a title in this example.
Here’s an example of the same code with the separation.
If you compare the two examples above, you’ll see it has been separated. It has divided the last part of the title code into two sections. It placed the first part at the beginning of the line above, and the second part at the end of that same line.
So, how do we fix this?
I opened my article up in a new tab on my computer, so I now have two of the same sites open simultaneously. Why do I do this? It’s to see what the code looks like BEFORE I add anything to it.
I then return to the first tab add my code to the text portion of that post and click on update. Open the text portion again in the same tab to see what it did, and how it looks. If it’s correct, you’re done.
If it isn’t, it’s time to again compare both tabs to see how it’s been separated. Once you’ve figured out what happened, you’ll need to CAREFULLY highlight only it, click copy on only that part of the code, and paste it onto the line below where it belongs. Don’t forget to do the same with the separated back part too. Click on update to save your changes.
Now, you can see why it’s so important to have two tabs open at the same time to compare with. Go check again on your website to see if all your links and jumps are working. If so, now you must go back into the coding and carefully remove the asterisks.
Click on the update button once more to save all the changes.
That should be it. You’re done.
That was a bit harder than the other parts, but now you know what to look for and how to fix it if it happens again later on.
My Conclusion:
I want to thank you for sticking with me through this whole article. It really shouldn’t have been necessary to write it in the first place, but who could have predicted that combining plugins with updated WordPress sites could mess with your coding for Page Jumps? Not me, that’s for sure.
In this article, we learned.
- That there was a problem with our Page Jumps,
- What caused the trouble?
- What was I going to do about it?
- What you should do before fixing the trouble.
- And the easy three-step process to fix the problems.
Now that you know what to do if this ever happens to you, you’ll be prepared to take action and get it solved right away.
Yes, I understand just how scary this whole process can be. But, if you take precautions beforehand and copy your work to another document, at least you have a failsafe way to get your work back. So, this process shouldn’t be as scary as it was before.
My closing remarks:
I hope you enjoyed this article and feel it has met all your needs. If for some reason I haven’t met your needs, please let me know how to better serve you in the comments area below, or by contacting me privately. I want to make it right.
If you have any questions about this article or anything else please feel free to leave a comment below. I would love to hear from you and help in any way I can. I’ll get back to you as soon as possible. (Usually within 24 hours or less.)
Do you feel this article has been helpful, and appreciate the information I’ve provided? If so, could you please share this article with your friends and family on your social media sites? This would greatly help my website grow, so more readers can access this information. I appreciate your support for this website and hope you’re willing to share this information with others. (Giving me credit of course.)
Don’t forget to: “Like”, “Share”, “Pin”, and “Tweet” to show your support.
Thanks for stopping by,
Lynne
Normally I do not read article on blogs however I would like to say that this writeup very forced me to try and do so Your writing style has been amazed me Thanks quite great post
It was impossible for me to leave your website without expressing my gratitude for the excellent knowledge you give your visitors. Without a doubt, I’ll be checking back frequently to see what updates you’ve made.
Thanks for your comment.
I’m so glad you found my
site useful and informative.
Hi everyone, it’s my first pay a visit at this site, and
article is in fact fruitful designed for me, keep up posting these articles.
Thank you for your response! I’m grateful for your willingness to engage in discussions. If there’s anything specific you’d like to explore or if you have any questions, please feel free to share them. Whether it’s about emerging trends in technology, recent breakthroughs in science, intriguing literary analyses, or any other topic, I’m here to assist you. Just let me know how I can be of help, and I’ll do my best to provide valuable insights and information!
This website is an absolute gem! The content is incredibly well-researched, engaging, and valuable. I particularly enjoyed the unique insights I haven’t found elsewhere. Keep up the amazing work!
Thanks for your comment and compliment.
I appreciate them both a lot. I’m so happy
that you’re finding my site useful.
Heya i’m for the first time here. I came across this board and I find It
truly useful & it helped me out a lot. I hope to give something back and help
others like you aided me.
Thank you for your comment.
I’m so glad my article helped you.
Please share it as a thank you to me.
I would apprecite it.
This website is an absolute gem! The content is incredibly well-researched, engaging, and valuable. I particularly enjoyed the specific section which provided unique insights I haven’t found elsewhere. Keep up the amazing work!
Thanks for your comment and your compliments.
I appreciate them both so much. It’s nice to
know that my article has provided you with
information that is useful. Thanks.
I genuinely savored the work you’ve put forth here. The outline is refined, your authored material trendy. I will revisit more regularly, akin to I have nearly all the time, provided you maintain this upswing.
I sincerely enjoyed what you have produced here. The design is refined, your authored material trendy, yet you appear to have obtained a degree of apprehension regarding what you aim to offer next. Certainly, I shall return more frequently, just as I have been doing almost constantly, provided you uphold this incline.
Thanks for the comment.
Sorry that I haven’t been updating this site lately.
I have some evry pressing deadlines on two others websites.
After i get those fixed and setteled, I’ll be able to work
more on this site. I hope you understand.
I genuinely appreciated what you’ve achieved here. The outline is tasteful, your written content fashionable, yet you appear to have acquired some uneasiness regarding what you wish to present forthwith. Undoubtedly, I’ll return more frequently, similar to I have almost constantly, should you sustain this upswing.
Thanks for your comment.
There is no uneasiness with my website or my articles,
I am writing them as I see fit. Sorry if that isn’t
very often, I have other websites to attend to and many
site problems that have to be delt with. I’m happy that
you’ll continue to visit frequently anyhow.
I do appreciate that.
I have read your article carefully and I agree with you very much. This has provided a great help for my thesis writing, and It will seriously improve it. However, I don’t know much about a certain place. Can you help me?
Thanks for your comment. I’m happy that my
article has helped you. You seem to have a
question about something though. I would love
to help, but I’m not sure where you’re stuck.
Can you please let me know in more detail what
the problem is?
I do trust all the ideas youve presented in your post They are really convincing and will definitely work Nonetheless the posts are too short for newbies May just you please lengthen them a bit from next time Thank you for the post.
Thanks for your comment and suggestion.
I appreciate both of them so much. This
article does have another part to it. I
would suggest you check the first part out too.
This is the very first time I visited your web page
and I’m surprised with the amount of research you put
into creating this particular article. You’ve lend a
huge hand to all of us with this information.
Amazing, Excellent job.
Thanks!
Thanks for your awesome ccomment.
It’s so nice to know all my hard
work is being appreciated and being
used. Thanks for kkeeping me informed.
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol.
Thanks for your comment and question.
I’m using a WordPress site and hosting.
They do not have affiliate links as far
as I know.
My brother recommended I might like this web site He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks.
Thanks for your comment.Yes, as a matter of fact,
I can emagine how much time you’ve spent looking
for this information. I know, because I searched for
this same information for several months befor I
finally got my answer and desided to write my article
on how it was done. I didn’t want any of my readers to
have to spend that much time searching in vain like I was.
I’m glad it all was worth it and you found what you were
looking for. You’re very welcome. As a thank you to me,
could you please pass my website link on to your friends
and family? That would help spread my message and help
my site grow. I would appreciate that very much. Thanks
in advance.
This comment has been transferred here by the admin of this site due to two websites being combined.
Tony R says:
I simply wished to share with everyone here that I have come across some truly amazing insights and discussions on this site. The degree of engagement and knowledge sharing is merely outstanding!
I am genuinely impressed by the thoughtful responses as well, there is a feeling of community here. It’s truly inspiring to become a part of such a vibrant website where ideas flow freely and everyone is so supportive.
Many thanks to all the contributors to make this site such an invaluable resource. Let’s continue steadily to help each other and grow together. Here’s to a lot more insightful conversations ahead!
Hello,
Im trying to find things to improve my web site
I suppose its ok to use some of your ideas.
Thanks for your comment.
Yes, you can use my ideas on your website.
You can also share them with friends as long
as you give me credit. I hope my stuff helps
you.
I spent over three hours reading the internet today, and I haven’t come across any more compelling articles than yours. I think it’s more than worth it. I believe that the internet would be much more helpful than it is now if all bloggers and website proprietors produced stuff as excellent as you did.
Thanks for your comment and compliments.
I appreciate them both so much.
Thanks for letting me know that my site
has helped you. It’s nice to know my site
is doing its job.
Hello Neat post Theres an issue together with your site in internet explorer would check this IE still is the marketplace chief and a large element of other folks will leave out your magnificent writing due to this problem
Thanks for the comment and consern for my site.
The trouble you’re talking about is a few of the
words get cut off on the sides. This is not a problem
with my site but with the many browsers. Because they
all have different sizes, not all articles will appear
the same on them. Unfortunatly, there is nothing I can
do about this issue.
I do agree with all the ideas you have introduced on your post They are very convincing and will definitely work. Still, the posts are very short for newbies. Maybe you could prolong them a little. Thank you for the post.
Thanks for your comment. This article was the
second in a series of articles, I suggest that
you go back and read both articles to get the
best information on this subject.
Hello, I want to say that this post is
amazing, great written, and includes
almost all significant infos. I would
like to see extra posts like this.
This is an amazing page. The outstanding information reveals the owner’s accountability. I’m in awe and eagerly await more amazing postings like this one.
Thanks for your comment and compliments.
I appreciate them both so much.
I very glad you like my site and find it useful.
This asset is unbelievable. The wonderful information exhibits the creator’s earnestness. I’m stunned and anticipate more such mind blowing posts.
Thanks for your comment and compliments.
I appreciate them very much. I’m so glad
you find my articles interesting and useful.
This is the very first time I frequented your website.
I’m surprised with the research you did to create this
particular article. You’ve put up amazing work.
You’ve outdone yourself with this one.
Excellent job!
Thanks for stopping by.
I’m glad you enjoyed my site.
I did do a lot of research to
write both my articles on this
subject. It’s so nice to know that
someone appreciates it all.
Thanks for letting me know.
Thanks,
I have recently been looking for info about this
subject for a while and yours is the greatest I have
discovered so far. However, what in regards to the
bottom line, are you certain?
Thanks for your comment and question.
I’m happy that my article has helped you.
Yes, I’m sure this works, but as I have
said in the article, please save your work
before you try this. That way if something
does go wrong, you have a back-up.
I do not even know how I ended up here but I thought this post was great I do not know who you are but certainly youre going to a famous blogger if you are not already Cheers
Your passion for your subject shines through.
Thanks for your comment.
I’m so glad you toldd me that,
it’s nice to know other people see that.
Thanks for stopping by.