plugin-icon

Page Excerpt Widget

Автор: JonathanMH·
This plugin allows the user to place a widget with an excerpt of a page in any sidebar. Dropdown menu for page, amount of characters adjustable.
Рейтинг
5/5
Версия
0.3
Активные установки
200
Последние изменения
Jan 15, 2015

I have created a little WordPress plugin in the shape of a widget, which allows the user to display an excerpt of a page in a sidebar area of their choice. I wrote this to replace a little theme hack I did for a client, where the front page was supposed to have an excerpt of a page on the front page, of course linking to the full page. Instead of keeping it that way and hard coding the page-id, I wanted something where the end user could change which page was supposed to be linked. I hope it will be of use to someone.

Right now you can:

  • Define the amount of characters to use as an excerpt
  • Select the page from all existing pages
  • Link the title of the page, to the page
  • Append a link to the page
  • Decide a custom label for the read more link
  • add multiple instances of the widget

I plan to increase the functionality with:

  • some internationalisation

Suggestions welcome

Since this is my first plugin and widget, suggestions, improvements and more are very welcome. I’ve also published the code on github, for easier discussion and improvement. https://github.com/JonathanMH/page-excerpt-widget

Проверено на
WordPress 4.1.42
Этот плагин можно скачать и использовать при .