這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Blog Introduction

外掛說明

Blog Introduction displays an introduction (heading and/or contents of certain
page) before posts. Intro content comes from a designated page, please see below for examples.

An introduction can appear on your

  • home page (from page whose URL – aka permalink aka slug – is, by default, ‘blog-introduction’),
  • category archive pages (intro from page ‘yourcategoryurl-cat-intro’, e.g. category has ‘widgets’ slug, then intro comes from page that has slug ‘widgets-cat-intro’),
  • tag archive pages (intro from page ‘yourtagurl-tag-intro’, e.g. tag is ‘blue-widgets’, then use ‘blue-widgets-tag-intro’ as intro page slug), and
  • author archive pages (intro from page ‘yourauthorurl-author-intro’, e.g. author is ‘jsmith’, then use ‘jsmith-author-intro’ as intro page slug).

Hide these special pages by making them private.

Plugin options allow for you to:

  • Define who sees the introduction (everyone / logged in users only / visitors only).
  • Choose which parts (heading and/or content) you want to show.
  • Change the heading wrapper tag.
  • Define style (CSS) for various parts of intro.
  • Change where the home page’s intro is taken from, either by page id or its permalink.
  • Define home page’s the intro (instead of using a specific page).
  • Disable intro on home page and only use it on archive pages.

Default output (for home page):

<div id='blog_introduction' class='blog-introduction-container'>
    <div id='blog_introduction_heading' class='blog-introduction-heading'>
        <h2><span><!-- page title is printed here --></span></h2>
    </div>
    <div id='blog_introduction_content' class='blog-introduction-content'>
        <!-- content is printed here -->
    </div>
</div>

If you use the plugin, please rate it at WP Plugin Directory. Thanks!

螢幕擷圖

  • Blog introduction (baby blue background) appearing before the first post.
  • Settings (version 1.9.2)

安裝方式

  1. Upload blog-introduction folder to the /wp-content/plugins/ directory.
  2. Create a new page. Put ‘blog-introduction’ as its permalink. Set the page private.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Enter settings page and choose to ‘Show intro’ (and make other settings to your liking).

常見問題集

My introduction looks funny/distorted, can I change it?

Sure. Try changing CSS style of introduction elements, either in plugin settings or in your CSS file.

I did make changes in my CSS file, but it still looks funny/distorted!

Please check that dashes and underscores in id’s and class names in the CSS file match the ones used in HTML code.

Intro appears in my sidebar, what can I do?

You probably have another article loop appearing before the one you’d prefer. Change setting “Intro before nth loop” in Blog Introduction settings to “2”. That will make intro appear before the second loop. (Value “3” will put intro before the third loop, and so on.)

Can I have a different slug for category/tag/author intro page?

No, unfortunately that’s not possible. Managing the relations between the category/tag/author strings and intro page slugs would be too much of a hassle.

How can I donate?

To your local charity. Or better yet, take a homeless person into a store and buy him/her a bag of proper food. Veggies, too. Also, whether you liked the plugin or not, I’d appreciate if you rated it at WP Plugin Directory. Thanks!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Blog Introduction〉的開發相關工作。

參與者

將〈Blog Introduction〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.9.11

  • Broke in WP 3.2.1 with certain settings. Fixed.

1.9.10

  • Documentation update.

1.9.9

  • Documentation update (changelog, upgrade notice).

1.9.8

  • Documentation update (better slug descriptions).