The Short Links plugin (previously called Wiki Links plugin) is a renderer plugin which allows to easily create links from one post to another.
This is especially useful for forums or manual in which you probably do not allow plain html links in the form of
<a href="destination">link title</a>.
In b2evolution 6.7.0, the Short Links Plugin provides a toolbar button allowing to quickly select the destination Post in a modal window. (This leverages the API?.)
To create a link with the WikiLinks plugin enabled, you can use any one of the following syntaxes:
Specifying the destination
There are 3 possible forms to specify the destination of the link:
- Enter the Slug of a post. For example
[[wiki-links-plugin]]will create a link like this: Short Links Plugin (was: Wiki Links Plugin)
- Enter a Slug in CamelCase. For example
[[WikiLinksPlugin]]will create a link like this: Short Links Plugin (was: Wiki Links Plugin)
- Enter the full URL to an external site. For example
[[http://fplanque.com]]will create a link like this: http://fplanque.com
Specifying a link title
The link title is optional (see below). You can add an explicit link title after the destination (separate with space). For example:
[[wiki-links-plugin text one]]will create a link like this: text one
[[WikiLinksPlugin text two]]will create a link like this: text two
[[http://fplanque.com text three]]will create a link like this: text three
Omitting the title / Automatic title
The link title is optional. If you don’t specify a title, the
((...)) and the
[[...]] syntaxes behave differently:
[[...]], if you don’t specify a link title, the plugin will try to use the title of the destination post (works with slugs & CamelCase). Example:
[[WikiLinks]]becomes: Short Links Plugin (was: Wiki Links Plugin)
((...)), if you don’t specify a link title, the plugin will display each word of your link and capitalize the first letter of each word. Example:
((WikiLinks))becomes: Wiki Links
Note: when using the form
((...)), it is interesting to have several slugs for each destination post. This allows you to easily use links in text. For example:
There is an option you can turn on in the Per Collection Plugin Settings? to link any CamelCase word, even without brackets.
It would be nice to have the option/check box for a separate window which will opens if you click onto the link …
[ ] Link will be opened in an extra window.
@ednong You want that for all links (easy) created by this plugin or just for specific links created by this plugin (requires to invent a new syntax for the tags) ?
for all - it would be nice to have an option in the settings of the blog.
And for this plugin too - so I can e.g. external links let open a new window. And yes, then you need an advanced syntax …
@ednong Your answer does not actually reply the question :p
Form is loading...