
內容簡介
這個外掛會創建一個名為“lateralpress”的自定义内容类型,再創建一個shortcode,用於在屏幕上創建滾動時間軸來顯示這些帖子。 這個外掛是基於 Mary Lou, Manoela Ilic 編寫的 Lateral On-SCroll Sliding with Jquery 腳本轉換而來的。
使用 Shortcode
要在您的帖子,頁面或小部件中添加LateralPress,請使用以下shortcode:
[lateralpress]
要在WordPress主題中添加LateralPress,請在您的模板內使用以下shortcode:
echo do_shortcode(‘[lateralpress]’);
LateralPress會創建一個自定义内容类型,用於顯示在時間軸上。 使用此外掛的唯一要求是帖子必須包含標題和特色圖像。
如果未設置特色圖像,則時間軸將僅顯示空白圖像。
外掛標籤
開發者團隊
原文外掛簡介
The plugin creates a custom post type called “lateralpress” and then a shortcode to display those posts in an on-screen scrolling timeline. The plugin is a conversion of
the script Lateral On-SCroll Sliding with Jquery written byMary Lou, Manoela Ilic.
Shortcode Usage
To add LateralPress to your posts, pages, or widgets use the following shortcode:
[lateralpress]
To add LateralPress to your WordPress theme use the following shortcode inside your template:
echo do_shortcode(‘[lateralpress]’);
LateralPress creates a custom post type for displaying on the timeline. The only requirements are that the post contains a title and a featured image.
If no featured image is set, the timeline will display only a blank image.
