inc2734/wp-awesome-widgets

A library to add some awesome widgets for WordPress.


README

Build Status Latest Stable Version License

Widgets

  • PR Box
  • Slider (slick)
  • Pickup slider (slick)
  • Showcase
  • Site branding (Displaying the Logo)
  • Recent posts
  • Any posts
  • Ranking (Self updating)
  • Taxonomy posts
  • Contents outline
  • Profile box
  • Carousel (Any posts)
  • Local navigation

Install

$ composer require inc2734/wp-awesome-widgets

How to use

<?php
new \Inc2734\WP_Awesome_Widgets\Bootstrap();

How to overwite widget templates

You can overwite the widget template. For example,

$ cd wp-content/your-theme
$ mkdir -p templates/widget
$ cp vendor/inc2734/wp-awesome-widgets/src/widget/slider/_widget.php templates/widget/slider.php
$ vi templates/widget/slider.php

Thirt-party resources

slick

http://kenwheeler.github.io/slick/