Title: Simple Quotes
Author: jernst
Published: <strong>22 ກຸມພາ 2011</strong>
Last modified: 17 ເມສາ 2014

---

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

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

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

# Simple Quotes

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

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/simple-quotes.2.0.zip)

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

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

## ຄຳອະທິບາຍ

Just a simple project that prints random quotes anywhere on a wordpress page. Essentially
it is just a custom post type that includes the quote and the author. A single function
call returns the random quote which can then be displayed wherever you like on your
pages.

To use the plugin just add the quotes using the WordPress admin interface on your
site. Then to get the quotes to display on the site, call quote_dispaly_random()
to display a default styling or the quote_random() function which will return an
associative array with both the content, author and date in it. For more details
see [www.jasonernst.com/projects/quotes/](http://www.jasonernst.com/projects/quotes/)
for more details.

**Update**: As of version 1.05 it is also possible to use the widget system to display
a random quote. You can style the quote by creating css for the “quote” class.

The reason why this format was chosen, was to create the most flexibility for use
in a template. It is easy to stick these inside of a div or apply css styling to
it.

## ພາບໜ້າຈໍ

 * [[
 * An example of the quotes displayed on a page header
 * [[
 * The administrative interface for a adding/editing quote
 * [[
 * The options page for configuration the look of the quote
 * [[
 * The list of all available quotes

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

 1. Upload `simple-quotes` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php quote_display_random(); ?>` in your template to have the default quote
    style displayed or
 4. Alternatively, place `<?php $quote = quote_random(); echo $quote['content']; echo
    $quote['author']; echo $quote['date']; ?>` in your templates if you would like 
    to style the quote yourself
 5. Or use the widget tool and drag the simple quotes widget to where you would like
    it in your template

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  How do I get a quote to display in my template under the header

Look for your templates header.php file. Inside this file look for a section with
something like this `<?php bloginfo('name'); ?>`. You can usually insert `<?php 
quote_display_random(); ?>` somewhere near here to get it to display in your template.
Altneratively, if your template supports widgets in the header you can use the wdiget
system to add simple quotes to your template.

## ການຣີວິວ

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

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

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

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

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

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

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

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

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

#### 2.0

 * Re-implemented the plugin, removed some of the function which have been deprecated
   in previous releases so that the plugin maintains compatibility in the future.
   Designed for version 3.9 of WordPress. Added the ablity to give the widget a 
   title. Added a new configuration option to give the quote a background color (
   requested by a user).

#### 1.07

 * No real changes as of this version, just re-uploaded and double-checked it still
   works to keep it in the public repos. Tested with a fresh install of WP 3.8.1
   and it is still working fine.

#### 1.06

 * The look of the quote is now customizable with an option page that has been added
   to the admin interface. It is now possible to hide the author and date, change
   the alignments (left or right), change the color of the quote and whether or 
   not to make it italic or bold.

#### 1.05

 * Added support for a simple widget which displays a random quote. More control
   over the look of the widget to come…

#### 1.04

 * Added quote title so that the content can be placed inside a normal content field(
   as suggested by Tim – http://www.jasonernst.com/projects/quotes/comment-page-
   1/#comment-5045)
 * Now quotes may contain links, bold, italic and other markup just the same as 
   any other post
 * Titles are often shorter than the quote itself resulting in shorter URLs in the
   case where pretty permalinks are enabled
 * NOTE: You can now either enter the quote in the title field or in the content
   field, if the content is empty it will use the title

#### 1.03

 * Fixed a problem where the date was not being saved correctly

#### 1.02

 * Added an optional date field for the quotes
 * Added a function `quote_display_random()` which will display a default styled
   quote to make it easier to use

#### 1.01

 * Changed the method for getting the title to the_title() since the previous method
   does not seem to work in WP3.1

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

 *  ເວີຊັນ **2.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **12 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **30+**
 *  ເວີຊັນ WordPress ** 3.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.9.40**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/simple-quotes/)
 * ແທັກ
 * [author](https://lo.wordpress.org/plugins/tags/author/)[flexible](https://lo.wordpress.org/plugins/tags/flexible/)
   [quotes](https://lo.wordpress.org/plugins/tags/quotes/)[simple](https://lo.wordpress.org/plugins/tags/simple/)
   [widget](https://lo.wordpress.org/plugins/tags/widget/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/simple-quotes/advanced/)

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

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

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

[ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ](https://wordpress.org/support/plugin/simple-quotes/reviews/#new-post)

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

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

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

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

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

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

## ບໍລິຈາກ

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

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=JBMA76TCQA4XL&lc=CA&item_name=Jason%20Ernst&currency_code=CAD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)