When we use settings API a settings page is divided into four categories: tabs, sections, fields and settings. Tabs contains sections, sections contain field(form elements) and settings are just the value attribute of the form elements. There may or may not be tabs or sections but categorization is better. Actually settings API doesn’t provide any […]
Here is example code which shows how to create a settings page using WordPress Menu API and add a drop down list to the settings page. Here we are using WordPress provided selected() function to compare the stored setting value and a chosen one. If they are the same it echos “selected” attribute or else […]
Here is example code which shows how to create a settings page using WordPress Menu API and add radio buttons to the settings page. Here we are using WordPress provided checked() function to compare the stored setting value and a chosen one. If they are the same it echos “checked” attribute or else echos nothing. […]
Here is example code which shows how to create a settings page using WordPress Menu API and add a checkbox to the settings page. Here we are using WordPress provided checked() function to compare the stored setting value and a chosen one. If they are the same it echos “checked” attribute or else echos nothing. […]
This post is a part 7 of Premium WordPress Plugins post series. Coupon Site is a WordPress based plugin which can turn your WordPress site into an affiliate coupons site. This plugin is the most lightweight and bug free coupons plugins available for WordPress. It works with any WordPress site without any extra configuration. We […]
WordPress uses built-in templates to display RSS, RSS 2, Atom and RDF feed formats. WordPress also provides a lots of filters to alter the content of the title, description etc tags of the feeds. But to remove or add custom tags to the feeds we have to define our own templates as WordPress doesn’t provide […]
In this tutorial I will show you how to create a new feed format in WordPress. This can be useful if you are creating a separate customised feed for Feedly and/or Flipboard subscribers. These feed aggregators support some extra tags and have some special requirements. WordPress by default supports four different feed formats: RDF RSS […]
By default desktop browsers let you scroll an element or page using the mouse wheel. But its unfriendly when users want to scroll both horizontally and vertically. Mouse wheel doesn’t seem to be the best option in that case. Therefore we can let users scroll by holding the mouse button i.e., dragging. For example, Google […]
Number counter animation is used throughout the web to display numbers in a more interesting and eye-catching way. For example: Websites use number counter animations to display total number of shares and views of an article. In this tutorial I will show you the easiest way to create such animation using JavaScript. countUp.js Library We […]
Most Commented