Title: Must Read Posts
Author: trick77
Published: <strong>2 ມັງກອນ 2009</strong>
Last modified: 11 ມັງກອນ 2012

---

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

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

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

# Must Read Posts

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

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/must-read-posts.2.0.2.zip)

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

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

## ຄຳອະທິບາຍ

Retrieves posts (or pages) with a certain custom field (e.g. to permanently show
your **most recommended posts** in a widget) and displays them in a list. The plugin
uses a custom field named _must-read_ if it exists in a post or a page. If the field
exists in a page or post **and** has the value _true_, the post automatically will
be shown in the widget.

#### What’s new

2.0.2: Stripping HTML tags from titles (thanks, Reinaldo!)
 2.0.1: Several sorting
options added, check out the widget configuration area.

#### Use it as a Widget

If your theme supports widgets, simply drag it to your sidebar. You can specify 
the maximum number of posts to be shown in the widget. You can also change the widget’s
title to something like “Most recommended posts”, “FAQ”, “Read first” or whatever
you like.

#### Use it in a .php page

Just put `<?php get_mustread(); ?>` in your template. You could even use it within
your posts or pages using the [Exec-PHP plugin](https://wordpress.org/extend/plugins/exec-php/)
that allows you to put php code fragments directly into the text. This allows you
to create a static page or a post showing your most recommended posts. The get_mustread
function takes 4 **optional** arguments: title, maximum number of posts to be shown,
name of the custom tag, sort order. Optional means you don’t have to specify any
parameters if you don’t need to.

#### Marking a post or page to be included

If you’re using the plugin for the first time, click “Add new custom field” to add
the field name _must-read_ and insert _true_ in the value field of the page or post
you want to be shown in the new widget. Once you want to display an additional post
in the widget, just select it from the custom field drop-down box and insert “true”
in the value field.
 If you don’t want the custom field to be named _must-read_ 
you can also change it to something else. The custom field value always has to start
with _true_ for the page or post to appear in the list.

#### Custom sort order

The plugin features several self explanatory sorting options. You can also specify
a custom sort order. Just add a semi-colon and a sort-number after _true_ in the
custom value field. The field value for your 1st post would be _true;01_ and the
2nd field would like _true;02_ and so on. This gives you full flexibility over the
positioning of your posts or pages in the Must-Read-Posts list. If you mix sorted
and unsorted posts or pages, the ones with no number will be sorted first. If you
have a bunch of posts or pages that you just want to sort at the end use something
like _true;99_ on all of them to move them at the end of the sort order.

#### Remove a post or page from the Must-ReadPosts list

To remove a post or page from the Must-Read-Posts list set the custom-field-value
to _false_ or remove the custom-field from the post or pages.

## ພາບໜ້າຈໍ

 * [[
 * Must Read Posts in action in widget in the right sidebar
 * [[
 * Widget configuration
 * [[
 * How to add the _must-read_ custom field to a post or page, don’t forget to add
   the value _true_

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

 1. Upload must-read-posts.php to the /wp-content/plugins/ directory.
 2. Activate “Must Read Posts” through the ‘Plugins’ menu in WordPress.
 3. What to do now depends on how up to date your theme is (see below)
 4. Mark all the posts/pages you want to show in the widget with the custom field _must-
    read_ and the value _true_ (see screenshots).

**Modern theme with widget support**

The plugin is a widget. If your theme supports widgets, and you have installed the
widget plugin, adding the plugin to the sidebar is easy: Go to the appearance menu
and drag and drop the widget into the sidebar. Don’t forget to save your new widget
structure using the save button below.

**Old school theme without widget support**

This will require some programming in the sidebar.php file. There are many resources
on the web about how to do this.

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

  I want to change the look of the list. How can I do that?

The look of the list of posts and pages in the widget can be customized using the
style.css cascading style sheet. Just add your own or the following style to your
current theme’s style.css file:

  must-read-posts li {

list-style-type:square;
 margin-bottom:0.4em; }

## ການຣີວິວ

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

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

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

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

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

[ແປ “Must Read Posts” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/must-read-posts)

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

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

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

 *  ເວີຊັນ **2.0.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **14 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 2.5 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.3.2**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/must-read-posts/)
 * ແທັກ
 * [links](https://lo.wordpress.org/plugins/tags/links/)[posts](https://lo.wordpress.org/plugins/tags/posts/)
   [sidebar](https://lo.wordpress.org/plugins/tags/sidebar/)[widgets](https://lo.wordpress.org/plugins/tags/widgets/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/must-read-posts/advanced/)

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

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

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

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

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

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

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

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

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