1. Accueil
  2. Base de connaissances
  3. Pour commencer
  4. Insertion de Pretty Links en mode éditeur visuel

Insertion de Pretty Links en mode éditeur visuel

Inserting Pretty Links via the Visual Editor in your posts and pages is a great feature of the Pretty Links plugin! This is perfect for when you want to add a specific link on a page or post you’re writing, or already have written, without opening the PLP plugin. This could save you precious time by not having to create the pretty link in the plugin then putting it into the page or post.

You’ll notice that after installing the plugin that the Visual Editor will have this new star icon titled “Insert Pretty Links”:

Comment insérer un Pretty Link dans l'éditeur visuel ?

Après avoir cliqué sur l'icône de l'étoile PLP, vous verrez apparaître une fenêtre contextuelle.

Here you have the option to either create from scratch a new pretty link, as can been seen in the above screen shot, or use an existing one. To use an existing one, click “Use Existing Pretty Links” and then simply search for the pretty link with it’s slug, title, or target URL and choose the one you wish to use.

Après avoir cliqué sur le bouton bleu "Insert New/Existing Pretty Links", votre lien sera ajouté à la page ou au message.

ajout de Pretty Link dans l'éditeur visuel

Remarque : Une fois le lien ajouté, il ne peut être modifié qu'avec les options de lien par défaut de l'éditeur. Vous ne pourrez pas le réafficher dans la fenêtre Pretty Links et y apporter des modifications. Pour ce faire, vous devrez supprimer le lien, puis le réinsérer si vous avez besoin d'apporter des modifications supplémentaires.

Another cool feature of this is that during the process of typing or editing your posts or pages you can highlight any section of text to make it a pretty link. To do this you’ll need to first highlight the text you want to make a link, click the Pretty Links star button, and it will pull in the highlighted text for you. All you have to do next is ajouter le lien et l'insérer.

Cet article a-t-il été utile ?

Articles connexes

Besoin d'aide ?

Vous ne trouvez pas la réponse que vous cherchez ?
Support de contact