Move Image Captions Inside Link ( tag) if Added
Move Image Captions Inside Link ( tag) if Added
Move Image Captions Inside Link ( tag) if Added
WordPress links https overwrite issue
You could use ACF https://www.advancedcustomfields.com/ and create a custom field for the links. Then use the value in the template. The ACF web site has some great documentation and examples.
Link Author’s Website in Author Bio
Changes in permalink structure in WordPress and how to apply to in-site links
How to add WordPress Admin “Insert Link” UI (searches through existing posts for URL) and functionality into a custom plugin?
Setting a menu link to open a pop-up
Instead of the linked option you could just go with something using jQuery. Try adding something like this to your primary theme or plugin javascript file. (Usually something like main.js.) jQuery( document ).ready( function($) { $( ‘a[href^=”https://google.com”], a[href^=”https://yahoo.com”]’ ).each( function() { $( this ).attr( ‘rel’, ‘nofollow’ ); } ); } ); For any additional URLs … Read more
Removing Title From Links to Site
I solved the issue with help from this answer: https://wordpress.stackexchange.com/a/159570/176615 // add nofollow to Amazon function add_nofollow_content($content) { $content = preg_replace_callback( ‘/<a[^>]*href=[“|\’]([^”|\’]*)[“|\’][^>]*>([^<]*)<\/a>/i’, function($m) { if (strpos($m[1], “amzn.to”) !== false) return ‘<a href=”‘.$m[1].'” rel=”nofollow noopener” target=”_blank”>’.$m[2].'</a>’; else return ‘<a href=”‘.$m[1].'” rel=”noopener” target=”_blank”>’.$m[2].'</a>’; }, $content); return $content; } add_filter(‘the_content’, ‘add_nofollow_content’);