• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » WordPress Link Title Attribute Restoration in Insert/Edit URL

By Abhishek Ghosh August 18, 2015 10:11 am Updated on August 18, 2015

WordPress Link Title Attribute Restoration in Insert/Edit URL

Advertisement

Old Users Are Not Finding Where Link Title Gone Away. Sadly, WordPress Link Title Attribute Restoration in Insert/Edit URL Officially Died. Why died? Because the newbies can not understand the difference between “Title” and “Linked Text”. In this guide, we will show WordPress link title attribute restoration with the hope, it will be a forward compatible solution.

 

WordPress Link Title Attribute Restoration in Insert/Edit URL

 

Clearly, there are two plugins for the work :

Vim
1
2
https://wordpress.org/plugins/restore-link-title-field/
https://wordpress.org/plugins/title-and-nofollow-for-links/

WordPress practically finalized that, they will not re-introduce it. The above plugins are for current problem. However, there are older plugins for kind of closer work :

Advertisement

---

Vim
1
https://wordpress.org/plugins/auto-insert-title-to-link/

 WordPress-Link-Title-Attribute-Restoration-in-Insert_Edit-URL

 

WordPress Link Title Attribute Restoration in Insert/Edit URL Via PHP Snippet

 

It is not hugely difficult to restore the function. We need to add a small function :

Vim
1
2
3
4
5
6
7
add_action( 'wp_enqueue_editor', 'restore_link_title_field', 20 );
function restore_link_title_field() {
wp_enqueue_script( 'wplinkTitle', plugins_url( 'restore-link-title-field.js', __FILE__ ), array( 'wplink' ), '1.3', true );
wp_localize_script( 'wplinkTitle', 'wpLinkTitleL10n', array(
'titleLabel' => __( 'Title' ),
) );
}

This is what the first plugin have. We need to load a bigger JS which is named as restore-link-title-field.js. Which is basically this one :

Vim
1
http://plugins.svn.wordpress.org/restore-link-title-field/trunk/restore-link-title-field.js

Download the script and upload to CDN or Server.

As we said in wp_enqueue_script function, we do need to load on Edit page on WordPress Admin only and for admin, the function enqueue for admin should be using add_action( 'admin_enqueue_scripts', however this is the easiest way to load a javascript at backend.

Vim
1
2
3
4
function custom_admin_scripts() {
wp_enqueue_script( 'admin-init', plugins_url('/lib/js/restore-link-title-field.js', __FILE__) , array('wplink'), '1.3', true );
}
add_action('admin_enqueue_scripts','custom_admin_scripts' );

You will add it on Child Theme of Theme’s functions.php file or our basic plugin which works like functions.php file.

We have shown the method to add via snippet, but we think it is better to use the Plugin as it clean, written by long known person Otto, there is no reason to run behind trial & error methods. Be careful about the location and probably you need to manually upload the js to CDN.

This Article Has Been Shared 708 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress Link Title Attribute Restoration in Insert/Edit URL

  • Exploit Scanner: a plugin to check WordPress themes,plugins malicious code

    The Wordpress theme or plugin you have downloaded might contain malicious codes, hidden affiliate links, link to other websites etc.

  • WordPress Tutorial Series : Must Have WordPress Plugins

    WordPress Tutorial Series is a continuing saga for the new WordPress users. In this WordPress Tutorial, we will tell you about some essential WordPress Plugins.

  • Scrollable Image Plugin for WordPress : Dev Build

    Scrollable Image Plugin for WordPress is on developmental stage and developed by TheCustomizeWindows. Have a look, provide opinion on this free premium plugin.

  • Podcast and WordPress : Tips

    Podcast and WordPress can make the older posts more lively again. A small introduction Podcast can increase the conversion. Here is a detailed guide.

  • Post Specific Widget with Semantic Markup for WordPress

    Post specific widget with Semantic Markup for WordPress is a kind of template Plugin for more flexibility. You can create infobox like Wikipedia.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023

About This Article

Cite this article as: Abhishek Ghosh, "WordPress Link Title Attribute Restoration in Insert/Edit URL," in The Customize Windows, August 18, 2015, January 31, 2023, https://thecustomizewindows.com/2015/08/wordpress-link-title-attribute-restoration-in-insertedit-url/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT