Deskripsi
- Creates a widget with the post’s featured image, headline, excerpt, and link.
- To see the carousel of posts, you must have Bootstrap 3 or later and Glyphicons.
- Hides the widget if the post is a single post on the page. For example, if you are on the “Hello World” page, you won’t see the widget with a preview of “Hello World.”
- The carousel won’t show posts that don’t have an image.
Tangkapan Layar
Instalasi
- Upload the adapter-post-preview directory to your /wp-content/plugins directory.
- In the “Plugins” menu, find “Adapter Post Preview,” and click “Activate.”
- Add a “Post Preview” widget by going to the admin menu and clicking “Appearance” > “Widgets”
- Select the post you want. You must have Bootstrap to use the carousel.
Tanya Jawab
- Installation Instructions
-
- Upload the adapter-post-preview directory to your /wp-content/plugins directory.
- In the “Plugins” menu, find “Adapter Post Preview,” and click “Activate.”
- Add a “Post Preview” widget by going to the admin menu and clicking “Appearance” > “Widgets”
- Select the post you want. You must have Bootstrap to use the carousel.
- What does this require?
-
The carousel of recent posts requires Bootstrap 3 or later and Glyphicons.
- How can I change the text in the post link?
-
Put the following in your functions.php file:
add_filter( ‘appw_link_text’, function( $text ) { return ‘Keep reading’; } ) // Or your own text.
Ulasan
Kontributor & Pengembang
“Adapter Post Preview” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.
KontributorTerjemahkan “Adapter Post Preview” dalam bahasa Anda.
Tertarik mengembangkan?
Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.
Log Perubahan
1.1
- Add PHPUnit testing to ensure stability. See #2.
- Fix excerpt output when outside the loop. See #10.
- Refactor plugin bootstrapping. See #4.
- Refactor carousel class to mainly use a template, add PHPUnit tests. See #9.
- Add wp-dev-lib as a submodule, with configuration files. See #1.
See the v1.1 project.
1.0.2
- Fixed height in mobile display.
1.0.1
- Fixed a bug in Internet Explorer display of the carousel.
1.0.0
- First version.