Now you can easily embed your wordpress sites internal links (post,page,category,author) in post,page or category description pages. Just write the appropriate shortcode,and you are on. No need to update these links whenever you make any changes to the real link location.
Usage:
The default category link of your site should look like something
http://example.com/category/uncategorized/
Now, if you change your category base to cats, like http://example.com/cats/uncategorized/ , you don’t have to update the shortcode. It will take the latest format to show the link.
To show the link for this category, shortcode should be – [intlink type="c" slug="uncategorized" text="My uncategorized link"].
Arguments:
1. type = default ‘post’. (your link type:post/page/cat/author).
2. id = default ”. (this is the post/page/author/category id based on the type you have chosen).
3. text = default based on the type. Post/Page title for type ‘post’ or ‘page’, Category name for ‘cat’, author display name for ‘author’. (the text to show inside the link).
4. name = default ”. (Name of the link item object. Ex: “Uncategorized” for category Uncategorized, “Hello world” for the post Hello world).
5. slug = default ”. (Slug of the link item object. Ex: “hello-world” for the post Hello world).
6. class = default ‘w4ils_link’. (A HTML class for the link element “a”).
Example.
A very useful example will be a more link to your category or post. Like: Read more of our plugins. This link has been placed by this plugin.
See, how you can create a custom WordPress homepage or how to Show Posts from another blog on WordPress MU Website with Internal Link Shortcode plugin..
