Pages

From Myanmar Wordpress
Jump to: navigation, search
ေဝါ့ပရက္(စ္)ေပၚတြင္၊ အေထြေထြဘေလာ့(ခ္)မ်ား သင္ေရးဆြဲေသာအခါ ပို႔စ္(တ္)ႏွင့္ ေပ့(ခ်္) ႏွစ္မ်ိဳးလံုးေရးႏိုင္ပါသည္။ ထိုအရာသည္ ပို႔စ္(တ္)ျဖင့္ ပို႔စ္(တ္)ေရးဆြဲျခင္းျဖစ္သည္။ အစဦးဆံုးျပဳျပင္တပ္ဆင္မႈမွ၊ သင့္၏ဘက္ဂေရာင္းစာမ်က္ႏွာတြင္ အသစ္မွ အေဟာင္းသို႔ အစီအစဥ္တက် ေပၚလာမည္။ ေပ့(ခ်္)အတြက္ "ကြ်ႏ္ုပ္တို႔အေၾကာင္း" ႏွင့္ "ဆက္သြယ္ရန္"ကဲ့သို႔ေသာ ေခါင္းစဥ္မ်ားအတြက္ အသံုးျပဳသည္။ ေပ့(ခ်္)သည္ ပံုမွတ္ဘေလာ့(ခ္)ထဲတြင္ ေရာမေနပါ။ အမ်ားစုမွာ သင့္အေၾကာင္း(သို႔) သင့္ဝပ္ဆိုဒ္ႏွင့္ပက္သတ္သည့္ အခ်က္အလက္မ်ားကို ယူေဆာင္လာရန္အတြက္ အသံုးျပဳသည္။ အခ်ိန္ အပိုင္းအျခား မကန္႔သတ္ထားေသာ၊ အျမဲတေစ အသံုးခ်ရေသာ အခ်က္အလက္မ်ားျဖစ္ႏိုင္ပါသည္။

ေပ့(ခ်္)ကို "ကြ်ႏ္ုပ္တို႔အေၾကာင္း" ႏွင့္ "ဆက္သြယ္ရန္"ကဲ့သို႔ေသာ အခ်က္အလက္္မ်ားထည့္သြင္းရန္အတြက္ အသံုးျပဳျခင္းမွလြဲ၍ ေပ့(ခ္)၏ အျခားအသံုး ျပဳပံုမ်ားမွာ အခြင့္အေရးထိန္းခ်ဳပ္ျခင္း၊ အခ်က္အလက္မ်ားပြင့္လင္းစြာ ေဖာ္ျပျခင္း၊ ဥပေဒဆိုင္ရာ အခ်က္အလက္မ်ား၊ ကုမၸဏီအေၾကာင္းအရာမ်ားႏွင့္ အသံုးျပဳရန္ လမ္းညႊန္မ်ားတို႔ျဖစ္သည္။

ေပ့(ခ်္)အမ်ားစုသည္ ပို႔စ္(တ္)ႏွင့္ အလားတူပင္ျဖစ္သည္။ ႏွစ္ခုလံုးသည္ ေခါင္းစဥ္ႏွင့္ အေၾကာင္းအရာမ်ားထည့္သြင္းျခင္းပင္ျဖစ္သည္။ ထို႔ေနာက္ ႏွစ္ခု လံုးကို သင့္၏ဝပ္ဆိုဒ္ေပၚတြင္ အဆင္ေျပေခ်ာေမြ႔ေစေအာင္ ေပၚလြြင္လာေစရန္အတြက္ ပံုသ႑ာန္မ်ားကို ထိန္းသိမ္းေစာင့္ေရွာင့္ေပးရန္ ေဝါ့ပရက္(စ္) ကို အသံုးျပဳႏိုင္ပါသည္။ မည္သို႔ပင္ဆိုေစကာမူ ျခားနားမႈမ်ားလည္းရွိပါသည္။

ေပ့(ခ်္)ဆိုသည္မွာ အဘယ္နည္း။:

  • ပို႔စ္(တ္)ထက္အခ်ိန္နည္းပါးစြာရွိေသာ အေၾကာင္းအရာမ်ားအတြက္ ေပ့(ခ်္)ကို ထားရွိသည္။
  • ေပ့(ခ်္)ကို စာမ်က္ႏွာေပါင္းမ်ားစြာႏွင့္ စာမ်က္ႏွာခြဲေပါင္းမ်ားစြာတို႔႔ျဖင့္ ထပ္မံခြဲျခားထားႏိုုင္ပါသည္။
  • ေပ့(ခ်္)ကို ကြဲျပားျခားနားေသာ စာမ်က္ႏွာပံုစံမ်ားျဖင့္ အသံုးျပဳႏိုုင္သည္။ ပံုစံဖိုင္မ်ား၊ ထပ္(က္)ပံုစံမ်ား၊ ႏွင့္ PHP ကုဒ္မ်ားတို႔ပါဝင္သည္။
  • ေပ့(ခ္်)တြင္ ထပ္ခါျဖစ္ေနေသာ ေဖာ္ျပမႈမ်ားကို ျပဳျပင္ေျပာင္းလဲေစရန္ ထပ္(ပ္)မ်ား ပါရွိသည္။ ထို႔ေနာက္ အျခားအရာမ်ားႏွင့္ မ်ားစြာထပ္ခါျဖစ္ေနေသာ ျပဳျပင္ေျပာင္းလဲေစမႈပံုသ႑ာန္မ်ားကို အသံုးျပဳေသာအခါတြင္ အဆင္သင့္ သံုးရန္ရွိသည္။
  • အေရးႀကီးသည္မွာ ေပ့(ခ်္)သည္ ဘေလာ့(ခ္)မဟုတ္ေသာ အေၾကာင္းအရာမ်ားအတြက္ အသံုးျပဳသည္။ ေဝါ့ပရက္(စ္)တပ္ဆင္ရာတြင္ ပို႔႔စ္(တ္)အားလံုး (သို႔) ပို႔စ္(တ္)အမ်ားစုတို႔ကို လဲလွယ္ျခင္းျဖင့္ ျပဳလုပ္ႏိုင္သည္။ ဘေလာ့(ခ္)ပံုစံမဟုတ္သည့္ သာမန္ဝပ္ဆိုဒ္ပံုသ႑ာန္တြင္ တည္ေဆာက္ႏိုင္သည္။

What Pages are Not:

  • Pages are not Posts, nor are they excerpted from larger works of fiction. They do not cycle through your blog's main page. WordPress Plugins are available to change the defaults if necessary.
  • Pages cannot be associated with Categories and cannot be assigned Tags. The organizational structure for Pages comes only from their hierarchical interrelationships, and not from Tags or Categories.
  • Pages are not files. They are stored in your database just like Posts are.
  • Although you can put Template Tags and PHP code into a Page Template file, you cannot put these into the Page or Post content without a WordPress Plugin like Exec-PHP which overwrites the code filtering process.
  • Pages are not included in your site's feed.
  • Pages and Posts may attract attention in different ways from humans or search engines.
  • Pages (or a specific post) can be set as a static front page if desired with a separate Page set for the latest blog posts, typically named "blog."

Creating Pages

To create a new Page, log in to your WordPress installation with sufficient admin privileges to create new articles. Select the Administration > Pages > Add New option to begin writing a new Page.


Organizing Your Pages

Just as you can have subcategories within your Categories, you can also have subpages within your Pages, creating a hierarchy of pages.

For example, a WordPress site for a travel agent may feature an individual Page for each continent and country to which the agency can make travel arrangements. Under the Page titled "Africa" would be subpages for Lesotho, Cameroon, Togo, and Swaziland. Another parent Page "South America" would feature subpages of Brazil, Argentina, and Chile. Your site would list:

  • Africa
    • Cameroon
    • Lesotho
    • Swaziland
    • Togo
  • South America
    • Argentina
    • Brazil
    • Chile

To create a subpage

  1. Go to Administration > Pages > Add New panel.
  2. In the right menu, click the "Page Parent" drop-down menu. The drop-down menu contains a list of all the Pages already created for your site.
  3. Select the appropriate parent Page from the drop-down menu to make the current Page a child Page.
  4. Add content to the subpage.
  5. Click Publish when ready.

When your Pages are listed, the Child Page will be nested under the Parent Page. The Permalinks of your Pages will also reflect this Page hierarchy.

In the above example, the Permalink for the Cameroon Page would be:

http://example.com/africa/cameroon/

Changing the URL of Your Pages

To change the URL part (also referred to as "slug") containing the name of your Page, use the "Edit" (or "Change Permalinks" in older WordPress versions) button under the Page title on the Edit screen of the particular Page, accessible from Pages tab of WordPress Administration Panel.

Creating a List of Pages

WordPress is able to automatically generate a list of Pages on your site within the sidebar or footer, for example, using a Template Tag called wp_list_pages(). See the wp_list_pages page for information on how to customize how WordPress displays the list of Pages on your site.

There are also WordPress Plugins that will help you display a list of Pages within in Posts and in other areas of your WordPress Theme.

Page Templates

Individual Pages can be set to use a specific custom Page Template (a WordPress Theme PHP template file, e.g., my-custom-page.php) you create within your Theme. See Custom Page Templates for instructions on how to create a custom template file for a Page. This new Page Template will then override the default page.php Page Template included with your Theme.

The Dynamic Nature of WordPress Pages

A web page can be static or dynamic. Static pages, such as a regular HTML page that you might create with Dreamweaver, are those which have been created once and do not have to be regenerated every time a person visits the page. In contrast, dynamic pages, such as those you create with WordPress, do need to be regenerated every time they are viewed; code for what to generate on the page has been specified by the author, but not the actual page itself. These use extensive PHP code which is evaluated each time the page is visited, and the content is thus generated upon each new visit.

Almost everything in WordPress is generated dynamically, including Pages. Everything published in WordPress (Posts, Pages, Comments, Blogrolls, Categories, etc...) is stored in the MySQL database. When the site is accessed, the database information is used by your WordPress Templates from your current Theme to generate the web page being requested.

An example of a static page might be an HTML document (without any PHP code). The problem with purely static pages is that they are difficult to maintain. Changes you make to your WordPress settings, Themes and Templates will not be propagated to pages coded only in HTML. The Page feature of WordPress was developed to alleviate this problem. By using Pages, you no longer have to update your static pages every time you change the style of your site. If written properly, your dynamic Pages will update along with the rest of your blog.

Despite the dynamic nature of Pages, many people refer to them as being static. They are actually called "pseudo-static" web pages. In other words, a Page contains static information but is generated dynamically. Thus, either "static," "dynamic," or "pseudo-static" may be validly used to describe the nature of the WordPress Page feature.