Title: Shortlinks
Author: aizatto
Published: <strong>15 aprīlis, 2010</strong>
Last modified: 15 aprīlis, 2010

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://s.w.org/plugins/geopattern-icon/shortlinks.svg)

# Shortlinks

 Autors [aizatto](https://profiles.wordpress.org/aizatto/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/shortlinks.0.1.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/shortlinks/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/shortlinks/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/shortlinks/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/shortlinks/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/shortlinks/)

## Apraksts

Shortlinks allows you to easily retrieve the shortlink for your WordPress posts,
pages, categories, post_tags, attachments, custom post types, and custom taxonmies.

By default, WordPress uses links a query string ( ie: http://blog.aizatto.com/?page_id
=3565 ) to load up your posts, pages, categories, etc. But when you enable permalinks,
the query string is hidden by the WordPress rewrite rules. Having pretty urls is
great, but also makes the website less flexible. For example, changing a posts published
date will change the URL.

While we can’t control how other people will link to our site, we can control how
we link to our internal sites.

By default, with permalinks enabled, when visiting WordPress with a shortlink, WordPress
will redirect you to the permalink URL.

### How It Works

Shortlinks hooks into the WordPress filter `get_shortlink` to enable shortlinks 
for all WordPress types.

You can use Shortlinks in your own theme or plugin.

To return the shortlink for a post, page, or custom post type, where $id represents
the ID:

To return the shortlink for a category, where $id represents the category id:

To return the shortlinks for custom taxonomy, where $id represents the term id, 
and $taxonomy represents the custom taxonomy:

### Why I Created It

WordPress supports shortlinks by default, but only allows the user to get the shortlink
for a post. Finding it unacceptable, I created a plugin to get shortlinks for all
content types.

## Ekrānuzņēmumi

[⌊Easily get shortlinks for posts⌉⌊Easily get shortlinks for posts⌉[

Easily get shortlinks for posts

[⌊Easily get shortlinks for pages⌉⌊Easily get shortlinks for pages⌉[

Easily get shortlinks for pages

[⌊Easily get shortlinks for a single page⌉⌊Easily get shortlinks for a single page⌉[

Easily get shortlinks for a single page

[⌊Easily get shortlinks for categories⌉⌊Easily get shortlinks for categories⌉[

Easily get shortlinks for categories

## Uzstādīšana

 1. Upload the `shortlinks` folder into your plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Shortlinks” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

 *   [ aizatto ](https://profiles.wordpress.org/aizatto/)

[Tulkot “Shortlinks&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/shortlinks)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/shortlinks/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/shortlinks/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/shortlinks/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/shortlinks/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 0.1

 * Initial version

## Meta

 *  Versija **0.1**
 *  Pēdējo reizi atjaunots: **pirms 16 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 3 vai jaunāka **
 *  Pārbaudīts līdz: **3**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/shortlinks/)
 * Birkas:
 * [category](https://lv.wordpress.org/plugins/tags/category/)[page](https://lv.wordpress.org/plugins/tags/page/)
   [pages](https://lv.wordpress.org/plugins/tags/pages/)[post](https://lv.wordpress.org/plugins/tags/post/)
   [posts](https://lv.wordpress.org/plugins/tags/posts/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/shortlinks/advanced/)

## Vērtējumi

 5 no 5 zvaigznēm.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/shortlinks/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/shortlinks/reviews/)

## Līdzdalībnieki

 *   [ aizatto ](https://profiles.wordpress.org/aizatto/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/shortlinks/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=aizat%2efaiz%40gmail%2ecom&lc=MY&item_name=Ezwan%20Aizat%20Bin%20Abdullah%20Faiz&item_number=Shortlinks&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)