Discover in this tutorial how to add a shortcut to the web documentation in WordPress using code to help the end user.
Do you want to make your client’s life easier?
I’m sure they’ll appreciate you leaving them a document with instructions on how to make simple changes to the site by themselves:
- Insert a new post.
- Add a gallery.
- Modify existing texts…
In my case, I always create an extra page in their WordPress with all the content and make sure they can access it easily.
How? By integrating it as a new section in the WordPress sidebar.
This way, when they have a question while modifying their website they always have the documentation just one click away.
Are you interested in doing the same? These are the lines of code you need:
Snippet to introduce a shortcut to the documentation in WordPress
Add this fragment to the end of the functions.php file:
Just like that.
Now in the WordPress administration sidebar you will have a direct access called “Documentation” that leads to the page with the instructions you have prepared for your client.
All you have to do is create the page with the text, images and/or videos that will help your client under the “web-documentation” slug. But you can change it if you want, just adapt the previous code.
Remember to mark it as no-index so it won’t be indexed by search engines.
Genesis makes it easy for you from:
Topic SEO Settings > Meta Options for Robots
If you are using Yoast, you can also prevent it from being indexed from the ‘Advanced’ tab.
Now that you know how to create a shortcut to the instructions page in WordPress, you have no excuses to make things easier to your client.
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉