Custom widgets

DP COMMENTS

DP Comments is a simple widget to display latest comments with user avatars:

The configuration of the widget is really simple:

dp-comments-setting

As you can see, there are three important options:

  • Avatar size – this option is used to specify the size of the avatars displayed under each comment.
  • Word count – this option specifies the maximal amount of words displayed in each comment item.
  • Number of comments – it specifes the maximal amount of comments to display.

The DP Comments widget uses a built-in WordPress cache system and it refreshes the cache after every comments operation.

DP FLICKR GALLERY

DP Flickr Gallery is a simple widget to display flickr gallery in widget:

dp-flickr

The configuration of the widget is really simple:

dp-flickr-settings

As you can see, there are two options:

  • Flickr user ID
  • Number of thumb

DP RECENT PORTFOLIO

DP Recent Portfolio is a simple widget to display latest portfolio with thumbs:

dp-recent-portfolio

The configuration of the widget is really simple: dp-recent-portfolio-setting As you can see, there are three important options:

  • Thumb size – this option is used to specify the size of thumbs.
  • Word count – this option specifies the maximal amount of words displayed in each comment item.
  • Number of posts – it specifes the maximal amount of posts to display.

DP RECENT POSTS

DP Recent Posts is a simple widget to display latest posts with thumbs:

dp-recent-posts

The configuration of the widget is really simple:

dp-recent-posts-setting

As you can see, there are three important options:

  • Thumb size – this option is used to specify the size of thumbs.
  • Word count – this option specifies the maximal amount of words displayed in each comment item.
  • Number of posts – it specifes the maximal amount of posts to display.

DP NEWS FLASH

DP NewsFlash is a simple widget to display short post info from selected category (categories) in form simple slideshow.
The configuration of the widget is really simple:

dp-newflash-setting

As you can see, that are four important options:

  • Post Category
  • Max number of posts
  • Order
  • Content type

Additional you can set some apperance and slideshow options.

DP TABS

DP Tabs is a simple widget which can be used for displaying other widgets in the tabs:

The configuration of the widget, similarly to the DP Comments widget, is really simple:

 

The most important option is the Tabs source – this option specifies the sidebar used as the data source of the widget. Especially for the DP Tabs widget, we have created three special widget areas – Tab I, Tab II and Tab III – these widget areas don’t exist on the theme and they can be used in the DP Tabs widget to avoid problems with the duplicated widgets.

To create tabs, a user must drag some widgets to the specified in the DP Tabs widget sidebar. The titles of these widgets will be used as the tabs titles, the order of the widgets in the sidebar is also important – it will be used in the DP Tabs widget.

So, for example, in order to achieve the DP Tabs widget layout as in the first screenshot, you have to put the widgets on the Tab I sidebar as following:

 

The other options are strictly connected with the widget interface:

  • Tabs activator event – it specifies the event used to activate the tab – it can be a hover or a click event.
  • Auto animation – the DP Tabs widget can autoanimate the tabs when this option is enabled. Then, the time between tabs animations is defined in the animation interval option.
  • Animation speed – time of the transition between the tabs – defined in miliseconds.
  • Animation interval – time for the autoanimation option – defined in miliseconds

The DP Tabs widget has no internal cache system but if there are widgets displayed in the DP Tabs widget then there will be no problems with caching the widget content.

DP TWEETS

DP Tweets is a custom widget Twitter widget that uses oAuth, Twitter API v1.1 and that attempts to meet the display guidelines.
This widget will display the most recent tweets for any twitter user who has their tweets set as public.
Show up to 10 tweets. Include a link to your twitter profile and a twitter icon or your profile picture.

This widget comes with intuitive administration panel.

To configure the widget, you only need:

01Register a Twitter application at https://dev.twitter.com/apps


02Note the Consumer key, Consumer secret, Access Token and Access Token secret under OAuth settings


03Enter this data in the appropriate fields in the widget settings.


04Configure the Twitter user name, number of tweets to display, cache time etc