Do you want to Add the Get Shortlink button back into WordPress? Shortlinks are a shorter version of your URL, which is extremely helpful when sharing your website on social media platforms like Facebook, Twitter, and Instagram. Posts on these platforms are usually short and concise, which makes long URLs a bad thing. Unfortunately, in WordPress version 4.4 update, this button was removed.
If you heavily relied on this button for your social media needs, you are probably missing or have found another way to shorten your links. If not, I can help you restore this button very easily to resume your needs. Today, I will demonstrate how to add the Get Shortlink button back to WordPress.
Why Shortlinks Can Help Your Website
Social media is the most popular type of media in today’s world. Social media websites have the most traffic out of all websites in the world and that’s what makes them the best place to advertise. Facebook alone gets over 1 billion monthly users and the other platforms have their own insane stats. 1 billion is a huge number, but sometimes that is hard to fathom. 1% of 1 billion is 10,000,000, yes ten million, while .1% is 1,000,000. Tapping into even the smallest percentage is a huge win for any website.
Social media continues to grow year after year and how you present your information changes extremely often. One thing that remains constant is what is successful. Short and concise posts get the best results and shorter URLs help you achieve this.
How to Add the Get Shortlink Button Back to WordPress
Today, I will demonstrate how to add the Get Shortlink button back to WordPress. There are two ways to accomplish this. The first is to use the WP Bitly plugin to add it back. This is by far the easiest method because all you have to do is activate the plugin. If you are not a fan of adding another plugin to your website, don’t worry, you can use code. The coding method is extremely easy as well and takes just two simple lines of code in your theme’s functions.php file.
Method 1: WP Bitly
Let’s start off by clicking on Plugins and selecting the Add New option on the left-hand admin panel.
Search for WP Bitly in the available search box. This will pull up additional plugins that you may find helpful.
Scroll down until you find the WP Bitly plugin and click on the “Install Now” button and activate the plugin for use.
Visit any page or post on your website or create new ones and you will now see the “Get Shortlink” button back in its usual place.
Congratulations, you have successfully added the Get Shortlinks button back to your website.
Method 2: Coding Approach
Let’s start by logging into the cPanel and clicking on the File Manager option. The File Manager will allow you to access all of the files related to your website.
You need to locate your theme’s functions.php file. Click on the public_html directory, then click on the wp-content folder. Inside of this folder, you will find all of the content related to your website. Click on the themes folder and enter the folder of the theme you are currently using. Finally, right-click on the functions.php file and select the Edit option.
A pop-up window will show up. This box will warn you to create a backup of your files before editing anything. This will ensure that you can revert your website back to when it was working if something goes wrong. Click on the “Edit” button. A new tab will open containing all of the code from the file.
Copy and paste the following lines of code into your functions.php file:
These lines will add the Get Shortlinks back to your website. Once you have inserted the code into the functions.php file, click on the “Save Changes” button to finish.
Congratulations, you have added the Get Shortlinks button back to WordPress without using a plugin.
Effectively Use Social Media
The main use of shorter URLs is for social media platforms and if you are not using social media platforms, you will not succeed. These are the biggest and easiest ways to get the word out about your website. Every website and company of any size uses these platforms to get their messages and latest products out there. The reason is simple, it’s effective and has great results. Use social media to your advantage when you want to expand your website.
Which method have you chosen to use? Which social media platform do you like the best?
Author: Robert Giaquinto
Robert has been writing tutorials about WordPress and other CMS for over 3 years since joining the GreenGeeks marketing team. Thanks to this, he has had the opportunity to research and master several areas of WordPress including plugin usage, SEO, website design, and social media integration. When he is not creating content for WordPress, Robert is digging up new content ideas for environmental pieces. These range from the pollution in our air to the danger’s wildlife face. And with a bachelor’s degree in electrical engineering, he is always eager to discuss the way our technologies are affecting the environment, especially when it comes to solar energy.