WordPress removed that Link Title option field in WordPress TinyMCE Editor. Bring Back the Link Title Option in WordPress TinyMCE Editor and Checkbox for Nofollow Without Plugin. On Click the Popup will Offer Option. Previously we published another guide for WordPress Link Title Attribute Restoration in Insert/Edit URL, but this is updated. At the end of this guide, we will get these extra things :
Background of Restoring Nofollow & Link Title Option in WordPress Editor Without Plugin
We have copy-pasted stuffs from a known WordPress Plugin, which does the same work :
1 | https://wordpress.org/plugins/title-and-nofollow-for-links/developers/ |
Who are new users, they can use that plugin, one the other hand who are the advanced users, they can use our method and possibly modify more in future. It uncovers the function to edit the TinyMCE Editor buttons – that is a big matter to learn by the users. Additionally, one WordPress plugin is less is good for the health of WordPress installation. There are hundreds of stuffs which we say snippets needed to be added on Theme or Child Theme’s function.php
file. We have a easy plugin to add the needed snippets on Theme or Child Theme’s function.php file – read this guide to get that free of cost plugin. You will download the plugin and install. Then Edit the Plugin from WordPress Administration backend in Edit Plugin interface. You can add millions of snippets with that plugin instead of adding separate plugins. Obviously, you can add the below snippet in Theme or Child Theme’s function.php
file as alternative option.
---
We are not making you fool to install our Plugin – snippet is intended to be added on Theme or Child Theme’s function.php
file. We mentioned our plugin’s matters.
Snippet For Restoring Nofollow & Link Title Option in WordPress Editor
This is official WordPress Codex page for adding any TinyMCE button :
1 | https://codex.wordpress.org/TinyMCE_Custom_Buttons |
You need to add this snippet :
Can you see a Javascript named nofollow.min.js
? Where you will get it? Download that Javascript from https://thecustomizewindows.com/wp-content/plugins/nofollow.min.js.
If you are using our plugin to add the needed snippets on Theme or Child Theme’s function.php
file, then you will keep that Javascript inside /wp-content/plugins/
directory.
If you are adding the needed snippet on Theme or Child Theme’s function.php
file, then you will keep that Javascript inside /wp-content/themes/where-your-theme's-function.php-file-is
directory.
The Javascript also coded by three peoples. Now, you can actually add or modify more functions, because TinyMCE Editor has separate documentations and Javascript plugins developed by the other non-WordPress users. You will get immediate satisfaction.
Tagged With rel nofollow , wp add checkbox nofollow in tinymce