WordPress.org

Ready to get started?Download WordPress

Forums

Adding hreflang to a link ? (3 posts)

  1. PetitPrince
    Member
    Posted 8 years ago #

    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 !

  2. yosemite
    Member
    Posted 8 years ago #

    Have you tried it? Haven't used it myself but it's on by default in tinymce...

  3. PetitPrince
    Member
    Posted 8 years ago #

    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 ?

Topic Closed

This topic has been closed to new replies.

About this Topic