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

Listic Listicle Creator

描述

For detailed instructions on using this plugin, including shortcode examples and images, visit http://elliottbernstein.com/listic-listicle-creator/

What is Listic?

Listic is a WordPress plugin that allows users to quickly and easily create multi-page listicles of any size within a single post. This is accomplished by using the [listic] shortcode along with item names or numbers of your choice.

Quick Start Example Code

NOTE: All Listicl listicles MUST start with a “start” item, as shown below.

[listic item="start"] 
STARTING SLIDE CONTENTS HERE 
[/listic]

[listic item="1"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="2"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="3"] 
SLIDE CONTENTS HERE 
[/listic]

How to Use Listic

The key to using Listic is the [listic] shortcode. Use the shortcode multiple times in one post to build up your list, but remember to start with the start page!

1. Create the Start Page

Your first listic item is your start page. It is the item that will be displayed on the blog page and category pages. Other items and pagination will only appear on the single post page itself.

The first item must always be called “start”, and will look something like this:

[listic item="start"] 
STARTING SLIDE CONTENTS HERE 
[/listic]

The start page contains no item list numbers (compared to when it is shown in a single post page, when it will contain the pagination below it)

2. Create Item Pages

After you’ve set up your start page, you can create as many item pages as you like. At this point, your code will look something like this:

[listic item="start"] 
STARTING SLIDE CONTENTS HERE 
[/listic]

[listic item="1"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="2"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="3"] 
SLIDE CONTENTS HERE 
[/listic]

Each slide will load according to the item that has been clicked in the pagination.

3. Customize Item Names (optional)

One of the coolest things about Listic is that after you’ve created the initial “start” page, you can use ANY names you want for the slides. Want to change slides from “1, 2, 3” to “Mandarin Oriental, Belmond, Peninsula”? You can do it! Just type code as such:

[listic item="start"] 
STARTING SLIDE CONTENTS HERE 
[/listic]

[listic item="Mandarin Oriental"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="Belmond"] 
SLIDE CONTENTS HERE 
[/listic]

[listic item="Peninsula"] 
SLIDE CONTENTS HERE 
[/listic]

The result will be renamed slide buttons.

Customizing Listic’s Look

Althoug the basic formatting of Listic should adapt well to most WordPress themes and sites, users may want to use the numerous css classes included in Listic to change the look of various elements. Any of the following classes can be used to do so:

listic-content-box (content box area) 
listic-contet-box-[item number or name] (a specific content box in your list)
listic-item-number (all item numbers)
listic-item-number-[item number or name] (a specific item number in your list)
listic-list-preview (the start page cotents that display on non-single posts)
listic-current-item-number (the number of the current item being displayed)

評價

2018年11月1日
I can't figure out how to get this to work. The instructions are very poor. More specific examples are needed.
閱讀全部1個評價

貢獻者及開發者

“Listic Listicle Creator” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Listic Listicle Creator 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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