Title: Shortlinks
Author: aizatto
Published: <strong>15 ເມສາ 2010</strong>
Last modified: 15 ເມສາ 2010

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

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

# Shortlinks

 ໂດຍ [aizatto](https://profiles.wordpress.org/aizatto/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/shortlinks.0.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/shortlinks/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/shortlinks/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/shortlinks/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/shortlinks/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/shortlinks/)

## ຄຳອະທິບາຍ

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.

## ພາບໜ້າຈໍ

[⌊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

## ການຕິດຕັ້ງ

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

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Shortlinks” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດ
ທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

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

[ແປ “Shortlinks” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/shortlinks)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/shortlinks/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/shortlinks/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/shortlinks/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/shortlinks/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 0.1

 * Initial version

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **16 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **20+**
 *  ເວີຊັນ WordPress ** 3 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/shortlinks/)
 * ແທັກ
 * [category](https://lo.wordpress.org/plugins/tags/category/)[page](https://lo.wordpress.org/plugins/tags/page/)
   [pages](https://lo.wordpress.org/plugins/tags/pages/)[post](https://lo.wordpress.org/plugins/tags/post/)
   [posts](https://lo.wordpress.org/plugins/tags/posts/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/shortlinks/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/shortlinks/reviews/?filter=1)

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

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/shortlinks/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

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

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/shortlinks/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](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)