WordPress.org

Support

Support » Plugins and Hacks » Adding hreflang to a link ?

Adding hreflang to a link ?

  • I’d like to add the hreflang attribute to some links in my posts, in the same fashion of adding a title attribute.
    I know I must change something in *\wp-includes\js\tinymce\themes\advanced , but unfortonately, my javascript skills are very limited, and I don’t know what to do. Any suggestions (I’m using WordPress 2.0.3) ?

    Thanks in adavnce !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried it? Haven’t used it myself but it’s on by default in tinymce…

    It seems that I have to add the advlink plugin.

    So I copied \advlink into *\tinymce\plugins, and replace line 163 of tiny_mce_gzip.php:
    plugins : "<?php echo $plugins; ?>"
    with:
    plugins : "<?php echo $plugins; ?>, advlink"
    but then… nothing happens. I still get that old “simple” popup. Was there something to change that I was not aware of ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding hreflang to a link ?’ is closed to new replies.
Skip to toolbar