Use a WordPress Plugin for Frequently Used Text or Scripts
This post may contain affiliate links where, at no additional cost to you, I receive a small commission when products are purchased through those links. As an Amazon Associate, I earn from qualifying purchases. Any commisions earned helps keep this site sustainable. Click here for privacy policy.
Are you tired of typing or copy-pasting the same frequently used text on certain posts over and over again? Like disclaimers for sponsored posts?
Do you use scripts within your posts that stubbornly keeps changing each time you switch from text editor to visual editor?
I had both of these problems.
 
Especially frustrating was every time I updated a post, my Amazon CPM ad code script would get changed by WordPress (it would get smushed up rendering it useless) so I had to open up the Amazon Affiliate web page, find the code, copy the code, then paste the code onto my blog post and update it.
Some posts had two ads so I would have to remember to find the second add code and update that too. What if I decided to take out all the ads? I’d hate the idea of having to go into every single post to delete the ad code.
A simple soluction to these problems was to install a WordPress shortcode plugin that would create a shortcode where I could specify the text that I wanted. Then I could paste this specific shortcode into the post.
For example, instead of copying and pasting my disclaimer post at the top of every post that have ad links, I can just:
- Go into the shortcode plugin
- Create a shortcode called [disclaimer]
- Specify the disclaimer text I wanted displayed (i.e. This post contains affiliate links, etc etc…)
- Now I can just paste [disclaimer] into any blog post and the text I specified will show up automatically.
The nice thing about using shortcodes is that, in the disclaimer example above, if I wanted to change anything within the text (typos, wording), I can just change it within the shortcode plugin instead of going into every single post where the disclaimer appears.
At the moment I am using a plugin called Shortcoder by Aakash Chakravarthy.
Subscribe to my monthly newsletter and receive a FREE noodle guide PDF:
*We respect your privacy and will not send you spam. You may unsubscribe at any time.