News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
How to Write a "Most Popular By Views" WordPress Plugin
June 18, 2010 @ 08:37:26

On NETTUTS.com today there's a new tutorial for the WordPress users/developers out there showing you how to create a "Most Popular By Views" plugin for your site.

As you continue writing for WordPress more and more, the level of difficulty and complexity of your plugins will eventually reach far beyond the simple back-end data manipulation, as demonstrated in our beginner's article. In this installment we'll cover in-depth: database interaction, Admin Widgets, and Sidebar Widgets. Today's example will be a custom built "Most Popular by Views" plugin, which creates an admin area widget for us to view, and a sidebar widget for visitors to see.

Besides waling through the whole process, the tutorial offers a download of the source if you want to get started right away. The resulting plugin can be used on both the admin and public sides of the site as a widget that can be dropped in easily. Code to create both the widget and the database table it needs for a backend are included.

0 comments voice your opinion now!
wordpress popular views plugin tutorial


blog comments powered by Disqus

Similar Posts

9Lessons.info: Login with GitHub OAuth using PHP

NETTUTS.com: Anatomy of a WordPress Plugin

Rob Allen's Blog: Bootstrapping modules in ZF 1.8

PHPMaster.com: REST - Can You do More than Spell It? Part 3

PHPBuilder.com: PHP Scripts for Interacting with Networks


Community Events











Don't see your event here?
Let us know!


language hhvm release security application composer component project podcast introduction database symfony2 package framework facebook performance unittest hack install example

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework